@spscommerce/asst-api 0.0.1-beta.9 → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ItemErrorDetailsResult-c62caeae.d.ts → ItemErrorDetailsResult-317fbe3e.d.ts} +166 -156
- package/dist/ItemStatusResponse-7f871d5a.d.ts +91 -0
- package/dist/{chunk-IHIEBLQV.js → chunk-HEFVXX2V.js} +82 -23
- package/dist/{chunk-ITWMRXLD.js → chunk-HG7MCO42.js} +77 -16
- package/dist/index.cjs +148 -36
- package/dist/index.d.ts +119 -6
- package/dist/index.js +4 -2
- package/dist/msw.cjs +158 -29
- package/dist/msw.d.ts +110 -69
- package/dist/msw.js +82 -11
- package/dist/{ItemErrorDetails-e6e400aa.d.ts → zod-1c4396f8.d.ts} +179 -103
- package/dist/zod.cjs +84 -22
- package/dist/zod.d.ts +2 -2
- package/dist/zod.js +9 -1
- package/package.json +1 -1
- package/dist/ImportsStatus-52d26b01.d.ts +0 -134
- package/dist/ImportsStatusEnum-22c03a0b.d.ts +0 -51
- package/dist/ItemCategoriesSearch-1bb945de.d.ts +0 -275
- package/dist/ItemCategoriesSearch-44b87663.d.ts +0 -318
- package/dist/ItemCategoriesSearch-e0870a34.d.ts +0 -318
- package/dist/ItemCategoriesSearch-e3298650.d.ts +0 -319
- package/dist/ItemCategoriesSearch-ec43591f.d.ts +0 -319
- package/dist/ItemCategory-14816deb.d.ts +0 -99
- package/dist/ItemCategory-768179bd.d.ts +0 -99
- package/dist/ItemErrorDetails-1614b511.d.ts +0 -3137
- package/dist/ItemErrorDetails-1bd2821e.d.ts +0 -3137
- package/dist/ItemErrorDetailsResult-0b4a628c.d.ts +0 -3032
- package/dist/ItemErrorDetailsResult-859368da.d.ts +0 -3032
- package/dist/ItemErrorDetailsResult-9ac97c24.d.ts +0 -3032
- package/dist/ItemErrorDetailsResult-c12c4eac.d.ts +0 -3032
- package/dist/TradingPartnerAccessByCompanyId-29866586.d.ts +0 -97
- package/dist/TradingPartnerAccessByCompanyId-43f83fb6.d.ts +0 -130
- package/dist/TradingPartnerAccessByCompanyId-479e3e57.d.ts +0 -124
- package/dist/TradingPartnerAccessByCompanyId-53b868a8.d.ts +0 -125
- package/dist/TradingPartnerAccessByCompanyId-b227f0c5.d.ts +0 -125
- package/dist/TradingPartnerAccessByCompanyId-e7a1d443.d.ts +0 -129
- package/dist/asstClient-f6a1693a.d.ts +0 -29
- package/dist/chunk-3FMMM7IS.js +0 -80
- package/dist/chunk-3JRE7YYE.js +0 -4576
- package/dist/chunk-4WER3ZLX.js +0 -4576
- package/dist/chunk-6ZNFOWTV.js +0 -78
- package/dist/chunk-7HCJJATJ.js +0 -40
- package/dist/chunk-B7B2ACF4.js +0 -3794
- package/dist/chunk-D3ML6E4G.js +0 -3787
- package/dist/chunk-ETURPA7W.js +0 -326
- package/dist/chunk-F3KCLICG.js +0 -77
- package/dist/chunk-FS6LHGAR.js +0 -87
- package/dist/chunk-G36FM5OA.js +0 -327
- package/dist/chunk-GDFX3WTX.js +0 -78
- package/dist/chunk-LGP22FRF.js +0 -0
- package/dist/chunk-LYMGZWSR.js +0 -80
- package/dist/chunk-N2OYWNHF.js +0 -80
- package/dist/chunk-OA6PO3QG.js +0 -78
- package/dist/chunk-OBXZRDPY.js +0 -77
- package/dist/chunk-OI47EFQH.js +0 -82
- package/dist/chunk-OVOZIZA2.js +0 -326
- package/dist/chunk-RNUSCCKB.js +0 -183
- package/dist/chunk-RRGAJ4ZS.js +0 -4576
- package/dist/chunk-T3UCSW2B.js +0 -81
- package/dist/chunk-XMNYZGXF.js +0 -84
- package/dist/chunk-YCQUK6KV.js +0 -85
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import './ItemErrorDetailsResult-317fbe3e.js';
|
|
1
2
|
import { z } from 'zod';
|
|
2
3
|
|
|
3
4
|
declare const importDetailSchema: z.ZodObject<{
|
|
@@ -95,21 +96,70 @@ declare const connectionSchema: z.ZodObject<{
|
|
|
95
96
|
catalog_name: z.ZodNullable<z.ZodString>;
|
|
96
97
|
partner_company_name: z.ZodString;
|
|
97
98
|
partner_company_id: z.ZodNumber;
|
|
99
|
+
partner_org_id: z.ZodString;
|
|
98
100
|
}, "strip", z.ZodTypeAny, {
|
|
99
101
|
catalog_id: number;
|
|
100
102
|
catalog_name: string | null;
|
|
101
103
|
partner_company_name: string;
|
|
102
104
|
partner_company_id: number;
|
|
105
|
+
partner_org_id: string;
|
|
103
106
|
}, {
|
|
104
107
|
catalog_id: number;
|
|
105
108
|
catalog_name: string | null;
|
|
106
109
|
partner_company_name: string;
|
|
107
110
|
partner_company_id: number;
|
|
111
|
+
partner_org_id: string;
|
|
108
112
|
}>;
|
|
109
113
|
type Connection = z.infer<typeof connectionSchema>;
|
|
110
114
|
|
|
115
|
+
declare const baseHierarchySchema: z.ZodObject<{
|
|
116
|
+
id: z.ZodString;
|
|
117
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
118
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
120
|
+
}, "strip", z.ZodTypeAny, {
|
|
121
|
+
id: string;
|
|
122
|
+
name?: string | null | undefined;
|
|
123
|
+
description?: string | null | undefined;
|
|
124
|
+
type?: string | null | undefined;
|
|
125
|
+
}, {
|
|
126
|
+
id: string;
|
|
127
|
+
name?: string | null | undefined;
|
|
128
|
+
description?: string | null | undefined;
|
|
129
|
+
type?: string | null | undefined;
|
|
130
|
+
}>;
|
|
131
|
+
type Hierarchy = z.infer<typeof baseHierarchySchema> & {
|
|
132
|
+
child: Hierarchy | null;
|
|
133
|
+
};
|
|
134
|
+
declare const hierarchySchema: z.ZodType<Hierarchy>;
|
|
135
|
+
|
|
136
|
+
declare const itemHierarchyResponseSchema: z.ZodObject<{
|
|
137
|
+
itemHierarchies: z.ZodArray<z.ZodObject<{
|
|
138
|
+
itemId: z.ZodString;
|
|
139
|
+
hierarchies: z.ZodArray<z.ZodType<Hierarchy, z.ZodTypeDef, Hierarchy>, "many">;
|
|
140
|
+
}, "strip", z.ZodTypeAny, {
|
|
141
|
+
itemId: string;
|
|
142
|
+
hierarchies: Hierarchy[];
|
|
143
|
+
}, {
|
|
144
|
+
itemId: string;
|
|
145
|
+
hierarchies: Hierarchy[];
|
|
146
|
+
}>, "many">;
|
|
147
|
+
}, "strip", z.ZodTypeAny, {
|
|
148
|
+
itemHierarchies: {
|
|
149
|
+
itemId: string;
|
|
150
|
+
hierarchies: Hierarchy[];
|
|
151
|
+
}[];
|
|
152
|
+
}, {
|
|
153
|
+
itemHierarchies: {
|
|
154
|
+
itemId: string;
|
|
155
|
+
hierarchies: Hierarchy[];
|
|
156
|
+
}[];
|
|
157
|
+
}>;
|
|
158
|
+
type ItemHierarchyResponse = z.infer<typeof itemHierarchyResponseSchema>;
|
|
159
|
+
|
|
111
160
|
declare const itemCategorySchema: z.ZodObject<{
|
|
112
161
|
categoryid: z.ZodNumber;
|
|
162
|
+
encodedCategoryId: z.ZodString;
|
|
113
163
|
companyId: z.ZodNumber;
|
|
114
164
|
name: z.ZodString;
|
|
115
165
|
isActive: z.ZodNumber;
|
|
@@ -126,6 +176,7 @@ declare const itemCategorySchema: z.ZodObject<{
|
|
|
126
176
|
isActive: number;
|
|
127
177
|
companyId: number;
|
|
128
178
|
categoryid: number;
|
|
179
|
+
encodedCategoryId: string;
|
|
129
180
|
typeId: number;
|
|
130
181
|
createdDate?: number | null | undefined;
|
|
131
182
|
categorytimestamp?: number | null | undefined;
|
|
@@ -138,6 +189,7 @@ declare const itemCategorySchema: z.ZodObject<{
|
|
|
138
189
|
isActive: number;
|
|
139
190
|
companyId: number;
|
|
140
191
|
categoryid: number;
|
|
192
|
+
encodedCategoryId: string;
|
|
141
193
|
typeId: number;
|
|
142
194
|
createdDate?: number | null | undefined;
|
|
143
195
|
categorytimestamp?: number | null | undefined;
|
|
@@ -147,6 +199,18 @@ declare const itemCategorySchema: z.ZodObject<{
|
|
|
147
199
|
}>;
|
|
148
200
|
type ItemCategory = z.infer<typeof itemCategorySchema>;
|
|
149
201
|
|
|
202
|
+
declare const itemHierarchySchema: z.ZodObject<{
|
|
203
|
+
itemId: z.ZodString;
|
|
204
|
+
hierarchies: z.ZodArray<z.ZodType<Hierarchy, z.ZodTypeDef, Hierarchy>, "many">;
|
|
205
|
+
}, "strip", z.ZodTypeAny, {
|
|
206
|
+
itemId: string;
|
|
207
|
+
hierarchies: Hierarchy[];
|
|
208
|
+
}, {
|
|
209
|
+
itemId: string;
|
|
210
|
+
hierarchies: Hierarchy[];
|
|
211
|
+
}>;
|
|
212
|
+
type ItemHierarchy = z.infer<typeof itemHierarchySchema>;
|
|
213
|
+
|
|
150
214
|
declare const attributeSummarySchema: z.ZodObject<{
|
|
151
215
|
attributeId: z.ZodNumber;
|
|
152
216
|
attributeName: z.ZodString;
|
|
@@ -272,9 +336,9 @@ declare const identityServiceDatetimePreferencesSchema: z.ZodObject<{
|
|
|
272
336
|
type IdentityServiceDatetimePreferences = z.infer<typeof identityServiceDatetimePreferencesSchema>;
|
|
273
337
|
|
|
274
338
|
declare const identityServiceOrganizationSchema: z.ZodObject<{
|
|
275
|
-
organization_name: z.ZodString
|
|
276
|
-
organization_site: z.ZodString
|
|
277
|
-
namespace: z.ZodString
|
|
339
|
+
organization_name: z.ZodOptional<z.ZodString>;
|
|
340
|
+
organization_site: z.ZodOptional<z.ZodString>;
|
|
341
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
278
342
|
id: z.ZodString;
|
|
279
343
|
permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
280
344
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -292,9 +356,9 @@ declare const identityServiceOrganizationSchema: z.ZodObject<{
|
|
|
292
356
|
}>>;
|
|
293
357
|
}, "strip", z.ZodTypeAny, {
|
|
294
358
|
id: string;
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
359
|
+
organization_name?: string | undefined;
|
|
360
|
+
organization_site?: string | undefined;
|
|
361
|
+
namespace?: string | undefined;
|
|
298
362
|
permissions?: string[] | undefined;
|
|
299
363
|
metadata?: {
|
|
300
364
|
value: string;
|
|
@@ -303,9 +367,9 @@ declare const identityServiceOrganizationSchema: z.ZodObject<{
|
|
|
303
367
|
} | undefined;
|
|
304
368
|
}, {
|
|
305
369
|
id: string;
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
370
|
+
organization_name?: string | undefined;
|
|
371
|
+
organization_site?: string | undefined;
|
|
372
|
+
namespace?: string | undefined;
|
|
309
373
|
permissions?: string[] | undefined;
|
|
310
374
|
metadata?: {
|
|
311
375
|
value: string;
|
|
@@ -388,26 +452,26 @@ type IdentityServicePreferences = z.infer<typeof identityServicePreferencesSchem
|
|
|
388
452
|
|
|
389
453
|
declare const identityServiceUserSchema: z.ZodObject<{
|
|
390
454
|
id: z.ZodString;
|
|
391
|
-
email: z.ZodString
|
|
392
|
-
first_name: z.ZodString
|
|
393
|
-
last_name: z.ZodString
|
|
394
|
-
job_title: z.ZodString
|
|
395
|
-
externally_managed: z.ZodBoolean
|
|
396
|
-
city: z.ZodString
|
|
455
|
+
email: z.ZodOptional<z.ZodString>;
|
|
456
|
+
first_name: z.ZodOptional<z.ZodString>;
|
|
457
|
+
last_name: z.ZodOptional<z.ZodString>;
|
|
458
|
+
job_title: z.ZodOptional<z.ZodString>;
|
|
459
|
+
externally_managed: z.ZodOptional<z.ZodBoolean>;
|
|
460
|
+
city: z.ZodOptional<z.ZodString>;
|
|
397
461
|
name: z.ZodString;
|
|
398
|
-
state: z.ZodString
|
|
399
|
-
country: z.ZodString
|
|
400
|
-
user_type: z.ZodString
|
|
401
|
-
token_type: z.ZodString
|
|
402
|
-
avatar_image_id: z.ZodString
|
|
403
|
-
avatar_image_url: z.ZodString
|
|
404
|
-
origin_avatar_image_id: z.ZodString
|
|
405
|
-
bio: z.ZodString
|
|
406
|
-
phone_number: z.ZodString
|
|
407
|
-
twitter_handle: z.ZodString
|
|
408
|
-
linkedin_url: z.ZodString
|
|
462
|
+
state: z.ZodOptional<z.ZodString>;
|
|
463
|
+
country: z.ZodOptional<z.ZodString>;
|
|
464
|
+
user_type: z.ZodOptional<z.ZodString>;
|
|
465
|
+
token_type: z.ZodOptional<z.ZodString>;
|
|
466
|
+
avatar_image_id: z.ZodOptional<z.ZodString>;
|
|
467
|
+
avatar_image_url: z.ZodOptional<z.ZodString>;
|
|
468
|
+
origin_avatar_image_id: z.ZodOptional<z.ZodString>;
|
|
469
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
470
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
471
|
+
twitter_handle: z.ZodOptional<z.ZodString>;
|
|
472
|
+
linkedin_url: z.ZodOptional<z.ZodString>;
|
|
409
473
|
description: z.ZodOptional<z.ZodString>;
|
|
410
|
-
preferences: z.ZodObject<{
|
|
474
|
+
preferences: z.ZodOptional<z.ZodObject<{
|
|
411
475
|
locale: z.ZodString;
|
|
412
476
|
timezone: z.ZodString;
|
|
413
477
|
cpUpgrade: z.ZodOptional<z.ZodString>;
|
|
@@ -460,12 +524,12 @@ declare const identityServiceUserSchema: z.ZodObject<{
|
|
|
460
524
|
LONG_TIME: string;
|
|
461
525
|
};
|
|
462
526
|
cpUpgrade?: string | undefined;
|
|
463
|
-
}
|
|
527
|
+
}>>;
|
|
464
528
|
roles: z.ZodArray<z.ZodString, "many">;
|
|
465
529
|
organization: z.ZodObject<{
|
|
466
|
-
organization_name: z.ZodString
|
|
467
|
-
organization_site: z.ZodString
|
|
468
|
-
namespace: z.ZodString
|
|
530
|
+
organization_name: z.ZodOptional<z.ZodString>;
|
|
531
|
+
organization_site: z.ZodOptional<z.ZodString>;
|
|
532
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
469
533
|
id: z.ZodString;
|
|
470
534
|
permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
471
535
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -483,9 +547,9 @@ declare const identityServiceUserSchema: z.ZodObject<{
|
|
|
483
547
|
}>>;
|
|
484
548
|
}, "strip", z.ZodTypeAny, {
|
|
485
549
|
id: string;
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
550
|
+
organization_name?: string | undefined;
|
|
551
|
+
organization_site?: string | undefined;
|
|
552
|
+
namespace?: string | undefined;
|
|
489
553
|
permissions?: string[] | undefined;
|
|
490
554
|
metadata?: {
|
|
491
555
|
value: string;
|
|
@@ -494,9 +558,9 @@ declare const identityServiceUserSchema: z.ZodObject<{
|
|
|
494
558
|
} | undefined;
|
|
495
559
|
}, {
|
|
496
560
|
id: string;
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
561
|
+
organization_name?: string | undefined;
|
|
562
|
+
organization_site?: string | undefined;
|
|
563
|
+
namespace?: string | undefined;
|
|
500
564
|
permissions?: string[] | undefined;
|
|
501
565
|
metadata?: {
|
|
502
566
|
value: string;
|
|
@@ -509,43 +573,12 @@ declare const identityServiceUserSchema: z.ZodObject<{
|
|
|
509
573
|
}, "strip", z.ZodTypeAny, {
|
|
510
574
|
name: string;
|
|
511
575
|
id: string;
|
|
512
|
-
email: string;
|
|
513
|
-
first_name: string;
|
|
514
|
-
last_name: string;
|
|
515
|
-
job_title: string;
|
|
516
|
-
externally_managed: boolean;
|
|
517
|
-
city: string;
|
|
518
|
-
state: string;
|
|
519
|
-
country: string;
|
|
520
|
-
user_type: string;
|
|
521
|
-
token_type: string;
|
|
522
|
-
avatar_image_id: string;
|
|
523
|
-
avatar_image_url: string;
|
|
524
|
-
origin_avatar_image_id: string;
|
|
525
|
-
bio: string;
|
|
526
|
-
phone_number: string;
|
|
527
|
-
twitter_handle: string;
|
|
528
|
-
linkedin_url: string;
|
|
529
|
-
preferences: {
|
|
530
|
-
locale: string;
|
|
531
|
-
timezone: string;
|
|
532
|
-
language: string[];
|
|
533
|
-
datetime: {
|
|
534
|
-
DATE: string;
|
|
535
|
-
DATE_TIME: string;
|
|
536
|
-
TIME: string;
|
|
537
|
-
SHORT_DATE: string;
|
|
538
|
-
LONG_DATETIME: string;
|
|
539
|
-
LONG_TIME: string;
|
|
540
|
-
};
|
|
541
|
-
cpUpgrade?: string | undefined;
|
|
542
|
-
};
|
|
543
576
|
roles: string[];
|
|
544
577
|
organization: {
|
|
545
578
|
id: string;
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
579
|
+
organization_name?: string | undefined;
|
|
580
|
+
organization_site?: string | undefined;
|
|
581
|
+
namespace?: string | undefined;
|
|
549
582
|
permissions?: string[] | undefined;
|
|
550
583
|
metadata?: {
|
|
551
584
|
value: string;
|
|
@@ -555,28 +588,25 @@ declare const identityServiceUserSchema: z.ZodObject<{
|
|
|
555
588
|
};
|
|
556
589
|
password: string;
|
|
557
590
|
verified: boolean;
|
|
591
|
+
email?: string | undefined;
|
|
592
|
+
first_name?: string | undefined;
|
|
593
|
+
last_name?: string | undefined;
|
|
594
|
+
job_title?: string | undefined;
|
|
595
|
+
externally_managed?: boolean | undefined;
|
|
596
|
+
city?: string | undefined;
|
|
597
|
+
state?: string | undefined;
|
|
598
|
+
country?: string | undefined;
|
|
599
|
+
user_type?: string | undefined;
|
|
600
|
+
token_type?: string | undefined;
|
|
601
|
+
avatar_image_id?: string | undefined;
|
|
602
|
+
avatar_image_url?: string | undefined;
|
|
603
|
+
origin_avatar_image_id?: string | undefined;
|
|
604
|
+
bio?: string | undefined;
|
|
605
|
+
phone_number?: string | undefined;
|
|
606
|
+
twitter_handle?: string | undefined;
|
|
607
|
+
linkedin_url?: string | undefined;
|
|
558
608
|
description?: string | undefined;
|
|
559
|
-
|
|
560
|
-
name: string;
|
|
561
|
-
id: string;
|
|
562
|
-
email: string;
|
|
563
|
-
first_name: string;
|
|
564
|
-
last_name: string;
|
|
565
|
-
job_title: string;
|
|
566
|
-
externally_managed: boolean;
|
|
567
|
-
city: string;
|
|
568
|
-
state: string;
|
|
569
|
-
country: string;
|
|
570
|
-
user_type: string;
|
|
571
|
-
token_type: string;
|
|
572
|
-
avatar_image_id: string;
|
|
573
|
-
avatar_image_url: string;
|
|
574
|
-
origin_avatar_image_id: string;
|
|
575
|
-
bio: string;
|
|
576
|
-
phone_number: string;
|
|
577
|
-
twitter_handle: string;
|
|
578
|
-
linkedin_url: string;
|
|
579
|
-
preferences: {
|
|
609
|
+
preferences?: {
|
|
580
610
|
locale: string;
|
|
581
611
|
timezone: string;
|
|
582
612
|
language: string[];
|
|
@@ -589,13 +619,16 @@ declare const identityServiceUserSchema: z.ZodObject<{
|
|
|
589
619
|
LONG_TIME: string;
|
|
590
620
|
};
|
|
591
621
|
cpUpgrade?: string | undefined;
|
|
592
|
-
};
|
|
622
|
+
} | undefined;
|
|
623
|
+
}, {
|
|
624
|
+
name: string;
|
|
625
|
+
id: string;
|
|
593
626
|
roles: string[];
|
|
594
627
|
organization: {
|
|
595
628
|
id: string;
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
629
|
+
organization_name?: string | undefined;
|
|
630
|
+
organization_site?: string | undefined;
|
|
631
|
+
namespace?: string | undefined;
|
|
599
632
|
permissions?: string[] | undefined;
|
|
600
633
|
metadata?: {
|
|
601
634
|
value: string;
|
|
@@ -605,7 +638,38 @@ declare const identityServiceUserSchema: z.ZodObject<{
|
|
|
605
638
|
};
|
|
606
639
|
password: string;
|
|
607
640
|
verified: boolean;
|
|
641
|
+
email?: string | undefined;
|
|
642
|
+
first_name?: string | undefined;
|
|
643
|
+
last_name?: string | undefined;
|
|
644
|
+
job_title?: string | undefined;
|
|
645
|
+
externally_managed?: boolean | undefined;
|
|
646
|
+
city?: string | undefined;
|
|
647
|
+
state?: string | undefined;
|
|
648
|
+
country?: string | undefined;
|
|
649
|
+
user_type?: string | undefined;
|
|
650
|
+
token_type?: string | undefined;
|
|
651
|
+
avatar_image_id?: string | undefined;
|
|
652
|
+
avatar_image_url?: string | undefined;
|
|
653
|
+
origin_avatar_image_id?: string | undefined;
|
|
654
|
+
bio?: string | undefined;
|
|
655
|
+
phone_number?: string | undefined;
|
|
656
|
+
twitter_handle?: string | undefined;
|
|
657
|
+
linkedin_url?: string | undefined;
|
|
608
658
|
description?: string | undefined;
|
|
659
|
+
preferences?: {
|
|
660
|
+
locale: string;
|
|
661
|
+
timezone: string;
|
|
662
|
+
language: string[];
|
|
663
|
+
datetime: {
|
|
664
|
+
DATE: string;
|
|
665
|
+
DATE_TIME: string;
|
|
666
|
+
TIME: string;
|
|
667
|
+
SHORT_DATE: string;
|
|
668
|
+
LONG_DATETIME: string;
|
|
669
|
+
LONG_TIME: string;
|
|
670
|
+
};
|
|
671
|
+
cpUpgrade?: string | undefined;
|
|
672
|
+
} | undefined;
|
|
609
673
|
}>;
|
|
610
674
|
type IdentityServiceUser = z.infer<typeof identityServiceUserSchema>;
|
|
611
675
|
|
|
@@ -2451,8 +2515,8 @@ declare const bulbSchema: z.ZodObject<{
|
|
|
2451
2515
|
threewaybulb: z.ZodString;
|
|
2452
2516
|
}, "strip", z.ZodTypeAny, {
|
|
2453
2517
|
id: number;
|
|
2454
|
-
iteminfoid: number;
|
|
2455
2518
|
shape: string;
|
|
2519
|
+
iteminfoid: number;
|
|
2456
2520
|
position: number;
|
|
2457
2521
|
quantity: number;
|
|
2458
2522
|
basetype: string;
|
|
@@ -2466,8 +2530,8 @@ declare const bulbSchema: z.ZodObject<{
|
|
|
2466
2530
|
threewaybulb: string;
|
|
2467
2531
|
}, {
|
|
2468
2532
|
id: number;
|
|
2469
|
-
iteminfoid: number;
|
|
2470
2533
|
shape: string;
|
|
2534
|
+
iteminfoid: number;
|
|
2471
2535
|
position: number;
|
|
2472
2536
|
quantity: number;
|
|
2473
2537
|
basetype: string;
|
|
@@ -2704,8 +2768,8 @@ declare const itemDetailSchema: z.ZodObject<{
|
|
|
2704
2768
|
threewaybulb: z.ZodString;
|
|
2705
2769
|
}, "strip", z.ZodTypeAny, {
|
|
2706
2770
|
id: number;
|
|
2707
|
-
iteminfoid: number;
|
|
2708
2771
|
shape: string;
|
|
2772
|
+
iteminfoid: number;
|
|
2709
2773
|
position: number;
|
|
2710
2774
|
quantity: number;
|
|
2711
2775
|
basetype: string;
|
|
@@ -2719,8 +2783,8 @@ declare const itemDetailSchema: z.ZodObject<{
|
|
|
2719
2783
|
threewaybulb: string;
|
|
2720
2784
|
}, {
|
|
2721
2785
|
id: number;
|
|
2722
|
-
iteminfoid: number;
|
|
2723
2786
|
shape: string;
|
|
2787
|
+
iteminfoid: number;
|
|
2724
2788
|
position: number;
|
|
2725
2789
|
quantity: number;
|
|
2726
2790
|
basetype: string;
|
|
@@ -2935,8 +2999,8 @@ declare const itemDetailSchema: z.ZodObject<{
|
|
|
2935
2999
|
}[]>;
|
|
2936
3000
|
bulbs: {
|
|
2937
3001
|
id: number;
|
|
2938
|
-
iteminfoid: number;
|
|
2939
3002
|
shape: string;
|
|
3003
|
+
iteminfoid: number;
|
|
2940
3004
|
position: number;
|
|
2941
3005
|
quantity: number;
|
|
2942
3006
|
basetype: string;
|
|
@@ -3023,8 +3087,8 @@ declare const itemDetailSchema: z.ZodObject<{
|
|
|
3023
3087
|
}[]>;
|
|
3024
3088
|
bulbs: {
|
|
3025
3089
|
id: number;
|
|
3026
|
-
iteminfoid: number;
|
|
3027
3090
|
shape: string;
|
|
3091
|
+
iteminfoid: number;
|
|
3028
3092
|
position: number;
|
|
3029
3093
|
quantity: number;
|
|
3030
3094
|
basetype: string;
|
|
@@ -3142,6 +3206,18 @@ declare const mediaItemSchema: z.ZodObject<{
|
|
|
3142
3206
|
}>;
|
|
3143
3207
|
type MediaItem = z.infer<typeof mediaItemSchema>;
|
|
3144
3208
|
|
|
3209
|
+
declare const spsItemIdResponseSchema: z.ZodObject<{
|
|
3210
|
+
id: z.ZodString;
|
|
3211
|
+
ref: z.ZodString;
|
|
3212
|
+
}, "strip", z.ZodTypeAny, {
|
|
3213
|
+
id: string;
|
|
3214
|
+
ref: string;
|
|
3215
|
+
}, {
|
|
3216
|
+
id: string;
|
|
3217
|
+
ref: string;
|
|
3218
|
+
}>;
|
|
3219
|
+
type SpsItemIdResponse = z.infer<typeof spsItemIdResponseSchema>;
|
|
3220
|
+
|
|
3145
3221
|
declare const itemErrorDetailsSchema: z.ZodObject<{
|
|
3146
3222
|
errorMessage: z.ZodString;
|
|
3147
3223
|
attributeName: z.ZodNullable<z.ZodString>;
|
|
@@ -3194,4 +3270,4 @@ declare const itemErrorDetailsSchema: z.ZodObject<{
|
|
|
3194
3270
|
}>;
|
|
3195
3271
|
type ItemErrorDetails = z.infer<typeof itemErrorDetailsSchema>;
|
|
3196
3272
|
|
|
3197
|
-
export {
|
|
3273
|
+
export { downLoadItemsParamsSchema as $, AttributeSummary as A, HierarchyDetails as B, Connection as C, DownLoadItemsParams as D, ExportDayOfWeek as E, ItemPrice as F, GenerateImportTemplateParams as G, Hierarchy as H, ItemHierarchyResponse as I, PackComponentDetails as J, Bulb as K, PackComponent as L, MediaItem as M, RepeatableGroup as N, PackComponentItemInfo as O, PhaseEnum as P, ItemErrorDetails as Q, RegisteredService as R, SpsItemIdResponse as S, TradingPartnerStage as T, importDetailSchema as U, importErrorSchema as V, importStatusEnumSchema as W, generateImportTemplateParamsSchema as X, exportDayOfWeekEnum as Y, exportFrequencyEnum as Z, exportTypeEnum as _, ItemDetail as a, itemCategorySchema as a0, hierarchySchema as a1, itemHierarchyResponseSchema as a2, itemHierarchySchema as a3, attrDatatypeNameEnumSchema as a4, attributeGroupSchema as a5, attributeSummarySchema as a6, itemHeaderSchema as a7, itemMapSchema as a8, itemTableSchema as a9, registeredServiceSchema as aA, itemErrorDetailsSchema as aB, phaseEnumSchema as aa, tradingPartnerStageSchema as ab, bulbSchema as ac, itemPriceSchema as ad, mediaItemSchema as ae, itemDetailSchema as af, groupedItemSchema as ag, categoryEnumSchema as ah, packComponentSchema as ai, attributeDetailSchema as aj, repeatableGroupSchema as ak, componentDetailsSchema as al, hierarchyDetailsSchema as am, groupedAttributesSchema as an, hierarchyCategorySchema as ao, groupedAttributeListSchema as ap, packComponentDetailsSchema as aq, packComponentItemInfoSchema as ar, spsItemIdResponseSchema as as, spreadsheetTemplateCompanySchema as at, connectionSchema as au, identityServiceDatetimePreferencesSchema as av, identityServiceOrganizationMetadataSchema as aw, identityServiceOrganizationSchema as ax, identityServicePreferencesSchema as ay, identityServiceUserSchema as az, ImportDetails as b, ImportError as c, ImportStatusEnum as d, ExportFrequency as e, ExportType as f, ItemCategory as g, ItemHierarchy as h, AttrDatatypeNameEnum as i, AttributeGroup as j, SpreadsheetTemplateCompany as k, IdentityServiceOrganizationMetadata as l, IdentityServiceDatetimePreferences as m, IdentityServiceOrganization as n, IdentityServicePreferences as o, IdentityServiceUser as p, ItemHeader as q, ItemMap as r, ItemTable as s, AttributeDetail as t, CategoryEnum as u, ComponentDetails as v, GroupedAttributeList as w, GroupedAttributes as x, GroupedItem as y, HierarchyCategory as z };
|
package/dist/zod.cjs
CHANGED
|
@@ -55,6 +55,7 @@ __export(zod_exports, {
|
|
|
55
55
|
groupedItemSchema: () => groupedItemSchema,
|
|
56
56
|
hierarchyCategorySchema: () => hierarchyCategorySchema,
|
|
57
57
|
hierarchyDetailsSchema: () => hierarchyDetailsSchema,
|
|
58
|
+
hierarchySchema: () => hierarchySchema,
|
|
58
59
|
identityServiceDatetimePreferencesSchema: () => identityServiceDatetimePreferencesSchema,
|
|
59
60
|
identityServiceOrganizationMetadataSchema: () => identityServiceOrganizationMetadataSchema,
|
|
60
61
|
identityServiceOrganizationSchema: () => identityServiceOrganizationSchema,
|
|
@@ -73,6 +74,8 @@ __export(zod_exports, {
|
|
|
73
74
|
itemErrorDetailsResultSchema: () => itemErrorDetailsResultSchema,
|
|
74
75
|
itemErrorDetailsSchema: () => itemErrorDetailsSchema,
|
|
75
76
|
itemHeaderSchema: () => itemHeaderSchema,
|
|
77
|
+
itemHierarchyResponseSchema: () => itemHierarchyResponseSchema,
|
|
78
|
+
itemHierarchySchema: () => itemHierarchySchema,
|
|
76
79
|
itemMapSchema: () => itemMapSchema,
|
|
77
80
|
itemPriceSchema: () => itemPriceSchema,
|
|
78
81
|
itemSearchViewSchema: () => itemSearchViewSchema,
|
|
@@ -87,6 +90,7 @@ __export(zod_exports, {
|
|
|
87
90
|
repeatableGroupSchema: () => repeatableGroupSchema,
|
|
88
91
|
spreadsheetTemplateCompanySchema: () => spreadsheetTemplateCompanySchema,
|
|
89
92
|
spreadsheetTemplateSchema: () => spreadsheetTemplateSchema,
|
|
93
|
+
spsItemIdResponseSchema: () => spsItemIdResponseSchema,
|
|
90
94
|
tradingPartnerAccessByCompanyIdSchema: () => tradingPartnerAccessByCompanyIdSchema,
|
|
91
95
|
tradingPartnerStageSchema: () => tradingPartnerStageSchema,
|
|
92
96
|
userAccountSchema: () => userAccountSchema,
|
|
@@ -3925,6 +3929,7 @@ var downLoadItemsParamsSchema = z.object({
|
|
|
3925
3929
|
// lib/categories/models/ItemCategory.ts
|
|
3926
3930
|
var itemCategorySchema = z.object({
|
|
3927
3931
|
categoryid: z.number(),
|
|
3932
|
+
encodedCategoryId: z.string(),
|
|
3928
3933
|
companyId: z.number(),
|
|
3929
3934
|
name: z.string(),
|
|
3930
3935
|
isActive: z.number(),
|
|
@@ -3943,6 +3948,30 @@ var itemCategoriesSearchSchema = z.object({
|
|
|
3943
3948
|
data: z.array(itemCategorySchema)
|
|
3944
3949
|
});
|
|
3945
3950
|
|
|
3951
|
+
// lib/categories/models/Hierarchy.ts
|
|
3952
|
+
var baseHierarchySchema = z.object({
|
|
3953
|
+
id: z.string(),
|
|
3954
|
+
name: z.string().nullish(),
|
|
3955
|
+
description: z.string().nullish(),
|
|
3956
|
+
type: z.string().nullish()
|
|
3957
|
+
});
|
|
3958
|
+
var hierarchySchema = baseHierarchySchema.extend(
|
|
3959
|
+
{
|
|
3960
|
+
child: z.lazy(() => hierarchySchema).nullable()
|
|
3961
|
+
}
|
|
3962
|
+
);
|
|
3963
|
+
|
|
3964
|
+
// lib/categories/models/ItemHierarchy.ts
|
|
3965
|
+
var itemHierarchySchema = z.object({
|
|
3966
|
+
itemId: z.string(),
|
|
3967
|
+
hierarchies: z.array(hierarchySchema)
|
|
3968
|
+
});
|
|
3969
|
+
|
|
3970
|
+
// lib/categories/models/ItemHierarchyResponse.ts
|
|
3971
|
+
var itemHierarchyResponseSchema = z.object({
|
|
3972
|
+
itemHierarchies: z.array(itemHierarchySchema)
|
|
3973
|
+
});
|
|
3974
|
+
|
|
3946
3975
|
// lib/attributes/models/AttributeMetaData.ts
|
|
3947
3976
|
var attributeMetaDataSchema = z.object({
|
|
3948
3977
|
dbName: z.string(),
|
|
@@ -4370,6 +4399,34 @@ var itemDetailSchema = z.object({
|
|
|
4370
4399
|
packs: z.array(packComponentSchema)
|
|
4371
4400
|
});
|
|
4372
4401
|
|
|
4402
|
+
// lib/items/models/SpsItemIdResponse.ts
|
|
4403
|
+
var spsItemIdResponseSchema = z.object({
|
|
4404
|
+
id: z.string(),
|
|
4405
|
+
ref: z.string()
|
|
4406
|
+
});
|
|
4407
|
+
|
|
4408
|
+
// lib/items/models/ItemOrgStatus.ts
|
|
4409
|
+
var itemOrgStatusSchema = z.object({
|
|
4410
|
+
org: z.object({
|
|
4411
|
+
ref: z.string(),
|
|
4412
|
+
id: z.string(),
|
|
4413
|
+
name: z.string()
|
|
4414
|
+
}),
|
|
4415
|
+
lowestInvalidStage: phaseEnumSchema.nullable(),
|
|
4416
|
+
validForRelationship: z.boolean()
|
|
4417
|
+
});
|
|
4418
|
+
|
|
4419
|
+
// lib/items/models/ItemStatus.ts
|
|
4420
|
+
var itemStatusSchema = z.object({
|
|
4421
|
+
itemId: z.string(),
|
|
4422
|
+
itemOrgStatuses: z.array(itemOrgStatusSchema)
|
|
4423
|
+
});
|
|
4424
|
+
|
|
4425
|
+
// lib/items/models/ItemStatusResponse.ts
|
|
4426
|
+
var itemStatusResponseSchema = z.object({
|
|
4427
|
+
itemStatuses: z.array(itemStatusSchema)
|
|
4428
|
+
});
|
|
4429
|
+
|
|
4373
4430
|
// lib/locale/models/Locale.ts
|
|
4374
4431
|
var localeSchema = z.object({
|
|
4375
4432
|
localeCode: z.string(),
|
|
@@ -4414,7 +4471,8 @@ var connectionSchema = z.object({
|
|
|
4414
4471
|
catalog_id: z.number(),
|
|
4415
4472
|
catalog_name: z.string().nullable(),
|
|
4416
4473
|
partner_company_name: z.string(),
|
|
4417
|
-
partner_company_id: z.number()
|
|
4474
|
+
partner_company_id: z.number(),
|
|
4475
|
+
partner_org_id: z.string()
|
|
4418
4476
|
});
|
|
4419
4477
|
|
|
4420
4478
|
// lib/tradingPartners/models/TradingPartnerAccessByCompanyId.ts
|
|
@@ -4446,9 +4504,9 @@ var identityServiceOrganizationMetadataSchema = z.object({
|
|
|
4446
4504
|
|
|
4447
4505
|
// lib/whoami/models/IdentityServiceOrganization.ts
|
|
4448
4506
|
var identityServiceOrganizationSchema = z.object({
|
|
4449
|
-
organization_name: z.string(),
|
|
4450
|
-
organization_site: z.string(),
|
|
4451
|
-
namespace: z.string(),
|
|
4507
|
+
organization_name: z.string().optional(),
|
|
4508
|
+
organization_site: z.string().optional(),
|
|
4509
|
+
namespace: z.string().optional(),
|
|
4452
4510
|
id: z.string(),
|
|
4453
4511
|
permissions: z.array(z.string()).optional(),
|
|
4454
4512
|
metadata: identityServiceOrganizationMetadataSchema.optional()
|
|
@@ -4466,26 +4524,26 @@ var identityServicePreferencesSchema = z.object({
|
|
|
4466
4524
|
// lib/whoami/models/IdentityServiceUser.ts
|
|
4467
4525
|
var identityServiceUserSchema = z.object({
|
|
4468
4526
|
id: z.string(),
|
|
4469
|
-
email: z.string(),
|
|
4470
|
-
first_name: z.string(),
|
|
4471
|
-
last_name: z.string(),
|
|
4472
|
-
job_title: z.string(),
|
|
4473
|
-
externally_managed: z.boolean(),
|
|
4474
|
-
city: z.string(),
|
|
4527
|
+
email: z.string().optional(),
|
|
4528
|
+
first_name: z.string().optional(),
|
|
4529
|
+
last_name: z.string().optional(),
|
|
4530
|
+
job_title: z.string().optional(),
|
|
4531
|
+
externally_managed: z.boolean().optional(),
|
|
4532
|
+
city: z.string().optional(),
|
|
4475
4533
|
name: z.string(),
|
|
4476
|
-
state: z.string(),
|
|
4477
|
-
country: z.string(),
|
|
4478
|
-
user_type: z.string(),
|
|
4479
|
-
token_type: z.string(),
|
|
4480
|
-
avatar_image_id: z.string(),
|
|
4481
|
-
avatar_image_url: z.string(),
|
|
4482
|
-
origin_avatar_image_id: z.string(),
|
|
4483
|
-
bio: z.string(),
|
|
4484
|
-
phone_number: z.string(),
|
|
4485
|
-
twitter_handle: z.string(),
|
|
4486
|
-
linkedin_url: z.string(),
|
|
4534
|
+
state: z.string().optional(),
|
|
4535
|
+
country: z.string().optional(),
|
|
4536
|
+
user_type: z.string().optional(),
|
|
4537
|
+
token_type: z.string().optional(),
|
|
4538
|
+
avatar_image_id: z.string().optional(),
|
|
4539
|
+
avatar_image_url: z.string().optional(),
|
|
4540
|
+
origin_avatar_image_id: z.string().optional(),
|
|
4541
|
+
bio: z.string().optional(),
|
|
4542
|
+
phone_number: z.string().optional(),
|
|
4543
|
+
twitter_handle: z.string().optional(),
|
|
4544
|
+
linkedin_url: z.string().optional(),
|
|
4487
4545
|
description: z.string().optional(),
|
|
4488
|
-
preferences: identityServicePreferencesSchema,
|
|
4546
|
+
preferences: identityServicePreferencesSchema.optional(),
|
|
4489
4547
|
roles: z.array(z.string()),
|
|
4490
4548
|
organization: identityServiceOrganizationSchema,
|
|
4491
4549
|
password: z.string(),
|
|
@@ -4569,6 +4627,7 @@ var itemErrorDetailsResultSchema = z.object({
|
|
|
4569
4627
|
groupedItemSchema,
|
|
4570
4628
|
hierarchyCategorySchema,
|
|
4571
4629
|
hierarchyDetailsSchema,
|
|
4630
|
+
hierarchySchema,
|
|
4572
4631
|
identityServiceDatetimePreferencesSchema,
|
|
4573
4632
|
identityServiceOrganizationMetadataSchema,
|
|
4574
4633
|
identityServiceOrganizationSchema,
|
|
@@ -4587,6 +4646,8 @@ var itemErrorDetailsResultSchema = z.object({
|
|
|
4587
4646
|
itemErrorDetailsResultSchema,
|
|
4588
4647
|
itemErrorDetailsSchema,
|
|
4589
4648
|
itemHeaderSchema,
|
|
4649
|
+
itemHierarchyResponseSchema,
|
|
4650
|
+
itemHierarchySchema,
|
|
4590
4651
|
itemMapSchema,
|
|
4591
4652
|
itemPriceSchema,
|
|
4592
4653
|
itemSearchViewSchema,
|
|
@@ -4601,6 +4662,7 @@ var itemErrorDetailsResultSchema = z.object({
|
|
|
4601
4662
|
repeatableGroupSchema,
|
|
4602
4663
|
spreadsheetTemplateCompanySchema,
|
|
4603
4664
|
spreadsheetTemplateSchema,
|
|
4665
|
+
spsItemIdResponseSchema,
|
|
4604
4666
|
tradingPartnerAccessByCompanyIdSchema,
|
|
4605
4667
|
tradingPartnerStageSchema,
|
|
4606
4668
|
userAccountSchema,
|
package/dist/zod.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { d as attrProdTypeSchema, w as attributeDefinitionSchema, x as attributeMetaDataSchema, z as attributeValidValuesSchema, y as attributesByCompanySchema, p as envSchema, t as exportSchema, q as importErrorsSchema, r as importSchema, s as importsStatusSchema, u as itemCategoriesSearchSchema, D as itemDetailViewSchema, K as itemErrorDetailsResultSchema, C as itemSearchViewSchema, F as localeSchema, G as spreadsheetTemplateSchema, H as tradingPartnerAccessByCompanyIdSchema, J as userAccountSchema, v as vendorPartnerAttGroupsSchema } from './ItemErrorDetailsResult-317fbe3e.js';
|
|
2
|
+
export { a4 as attrDatatypeNameEnumSchema, aj as attributeDetailSchema, a5 as attributeGroupSchema, a6 as attributeSummarySchema, ac as bulbSchema, ah as categoryEnumSchema, al as componentDetailsSchema, au as connectionSchema, $ as downLoadItemsParamsSchema, Y as exportDayOfWeekEnum, Z as exportFrequencyEnum, _ as exportTypeEnum, X as generateImportTemplateParamsSchema, ap as groupedAttributeListSchema, an as groupedAttributesSchema, ag as groupedItemSchema, ao as hierarchyCategorySchema, am as hierarchyDetailsSchema, a1 as hierarchySchema, av as identityServiceDatetimePreferencesSchema, aw as identityServiceOrganizationMetadataSchema, ax as identityServiceOrganizationSchema, ay as identityServicePreferencesSchema, az as identityServiceUserSchema, U as importDetailSchema, V as importErrorSchema, W as importStatusEnumSchema, a0 as itemCategorySchema, af as itemDetailSchema, aB as itemErrorDetailsSchema, a7 as itemHeaderSchema, a2 as itemHierarchyResponseSchema, a3 as itemHierarchySchema, a8 as itemMapSchema, ad as itemPriceSchema, a9 as itemTableSchema, ae as mediaItemSchema, aq as packComponentDetailsSchema, ar as packComponentItemInfoSchema, ai as packComponentSchema, aa as phaseEnumSchema, aA as registeredServiceSchema, ak as repeatableGroupSchema, at as spreadsheetTemplateCompanySchema, as as spsItemIdResponseSchema, ab as tradingPartnerStageSchema } from './zod-1c4396f8.js';
|
|
3
3
|
import 'ky-universal';
|
|
4
4
|
import 'ky';
|
|
5
5
|
import 'zod';
|