@simpleapps-com/augur-api 0.1.4 → 0.1.5
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/README.md +2004 -405
- package/dist/cjs/core/client.d.ts +1 -0
- package/dist/cjs/core/client.d.ts.map +1 -1
- package/dist/cjs/core/client.js +5 -1
- package/dist/cjs/core/client.js.map +1 -1
- package/dist/cjs/core/common-schemas.d.ts +2 -2
- package/dist/cjs/core/config.d.ts +2 -0
- package/dist/cjs/core/config.d.ts.map +1 -1
- package/dist/cjs/core/config.js.map +1 -1
- package/dist/cjs/core/response-capturer.d.ts +58 -0
- package/dist/cjs/core/response-capturer.d.ts.map +1 -0
- package/dist/cjs/core/response-capturer.js +167 -0
- package/dist/cjs/core/response-capturer.js.map +1 -0
- package/dist/cjs/core/schema-factories.d.ts +4 -4
- package/dist/cjs/core/schemas.d.ts +4 -4
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +5 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/services/agr-site/client.d.ts +2 -2
- package/dist/cjs/services/agr-site/schemas/ai.d.ts +2 -2
- package/dist/cjs/services/agr-site/schemas/content.d.ts +2 -2
- package/dist/cjs/services/agr-site/schemas/settings.d.ts +2 -2
- package/dist/cjs/services/commerce/client.d.ts +2 -2
- package/dist/cjs/services/commerce/schemas/cart.d.ts +4 -4
- package/dist/cjs/services/commerce/schemas/checkout.d.ts +6 -6
- package/dist/cjs/services/commerce/schemas/recommendations.d.ts +2 -2
- package/dist/cjs/services/customers/client.d.ts +361 -199
- package/dist/cjs/services/customers/client.d.ts.map +1 -1
- package/dist/cjs/services/customers/schemas/addresses.d.ts +408 -186
- package/dist/cjs/services/customers/schemas/addresses.d.ts.map +1 -1
- package/dist/cjs/services/customers/schemas/addresses.js +35 -20
- package/dist/cjs/services/customers/schemas/addresses.js.map +1 -1
- package/dist/cjs/services/customers/schemas/contacts.d.ts +10 -10
- package/dist/cjs/services/customers/schemas/customers.d.ts +605 -524
- package/dist/cjs/services/customers/schemas/customers.d.ts.map +1 -1
- package/dist/cjs/services/customers/schemas/customers.js +75 -57
- package/dist/cjs/services/customers/schemas/customers.js.map +1 -1
- package/dist/cjs/services/customers/schemas/index.d.ts +1 -0
- package/dist/cjs/services/customers/schemas/index.d.ts.map +1 -1
- package/dist/cjs/services/customers/schemas/index.js +1 -0
- package/dist/cjs/services/customers/schemas/index.js.map +1 -1
- package/dist/cjs/services/customers/schemas/invoices.d.ts +643 -343
- package/dist/cjs/services/customers/schemas/invoices.d.ts.map +1 -1
- package/dist/cjs/services/customers/schemas/invoices.js +58 -24
- package/dist/cjs/services/customers/schemas/invoices.js.map +1 -1
- package/dist/cjs/services/customers/schemas/orders.d.ts +1784 -172
- package/dist/cjs/services/customers/schemas/orders.d.ts.map +1 -1
- package/dist/cjs/services/customers/schemas/orders.js +134 -10
- package/dist/cjs/services/customers/schemas/orders.js.map +1 -1
- package/dist/cjs/services/customers/schemas/purchased-items.d.ts +122 -0
- package/dist/cjs/services/customers/schemas/purchased-items.d.ts.map +1 -0
- package/dist/cjs/services/customers/schemas/purchased-items.js +32 -0
- package/dist/cjs/services/customers/schemas/purchased-items.js.map +1 -0
- package/dist/cjs/services/customers/schemas/quotes.d.ts +1925 -331
- package/dist/cjs/services/customers/schemas/quotes.d.ts.map +1 -1
- package/dist/cjs/services/customers/schemas/quotes.js +113 -23
- package/dist/cjs/services/customers/schemas/quotes.js.map +1 -1
- package/dist/cjs/services/joomla/client.d.ts +38 -26
- package/dist/cjs/services/joomla/client.d.ts.map +1 -1
- package/dist/cjs/services/joomla/client.js +22 -0
- package/dist/cjs/services/joomla/client.js.map +1 -1
- package/dist/cjs/services/joomla/schemas/content.d.ts +6 -6
- package/dist/cjs/services/joomla/schemas/groups.d.ts +25 -2
- package/dist/cjs/services/joomla/schemas/groups.d.ts.map +1 -1
- package/dist/cjs/services/joomla/schemas/groups.js +3 -1
- package/dist/cjs/services/joomla/schemas/groups.js.map +1 -1
- package/dist/cjs/services/joomla/schemas/users.d.ts +455 -441
- package/dist/cjs/services/joomla/schemas/users.d.ts.map +1 -1
- package/dist/cjs/services/joomla/schemas/users.js +82 -58
- package/dist/cjs/services/joomla/schemas/users.js.map +1 -1
- package/dist/cjs/services/legacy/client.d.ts +2 -2
- package/dist/cjs/services/legacy/schemas/states.d.ts +8 -8
- package/dist/cjs/services/nexus/client.d.ts +6 -6
- package/dist/cjs/services/nexus/schemas/bin-transfers.d.ts +2 -2
- package/dist/cjs/services/nexus/schemas/receiving.d.ts +4 -4
- package/dist/cjs/services/nexus/schemas/transfers.d.ts +6 -6
- package/dist/cjs/services/open-search/client.d.ts +2 -2
- package/dist/cjs/services/open-search/schemas/attributes.d.ts +2 -2
- package/dist/cjs/services/open-search/schemas/items.d.ts +2 -2
- package/dist/cjs/services/open-search/schemas/search.d.ts +2 -2
- package/dist/cjs/services/orders/client.d.ts +15 -15
- package/dist/cjs/services/orders/schemas/orders.d.ts +48 -48
- package/dist/cjs/services/orders/schemas/purchase-orders.d.ts +32 -32
- package/dist/cjs/services/orders/schemas/salesrep.d.ts +12 -12
- package/dist/cjs/services/p21-pim/client.d.ts +2 -2
- package/dist/cjs/services/p21-pim/schemas/inventory.d.ts +2 -2
- package/dist/cjs/services/p21-pim/schemas/podcasts.d.ts +2 -2
- package/dist/cjs/services/payments/client.d.ts +1 -1
- package/dist/cjs/services/payments/schemas/element.d.ts +4 -4
- package/dist/cjs/services/payments/schemas/unified.d.ts +16 -16
- package/dist/cjs/services/pricing/client.d.ts +1 -1
- package/dist/cjs/services/pricing/schemas/job-pricing.d.ts +4 -4
- package/dist/cjs/services/pricing/schemas/pricing.d.ts +2 -2
- package/dist/cjs/services/pricing/schemas/tax.d.ts +6 -6
- package/dist/cjs/services/vmi/client.d.ts +6 -6
- package/dist/cjs/services/vmi/schemas/products.d.ts +6 -6
- package/dist/cjs/services/vmi/schemas/profiles.d.ts +4 -4
- package/dist/cjs/services/vmi/schemas/restock.d.ts +2 -2
- package/dist/cjs/services/vmi/schemas/warehouse.d.ts +6 -6
- package/dist/cjs/utils/cross-site-auth.d.ts +88 -0
- package/dist/cjs/utils/cross-site-auth.d.ts.map +1 -0
- package/dist/cjs/utils/cross-site-auth.js +107 -0
- package/dist/cjs/utils/cross-site-auth.js.map +1 -0
- package/dist/esm/core/client.d.ts +1 -0
- package/dist/esm/core/client.d.ts.map +1 -1
- package/dist/esm/core/client.js +5 -1
- package/dist/esm/core/client.js.map +1 -1
- package/dist/esm/core/common-schemas.d.ts +2 -2
- package/dist/esm/core/config.d.ts +2 -0
- package/dist/esm/core/config.d.ts.map +1 -1
- package/dist/esm/core/config.js.map +1 -1
- package/dist/esm/core/response-capturer.d.ts +58 -0
- package/dist/esm/core/response-capturer.d.ts.map +1 -0
- package/dist/esm/core/response-capturer.js +130 -0
- package/dist/esm/core/response-capturer.js.map +1 -0
- package/dist/esm/core/schema-factories.d.ts +4 -4
- package/dist/esm/core/schemas.d.ts +4 -4
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/services/agr-site/client.d.ts +2 -2
- package/dist/esm/services/agr-site/schemas/ai.d.ts +2 -2
- package/dist/esm/services/agr-site/schemas/content.d.ts +2 -2
- package/dist/esm/services/agr-site/schemas/settings.d.ts +2 -2
- package/dist/esm/services/commerce/client.d.ts +2 -2
- package/dist/esm/services/commerce/schemas/cart.d.ts +4 -4
- package/dist/esm/services/commerce/schemas/checkout.d.ts +6 -6
- package/dist/esm/services/commerce/schemas/recommendations.d.ts +2 -2
- package/dist/esm/services/customers/client.d.ts +361 -199
- package/dist/esm/services/customers/client.d.ts.map +1 -1
- package/dist/esm/services/customers/schemas/addresses.d.ts +408 -186
- package/dist/esm/services/customers/schemas/addresses.d.ts.map +1 -1
- package/dist/esm/services/customers/schemas/addresses.js +34 -19
- package/dist/esm/services/customers/schemas/addresses.js.map +1 -1
- package/dist/esm/services/customers/schemas/contacts.d.ts +10 -10
- package/dist/esm/services/customers/schemas/customers.d.ts +605 -524
- package/dist/esm/services/customers/schemas/customers.d.ts.map +1 -1
- package/dist/esm/services/customers/schemas/customers.js +74 -56
- package/dist/esm/services/customers/schemas/customers.js.map +1 -1
- package/dist/esm/services/customers/schemas/index.d.ts +1 -0
- package/dist/esm/services/customers/schemas/index.d.ts.map +1 -1
- package/dist/esm/services/customers/schemas/index.js +1 -0
- package/dist/esm/services/customers/schemas/index.js.map +1 -1
- package/dist/esm/services/customers/schemas/invoices.d.ts +643 -343
- package/dist/esm/services/customers/schemas/invoices.d.ts.map +1 -1
- package/dist/esm/services/customers/schemas/invoices.js +58 -24
- package/dist/esm/services/customers/schemas/invoices.js.map +1 -1
- package/dist/esm/services/customers/schemas/orders.d.ts +1784 -172
- package/dist/esm/services/customers/schemas/orders.d.ts.map +1 -1
- package/dist/esm/services/customers/schemas/orders.js +133 -10
- package/dist/esm/services/customers/schemas/orders.js.map +1 -1
- package/dist/esm/services/customers/schemas/purchased-items.d.ts +122 -0
- package/dist/esm/services/customers/schemas/purchased-items.d.ts.map +1 -0
- package/dist/esm/services/customers/schemas/purchased-items.js +29 -0
- package/dist/esm/services/customers/schemas/purchased-items.js.map +1 -0
- package/dist/esm/services/customers/schemas/quotes.d.ts +1925 -331
- package/dist/esm/services/customers/schemas/quotes.d.ts.map +1 -1
- package/dist/esm/services/customers/schemas/quotes.js +113 -23
- package/dist/esm/services/customers/schemas/quotes.js.map +1 -1
- package/dist/esm/services/joomla/client.d.ts +38 -26
- package/dist/esm/services/joomla/client.d.ts.map +1 -1
- package/dist/esm/services/joomla/client.js +23 -1
- package/dist/esm/services/joomla/client.js.map +1 -1
- package/dist/esm/services/joomla/schemas/content.d.ts +6 -6
- package/dist/esm/services/joomla/schemas/groups.d.ts +25 -2
- package/dist/esm/services/joomla/schemas/groups.d.ts.map +1 -1
- package/dist/esm/services/joomla/schemas/groups.js +2 -0
- package/dist/esm/services/joomla/schemas/groups.js.map +1 -1
- package/dist/esm/services/joomla/schemas/users.d.ts +455 -441
- package/dist/esm/services/joomla/schemas/users.d.ts.map +1 -1
- package/dist/esm/services/joomla/schemas/users.js +82 -58
- package/dist/esm/services/joomla/schemas/users.js.map +1 -1
- package/dist/esm/services/legacy/client.d.ts +2 -2
- package/dist/esm/services/legacy/schemas/states.d.ts +8 -8
- package/dist/esm/services/nexus/client.d.ts +6 -6
- package/dist/esm/services/nexus/schemas/bin-transfers.d.ts +2 -2
- package/dist/esm/services/nexus/schemas/receiving.d.ts +4 -4
- package/dist/esm/services/nexus/schemas/transfers.d.ts +6 -6
- package/dist/esm/services/open-search/client.d.ts +2 -2
- package/dist/esm/services/open-search/schemas/attributes.d.ts +2 -2
- package/dist/esm/services/open-search/schemas/items.d.ts +2 -2
- package/dist/esm/services/open-search/schemas/search.d.ts +2 -2
- package/dist/esm/services/orders/client.d.ts +15 -15
- package/dist/esm/services/orders/schemas/orders.d.ts +48 -48
- package/dist/esm/services/orders/schemas/purchase-orders.d.ts +32 -32
- package/dist/esm/services/orders/schemas/salesrep.d.ts +12 -12
- package/dist/esm/services/p21-pim/client.d.ts +2 -2
- package/dist/esm/services/p21-pim/schemas/inventory.d.ts +2 -2
- package/dist/esm/services/p21-pim/schemas/podcasts.d.ts +2 -2
- package/dist/esm/services/payments/client.d.ts +1 -1
- package/dist/esm/services/payments/schemas/element.d.ts +4 -4
- package/dist/esm/services/payments/schemas/unified.d.ts +16 -16
- package/dist/esm/services/pricing/client.d.ts +1 -1
- package/dist/esm/services/pricing/schemas/job-pricing.d.ts +4 -4
- package/dist/esm/services/pricing/schemas/pricing.d.ts +2 -2
- package/dist/esm/services/pricing/schemas/tax.d.ts +6 -6
- package/dist/esm/services/vmi/client.d.ts +6 -6
- package/dist/esm/services/vmi/schemas/products.d.ts +6 -6
- package/dist/esm/services/vmi/schemas/profiles.d.ts +4 -4
- package/dist/esm/services/vmi/schemas/restock.d.ts +2 -2
- package/dist/esm/services/vmi/schemas/warehouse.d.ts +6 -6
- package/dist/esm/utils/cross-site-auth.d.ts +88 -0
- package/dist/esm/utils/cross-site-auth.d.ts.map +1 -0
- package/dist/esm/utils/cross-site-auth.js +103 -0
- package/dist/esm/utils/cross-site-auth.js.map +1 -0
- package/dist/types/core/client.d.ts +1 -0
- package/dist/types/core/client.d.ts.map +1 -1
- package/dist/types/core/common-schemas.d.ts +2 -2
- package/dist/types/core/config.d.ts +2 -0
- package/dist/types/core/config.d.ts.map +1 -1
- package/dist/types/core/response-capturer.d.ts +58 -0
- package/dist/types/core/response-capturer.d.ts.map +1 -0
- package/dist/types/core/schema-factories.d.ts +4 -4
- package/dist/types/core/schemas.d.ts +4 -4
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/services/agr-site/client.d.ts +2 -2
- package/dist/types/services/agr-site/schemas/ai.d.ts +2 -2
- package/dist/types/services/agr-site/schemas/content.d.ts +2 -2
- package/dist/types/services/agr-site/schemas/settings.d.ts +2 -2
- package/dist/types/services/commerce/client.d.ts +2 -2
- package/dist/types/services/commerce/schemas/cart.d.ts +4 -4
- package/dist/types/services/commerce/schemas/checkout.d.ts +6 -6
- package/dist/types/services/commerce/schemas/recommendations.d.ts +2 -2
- package/dist/types/services/customers/client.d.ts +361 -199
- package/dist/types/services/customers/client.d.ts.map +1 -1
- package/dist/types/services/customers/schemas/addresses.d.ts +408 -186
- package/dist/types/services/customers/schemas/addresses.d.ts.map +1 -1
- package/dist/types/services/customers/schemas/contacts.d.ts +10 -10
- package/dist/types/services/customers/schemas/customers.d.ts +605 -524
- package/dist/types/services/customers/schemas/customers.d.ts.map +1 -1
- package/dist/types/services/customers/schemas/index.d.ts +1 -0
- package/dist/types/services/customers/schemas/index.d.ts.map +1 -1
- package/dist/types/services/customers/schemas/invoices.d.ts +643 -343
- package/dist/types/services/customers/schemas/invoices.d.ts.map +1 -1
- package/dist/types/services/customers/schemas/orders.d.ts +1784 -172
- package/dist/types/services/customers/schemas/orders.d.ts.map +1 -1
- package/dist/types/services/customers/schemas/purchased-items.d.ts +122 -0
- package/dist/types/services/customers/schemas/purchased-items.d.ts.map +1 -0
- package/dist/types/services/customers/schemas/quotes.d.ts +1925 -331
- package/dist/types/services/customers/schemas/quotes.d.ts.map +1 -1
- package/dist/types/services/joomla/client.d.ts +38 -26
- package/dist/types/services/joomla/client.d.ts.map +1 -1
- package/dist/types/services/joomla/schemas/content.d.ts +6 -6
- package/dist/types/services/joomla/schemas/groups.d.ts +25 -2
- package/dist/types/services/joomla/schemas/groups.d.ts.map +1 -1
- package/dist/types/services/joomla/schemas/users.d.ts +455 -441
- package/dist/types/services/joomla/schemas/users.d.ts.map +1 -1
- package/dist/types/services/legacy/client.d.ts +2 -2
- package/dist/types/services/legacy/schemas/states.d.ts +8 -8
- package/dist/types/services/nexus/client.d.ts +6 -6
- package/dist/types/services/nexus/schemas/bin-transfers.d.ts +2 -2
- package/dist/types/services/nexus/schemas/receiving.d.ts +4 -4
- package/dist/types/services/nexus/schemas/transfers.d.ts +6 -6
- package/dist/types/services/open-search/client.d.ts +2 -2
- package/dist/types/services/open-search/schemas/attributes.d.ts +2 -2
- package/dist/types/services/open-search/schemas/items.d.ts +2 -2
- package/dist/types/services/open-search/schemas/search.d.ts +2 -2
- package/dist/types/services/orders/client.d.ts +15 -15
- package/dist/types/services/orders/schemas/orders.d.ts +48 -48
- package/dist/types/services/orders/schemas/purchase-orders.d.ts +32 -32
- package/dist/types/services/orders/schemas/salesrep.d.ts +12 -12
- package/dist/types/services/p21-pim/client.d.ts +2 -2
- package/dist/types/services/p21-pim/schemas/inventory.d.ts +2 -2
- package/dist/types/services/p21-pim/schemas/podcasts.d.ts +2 -2
- package/dist/types/services/payments/client.d.ts +1 -1
- package/dist/types/services/payments/schemas/element.d.ts +4 -4
- package/dist/types/services/payments/schemas/unified.d.ts +16 -16
- package/dist/types/services/pricing/client.d.ts +1 -1
- package/dist/types/services/pricing/schemas/job-pricing.d.ts +4 -4
- package/dist/types/services/pricing/schemas/pricing.d.ts +2 -2
- package/dist/types/services/pricing/schemas/tax.d.ts +6 -6
- package/dist/types/services/vmi/client.d.ts +6 -6
- package/dist/types/services/vmi/schemas/products.d.ts +6 -6
- package/dist/types/services/vmi/schemas/profiles.d.ts +4 -4
- package/dist/types/services/vmi/schemas/restock.d.ts +2 -2
- package/dist/types/services/vmi/schemas/warehouse.d.ts +6 -6
- package/dist/types/utils/cross-site-auth.d.ts +88 -0
- package/dist/types/utils/cross-site-auth.d.ts.map +1 -0
- package/package.json +3 -2
|
@@ -47,60 +47,157 @@ export declare const AddressListParamsSchema: z.ZodObject<{
|
|
|
47
47
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
49
|
q: string;
|
|
50
|
-
edgeCache?: 3 |
|
|
50
|
+
edgeCache?: 3 | 1 | 2 | 4 | 5 | 8 | undefined;
|
|
51
51
|
limit?: number | undefined;
|
|
52
52
|
offset?: number | undefined;
|
|
53
53
|
}, {
|
|
54
54
|
q: string;
|
|
55
|
-
edgeCache?: 3 |
|
|
55
|
+
edgeCache?: 3 | 1 | 2 | 4 | 5 | 8 | undefined;
|
|
56
56
|
limit?: number | undefined;
|
|
57
57
|
offset?: number | undefined;
|
|
58
58
|
}>;
|
|
59
|
+
export declare const AddressSubSchema: z.ZodObject<{
|
|
60
|
+
id: z.ZodNumber;
|
|
61
|
+
name: z.ZodNullable<z.ZodString>;
|
|
62
|
+
mailAddress1: z.ZodNullable<z.ZodString>;
|
|
63
|
+
mailAddress2: z.ZodNullable<z.ZodString>;
|
|
64
|
+
mailCity: z.ZodNullable<z.ZodString>;
|
|
65
|
+
mailState: z.ZodNullable<z.ZodString>;
|
|
66
|
+
mailPostalCode: z.ZodNullable<z.ZodString>;
|
|
67
|
+
mailCountry: z.ZodNullable<z.ZodString>;
|
|
68
|
+
physAddress1: z.ZodNullable<z.ZodString>;
|
|
69
|
+
physAddress2: z.ZodNullable<z.ZodString>;
|
|
70
|
+
physCity: z.ZodNullable<z.ZodString>;
|
|
71
|
+
physState: z.ZodNullable<z.ZodString>;
|
|
72
|
+
physPostalCode: z.ZodNullable<z.ZodString>;
|
|
73
|
+
physCountry: z.ZodNullable<z.ZodString>;
|
|
74
|
+
}, "strip", z.ZodTypeAny, {
|
|
75
|
+
id: number;
|
|
76
|
+
name: string | null;
|
|
77
|
+
physState: string | null;
|
|
78
|
+
mailState: string | null;
|
|
79
|
+
mailAddress1: string | null;
|
|
80
|
+
mailAddress2: string | null;
|
|
81
|
+
mailCity: string | null;
|
|
82
|
+
mailPostalCode: string | null;
|
|
83
|
+
mailCountry: string | null;
|
|
84
|
+
physAddress1: string | null;
|
|
85
|
+
physAddress2: string | null;
|
|
86
|
+
physCity: string | null;
|
|
87
|
+
physPostalCode: string | null;
|
|
88
|
+
physCountry: string | null;
|
|
89
|
+
}, {
|
|
90
|
+
id: number;
|
|
91
|
+
name: string | null;
|
|
92
|
+
physState: string | null;
|
|
93
|
+
mailState: string | null;
|
|
94
|
+
mailAddress1: string | null;
|
|
95
|
+
mailAddress2: string | null;
|
|
96
|
+
mailCity: string | null;
|
|
97
|
+
mailPostalCode: string | null;
|
|
98
|
+
mailCountry: string | null;
|
|
99
|
+
physAddress1: string | null;
|
|
100
|
+
physAddress2: string | null;
|
|
101
|
+
physCity: string | null;
|
|
102
|
+
physPostalCode: string | null;
|
|
103
|
+
physCountry: string | null;
|
|
104
|
+
}>;
|
|
59
105
|
export declare const ShipToAddressSchema: z.ZodObject<{
|
|
60
106
|
shipToId: z.ZodNumber;
|
|
61
107
|
customerId: z.ZodNumber;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
108
|
+
companyId: z.ZodString;
|
|
109
|
+
defaultBranch: z.ZodString;
|
|
110
|
+
defaultCarrierId: z.ZodNullable<z.ZodNumber>;
|
|
111
|
+
address: z.ZodObject<{
|
|
112
|
+
id: z.ZodNumber;
|
|
113
|
+
name: z.ZodNullable<z.ZodString>;
|
|
114
|
+
mailAddress1: z.ZodNullable<z.ZodString>;
|
|
115
|
+
mailAddress2: z.ZodNullable<z.ZodString>;
|
|
116
|
+
mailCity: z.ZodNullable<z.ZodString>;
|
|
117
|
+
mailState: z.ZodNullable<z.ZodString>;
|
|
118
|
+
mailPostalCode: z.ZodNullable<z.ZodString>;
|
|
119
|
+
mailCountry: z.ZodNullable<z.ZodString>;
|
|
120
|
+
physAddress1: z.ZodNullable<z.ZodString>;
|
|
121
|
+
physAddress2: z.ZodNullable<z.ZodString>;
|
|
122
|
+
physCity: z.ZodNullable<z.ZodString>;
|
|
123
|
+
physState: z.ZodNullable<z.ZodString>;
|
|
124
|
+
physPostalCode: z.ZodNullable<z.ZodString>;
|
|
125
|
+
physCountry: z.ZodNullable<z.ZodString>;
|
|
126
|
+
}, "strip", z.ZodTypeAny, {
|
|
127
|
+
id: number;
|
|
128
|
+
name: string | null;
|
|
129
|
+
physState: string | null;
|
|
130
|
+
mailState: string | null;
|
|
131
|
+
mailAddress1: string | null;
|
|
132
|
+
mailAddress2: string | null;
|
|
133
|
+
mailCity: string | null;
|
|
134
|
+
mailPostalCode: string | null;
|
|
135
|
+
mailCountry: string | null;
|
|
136
|
+
physAddress1: string | null;
|
|
137
|
+
physAddress2: string | null;
|
|
138
|
+
physCity: string | null;
|
|
139
|
+
physPostalCode: string | null;
|
|
140
|
+
physCountry: string | null;
|
|
141
|
+
}, {
|
|
142
|
+
id: number;
|
|
143
|
+
name: string | null;
|
|
144
|
+
physState: string | null;
|
|
145
|
+
mailState: string | null;
|
|
146
|
+
mailAddress1: string | null;
|
|
147
|
+
mailAddress2: string | null;
|
|
148
|
+
mailCity: string | null;
|
|
149
|
+
mailPostalCode: string | null;
|
|
150
|
+
mailCountry: string | null;
|
|
151
|
+
physAddress1: string | null;
|
|
152
|
+
physAddress2: string | null;
|
|
153
|
+
physCity: string | null;
|
|
154
|
+
physPostalCode: string | null;
|
|
155
|
+
physCountry: string | null;
|
|
156
|
+
}>;
|
|
74
157
|
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
state: string;
|
|
76
158
|
customerId: number;
|
|
77
|
-
|
|
78
|
-
|
|
159
|
+
address: {
|
|
160
|
+
id: number;
|
|
161
|
+
name: string | null;
|
|
162
|
+
physState: string | null;
|
|
163
|
+
mailState: string | null;
|
|
164
|
+
mailAddress1: string | null;
|
|
165
|
+
mailAddress2: string | null;
|
|
166
|
+
mailCity: string | null;
|
|
167
|
+
mailPostalCode: string | null;
|
|
168
|
+
mailCountry: string | null;
|
|
169
|
+
physAddress1: string | null;
|
|
170
|
+
physAddress2: string | null;
|
|
171
|
+
physCity: string | null;
|
|
172
|
+
physPostalCode: string | null;
|
|
173
|
+
physCountry: string | null;
|
|
174
|
+
};
|
|
79
175
|
shipToId: number;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
dateCreated?: string | undefined;
|
|
84
|
-
phoneNumber?: string | undefined;
|
|
85
|
-
address2?: string | undefined;
|
|
86
|
-
contactName?: string | undefined;
|
|
87
|
-
deliveryInstructions?: string | undefined;
|
|
88
|
-
isDefault?: boolean | undefined;
|
|
176
|
+
companyId: string;
|
|
177
|
+
defaultBranch: string;
|
|
178
|
+
defaultCarrierId: number | null;
|
|
89
179
|
}, {
|
|
90
|
-
state: string;
|
|
91
180
|
customerId: number;
|
|
92
|
-
|
|
93
|
-
|
|
181
|
+
address: {
|
|
182
|
+
id: number;
|
|
183
|
+
name: string | null;
|
|
184
|
+
physState: string | null;
|
|
185
|
+
mailState: string | null;
|
|
186
|
+
mailAddress1: string | null;
|
|
187
|
+
mailAddress2: string | null;
|
|
188
|
+
mailCity: string | null;
|
|
189
|
+
mailPostalCode: string | null;
|
|
190
|
+
mailCountry: string | null;
|
|
191
|
+
physAddress1: string | null;
|
|
192
|
+
physAddress2: string | null;
|
|
193
|
+
physCity: string | null;
|
|
194
|
+
physPostalCode: string | null;
|
|
195
|
+
physCountry: string | null;
|
|
196
|
+
};
|
|
94
197
|
shipToId: number;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
dateCreated?: string | undefined;
|
|
99
|
-
phoneNumber?: string | undefined;
|
|
100
|
-
address2?: string | undefined;
|
|
101
|
-
contactName?: string | undefined;
|
|
102
|
-
deliveryInstructions?: string | undefined;
|
|
103
|
-
isDefault?: boolean | undefined;
|
|
198
|
+
companyId: string;
|
|
199
|
+
defaultBranch: string;
|
|
200
|
+
defaultCarrierId: number | null;
|
|
104
201
|
}>;
|
|
105
202
|
export declare const ShipToAddressCreateParamsSchema: z.ZodObject<{
|
|
106
203
|
shipToName: z.ZodString;
|
|
@@ -116,8 +213,8 @@ export declare const ShipToAddressCreateParamsSchema: z.ZodObject<{
|
|
|
116
213
|
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
117
214
|
}, "strip", z.ZodTypeAny, {
|
|
118
215
|
state: string;
|
|
119
|
-
city: string;
|
|
120
216
|
shipToName: string;
|
|
217
|
+
city: string;
|
|
121
218
|
address1: string;
|
|
122
219
|
zipCode: string;
|
|
123
220
|
country: string;
|
|
@@ -128,8 +225,8 @@ export declare const ShipToAddressCreateParamsSchema: z.ZodObject<{
|
|
|
128
225
|
isDefault?: boolean | undefined;
|
|
129
226
|
}, {
|
|
130
227
|
state: string;
|
|
131
|
-
city: string;
|
|
132
228
|
shipToName: string;
|
|
229
|
+
city: string;
|
|
133
230
|
address1: string;
|
|
134
231
|
zipCode: string;
|
|
135
232
|
country: string;
|
|
@@ -142,21 +239,18 @@ export declare const ShipToAddressCreateParamsSchema: z.ZodObject<{
|
|
|
142
239
|
export declare const ShipToAddressListParamsSchema: z.ZodObject<{
|
|
143
240
|
edgeCache: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<8>]>>;
|
|
144
241
|
} & {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
orderBy: z.ZodOptional<z.ZodString>;
|
|
242
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
243
|
+
offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
244
|
+
orderBy: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
149
245
|
}, "strip", z.ZodTypeAny, {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
orderBy?: string | undefined;
|
|
246
|
+
limit: number;
|
|
247
|
+
offset: number;
|
|
248
|
+
orderBy: string;
|
|
249
|
+
edgeCache?: 3 | 1 | 2 | 4 | 5 | 8 | undefined;
|
|
155
250
|
}, {
|
|
156
|
-
edgeCache?: 3 |
|
|
251
|
+
edgeCache?: 3 | 1 | 2 | 4 | 5 | 8 | undefined;
|
|
157
252
|
limit?: number | undefined;
|
|
158
253
|
offset?: number | undefined;
|
|
159
|
-
q?: string | undefined;
|
|
160
254
|
orderBy?: string | undefined;
|
|
161
255
|
}>;
|
|
162
256
|
export declare const AddressListResponseSchema: z.ZodObject<{
|
|
@@ -247,101 +341,163 @@ export declare const AddressListResponseSchema: z.ZodObject<{
|
|
|
247
341
|
count?: number | undefined;
|
|
248
342
|
}>;
|
|
249
343
|
export declare const ShipToAddressListResponseSchema: z.ZodObject<{
|
|
250
|
-
status: z.
|
|
251
|
-
message: z.
|
|
344
|
+
status: z.ZodLiteral<200>;
|
|
345
|
+
message: z.ZodLiteral<"Ok">;
|
|
252
346
|
data: z.ZodArray<z.ZodObject<{
|
|
253
347
|
shipToId: z.ZodNumber;
|
|
254
348
|
customerId: z.ZodNumber;
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
349
|
+
companyId: z.ZodString;
|
|
350
|
+
defaultBranch: z.ZodString;
|
|
351
|
+
defaultCarrierId: z.ZodNullable<z.ZodNumber>;
|
|
352
|
+
address: z.ZodObject<{
|
|
353
|
+
id: z.ZodNumber;
|
|
354
|
+
name: z.ZodNullable<z.ZodString>;
|
|
355
|
+
mailAddress1: z.ZodNullable<z.ZodString>;
|
|
356
|
+
mailAddress2: z.ZodNullable<z.ZodString>;
|
|
357
|
+
mailCity: z.ZodNullable<z.ZodString>;
|
|
358
|
+
mailState: z.ZodNullable<z.ZodString>;
|
|
359
|
+
mailPostalCode: z.ZodNullable<z.ZodString>;
|
|
360
|
+
mailCountry: z.ZodNullable<z.ZodString>;
|
|
361
|
+
physAddress1: z.ZodNullable<z.ZodString>;
|
|
362
|
+
physAddress2: z.ZodNullable<z.ZodString>;
|
|
363
|
+
physCity: z.ZodNullable<z.ZodString>;
|
|
364
|
+
physState: z.ZodNullable<z.ZodString>;
|
|
365
|
+
physPostalCode: z.ZodNullable<z.ZodString>;
|
|
366
|
+
physCountry: z.ZodNullable<z.ZodString>;
|
|
367
|
+
}, "strip", z.ZodTypeAny, {
|
|
368
|
+
id: number;
|
|
369
|
+
name: string | null;
|
|
370
|
+
physState: string | null;
|
|
371
|
+
mailState: string | null;
|
|
372
|
+
mailAddress1: string | null;
|
|
373
|
+
mailAddress2: string | null;
|
|
374
|
+
mailCity: string | null;
|
|
375
|
+
mailPostalCode: string | null;
|
|
376
|
+
mailCountry: string | null;
|
|
377
|
+
physAddress1: string | null;
|
|
378
|
+
physAddress2: string | null;
|
|
379
|
+
physCity: string | null;
|
|
380
|
+
physPostalCode: string | null;
|
|
381
|
+
physCountry: string | null;
|
|
382
|
+
}, {
|
|
383
|
+
id: number;
|
|
384
|
+
name: string | null;
|
|
385
|
+
physState: string | null;
|
|
386
|
+
mailState: string | null;
|
|
387
|
+
mailAddress1: string | null;
|
|
388
|
+
mailAddress2: string | null;
|
|
389
|
+
mailCity: string | null;
|
|
390
|
+
mailPostalCode: string | null;
|
|
391
|
+
mailCountry: string | null;
|
|
392
|
+
physAddress1: string | null;
|
|
393
|
+
physAddress2: string | null;
|
|
394
|
+
physCity: string | null;
|
|
395
|
+
physPostalCode: string | null;
|
|
396
|
+
physCountry: string | null;
|
|
397
|
+
}>;
|
|
267
398
|
}, "strip", z.ZodTypeAny, {
|
|
268
|
-
state: string;
|
|
269
399
|
customerId: number;
|
|
270
|
-
|
|
271
|
-
|
|
400
|
+
address: {
|
|
401
|
+
id: number;
|
|
402
|
+
name: string | null;
|
|
403
|
+
physState: string | null;
|
|
404
|
+
mailState: string | null;
|
|
405
|
+
mailAddress1: string | null;
|
|
406
|
+
mailAddress2: string | null;
|
|
407
|
+
mailCity: string | null;
|
|
408
|
+
mailPostalCode: string | null;
|
|
409
|
+
mailCountry: string | null;
|
|
410
|
+
physAddress1: string | null;
|
|
411
|
+
physAddress2: string | null;
|
|
412
|
+
physCity: string | null;
|
|
413
|
+
physPostalCode: string | null;
|
|
414
|
+
physCountry: string | null;
|
|
415
|
+
};
|
|
272
416
|
shipToId: number;
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
dateCreated?: string | undefined;
|
|
277
|
-
phoneNumber?: string | undefined;
|
|
278
|
-
address2?: string | undefined;
|
|
279
|
-
contactName?: string | undefined;
|
|
280
|
-
deliveryInstructions?: string | undefined;
|
|
281
|
-
isDefault?: boolean | undefined;
|
|
417
|
+
companyId: string;
|
|
418
|
+
defaultBranch: string;
|
|
419
|
+
defaultCarrierId: number | null;
|
|
282
420
|
}, {
|
|
283
|
-
state: string;
|
|
284
421
|
customerId: number;
|
|
285
|
-
|
|
286
|
-
|
|
422
|
+
address: {
|
|
423
|
+
id: number;
|
|
424
|
+
name: string | null;
|
|
425
|
+
physState: string | null;
|
|
426
|
+
mailState: string | null;
|
|
427
|
+
mailAddress1: string | null;
|
|
428
|
+
mailAddress2: string | null;
|
|
429
|
+
mailCity: string | null;
|
|
430
|
+
mailPostalCode: string | null;
|
|
431
|
+
mailCountry: string | null;
|
|
432
|
+
physAddress1: string | null;
|
|
433
|
+
physAddress2: string | null;
|
|
434
|
+
physCity: string | null;
|
|
435
|
+
physPostalCode: string | null;
|
|
436
|
+
physCountry: string | null;
|
|
437
|
+
};
|
|
287
438
|
shipToId: number;
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
dateCreated?: string | undefined;
|
|
292
|
-
phoneNumber?: string | undefined;
|
|
293
|
-
address2?: string | undefined;
|
|
294
|
-
contactName?: string | undefined;
|
|
295
|
-
deliveryInstructions?: string | undefined;
|
|
296
|
-
isDefault?: boolean | undefined;
|
|
439
|
+
companyId: string;
|
|
440
|
+
defaultBranch: string;
|
|
441
|
+
defaultCarrierId: number | null;
|
|
297
442
|
}>, "many">;
|
|
298
|
-
|
|
299
|
-
count: z.
|
|
300
|
-
options: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
443
|
+
total: z.ZodNumber;
|
|
444
|
+
count: z.ZodNumber;
|
|
301
445
|
}, "strip", z.ZodTypeAny, {
|
|
302
446
|
data: {
|
|
303
|
-
state: string;
|
|
304
447
|
customerId: number;
|
|
305
|
-
|
|
306
|
-
|
|
448
|
+
address: {
|
|
449
|
+
id: number;
|
|
450
|
+
name: string | null;
|
|
451
|
+
physState: string | null;
|
|
452
|
+
mailState: string | null;
|
|
453
|
+
mailAddress1: string | null;
|
|
454
|
+
mailAddress2: string | null;
|
|
455
|
+
mailCity: string | null;
|
|
456
|
+
mailPostalCode: string | null;
|
|
457
|
+
mailCountry: string | null;
|
|
458
|
+
physAddress1: string | null;
|
|
459
|
+
physAddress2: string | null;
|
|
460
|
+
physCity: string | null;
|
|
461
|
+
physPostalCode: string | null;
|
|
462
|
+
physCountry: string | null;
|
|
463
|
+
};
|
|
307
464
|
shipToId: number;
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
dateCreated?: string | undefined;
|
|
312
|
-
phoneNumber?: string | undefined;
|
|
313
|
-
address2?: string | undefined;
|
|
314
|
-
contactName?: string | undefined;
|
|
315
|
-
deliveryInstructions?: string | undefined;
|
|
316
|
-
isDefault?: boolean | undefined;
|
|
465
|
+
companyId: string;
|
|
466
|
+
defaultBranch: string;
|
|
467
|
+
defaultCarrierId: number | null;
|
|
317
468
|
}[];
|
|
318
|
-
status:
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
count?: number | undefined;
|
|
469
|
+
status: 200;
|
|
470
|
+
message: "Ok";
|
|
471
|
+
count: number;
|
|
472
|
+
total: number;
|
|
323
473
|
}, {
|
|
324
474
|
data: {
|
|
325
|
-
state: string;
|
|
326
475
|
customerId: number;
|
|
327
|
-
|
|
328
|
-
|
|
476
|
+
address: {
|
|
477
|
+
id: number;
|
|
478
|
+
name: string | null;
|
|
479
|
+
physState: string | null;
|
|
480
|
+
mailState: string | null;
|
|
481
|
+
mailAddress1: string | null;
|
|
482
|
+
mailAddress2: string | null;
|
|
483
|
+
mailCity: string | null;
|
|
484
|
+
mailPostalCode: string | null;
|
|
485
|
+
mailCountry: string | null;
|
|
486
|
+
physAddress1: string | null;
|
|
487
|
+
physAddress2: string | null;
|
|
488
|
+
physCity: string | null;
|
|
489
|
+
physPostalCode: string | null;
|
|
490
|
+
physCountry: string | null;
|
|
491
|
+
};
|
|
329
492
|
shipToId: number;
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
dateCreated?: string | undefined;
|
|
334
|
-
phoneNumber?: string | undefined;
|
|
335
|
-
address2?: string | undefined;
|
|
336
|
-
contactName?: string | undefined;
|
|
337
|
-
deliveryInstructions?: string | undefined;
|
|
338
|
-
isDefault?: boolean | undefined;
|
|
493
|
+
companyId: string;
|
|
494
|
+
defaultBranch: string;
|
|
495
|
+
defaultCarrierId: number | null;
|
|
339
496
|
}[];
|
|
340
|
-
status:
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
count?: number | undefined;
|
|
497
|
+
status: 200;
|
|
498
|
+
message: "Ok";
|
|
499
|
+
count: number;
|
|
500
|
+
total: number;
|
|
345
501
|
}>;
|
|
346
502
|
export declare const ShipToAddressResponseSchema: z.ZodObject<{
|
|
347
503
|
status: z.ZodNumber;
|
|
@@ -349,68 +505,126 @@ export declare const ShipToAddressResponseSchema: z.ZodObject<{
|
|
|
349
505
|
data: z.ZodObject<{
|
|
350
506
|
shipToId: z.ZodNumber;
|
|
351
507
|
customerId: z.ZodNumber;
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
508
|
+
companyId: z.ZodString;
|
|
509
|
+
defaultBranch: z.ZodString;
|
|
510
|
+
defaultCarrierId: z.ZodNullable<z.ZodNumber>;
|
|
511
|
+
address: z.ZodObject<{
|
|
512
|
+
id: z.ZodNumber;
|
|
513
|
+
name: z.ZodNullable<z.ZodString>;
|
|
514
|
+
mailAddress1: z.ZodNullable<z.ZodString>;
|
|
515
|
+
mailAddress2: z.ZodNullable<z.ZodString>;
|
|
516
|
+
mailCity: z.ZodNullable<z.ZodString>;
|
|
517
|
+
mailState: z.ZodNullable<z.ZodString>;
|
|
518
|
+
mailPostalCode: z.ZodNullable<z.ZodString>;
|
|
519
|
+
mailCountry: z.ZodNullable<z.ZodString>;
|
|
520
|
+
physAddress1: z.ZodNullable<z.ZodString>;
|
|
521
|
+
physAddress2: z.ZodNullable<z.ZodString>;
|
|
522
|
+
physCity: z.ZodNullable<z.ZodString>;
|
|
523
|
+
physState: z.ZodNullable<z.ZodString>;
|
|
524
|
+
physPostalCode: z.ZodNullable<z.ZodString>;
|
|
525
|
+
physCountry: z.ZodNullable<z.ZodString>;
|
|
526
|
+
}, "strip", z.ZodTypeAny, {
|
|
527
|
+
id: number;
|
|
528
|
+
name: string | null;
|
|
529
|
+
physState: string | null;
|
|
530
|
+
mailState: string | null;
|
|
531
|
+
mailAddress1: string | null;
|
|
532
|
+
mailAddress2: string | null;
|
|
533
|
+
mailCity: string | null;
|
|
534
|
+
mailPostalCode: string | null;
|
|
535
|
+
mailCountry: string | null;
|
|
536
|
+
physAddress1: string | null;
|
|
537
|
+
physAddress2: string | null;
|
|
538
|
+
physCity: string | null;
|
|
539
|
+
physPostalCode: string | null;
|
|
540
|
+
physCountry: string | null;
|
|
541
|
+
}, {
|
|
542
|
+
id: number;
|
|
543
|
+
name: string | null;
|
|
544
|
+
physState: string | null;
|
|
545
|
+
mailState: string | null;
|
|
546
|
+
mailAddress1: string | null;
|
|
547
|
+
mailAddress2: string | null;
|
|
548
|
+
mailCity: string | null;
|
|
549
|
+
mailPostalCode: string | null;
|
|
550
|
+
mailCountry: string | null;
|
|
551
|
+
physAddress1: string | null;
|
|
552
|
+
physAddress2: string | null;
|
|
553
|
+
physCity: string | null;
|
|
554
|
+
physPostalCode: string | null;
|
|
555
|
+
physCountry: string | null;
|
|
556
|
+
}>;
|
|
364
557
|
}, "strip", z.ZodTypeAny, {
|
|
365
|
-
state: string;
|
|
366
558
|
customerId: number;
|
|
367
|
-
|
|
368
|
-
|
|
559
|
+
address: {
|
|
560
|
+
id: number;
|
|
561
|
+
name: string | null;
|
|
562
|
+
physState: string | null;
|
|
563
|
+
mailState: string | null;
|
|
564
|
+
mailAddress1: string | null;
|
|
565
|
+
mailAddress2: string | null;
|
|
566
|
+
mailCity: string | null;
|
|
567
|
+
mailPostalCode: string | null;
|
|
568
|
+
mailCountry: string | null;
|
|
569
|
+
physAddress1: string | null;
|
|
570
|
+
physAddress2: string | null;
|
|
571
|
+
physCity: string | null;
|
|
572
|
+
physPostalCode: string | null;
|
|
573
|
+
physCountry: string | null;
|
|
574
|
+
};
|
|
369
575
|
shipToId: number;
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
dateCreated?: string | undefined;
|
|
374
|
-
phoneNumber?: string | undefined;
|
|
375
|
-
address2?: string | undefined;
|
|
376
|
-
contactName?: string | undefined;
|
|
377
|
-
deliveryInstructions?: string | undefined;
|
|
378
|
-
isDefault?: boolean | undefined;
|
|
576
|
+
companyId: string;
|
|
577
|
+
defaultBranch: string;
|
|
578
|
+
defaultCarrierId: number | null;
|
|
379
579
|
}, {
|
|
380
|
-
state: string;
|
|
381
580
|
customerId: number;
|
|
382
|
-
|
|
383
|
-
|
|
581
|
+
address: {
|
|
582
|
+
id: number;
|
|
583
|
+
name: string | null;
|
|
584
|
+
physState: string | null;
|
|
585
|
+
mailState: string | null;
|
|
586
|
+
mailAddress1: string | null;
|
|
587
|
+
mailAddress2: string | null;
|
|
588
|
+
mailCity: string | null;
|
|
589
|
+
mailPostalCode: string | null;
|
|
590
|
+
mailCountry: string | null;
|
|
591
|
+
physAddress1: string | null;
|
|
592
|
+
physAddress2: string | null;
|
|
593
|
+
physCity: string | null;
|
|
594
|
+
physPostalCode: string | null;
|
|
595
|
+
physCountry: string | null;
|
|
596
|
+
};
|
|
384
597
|
shipToId: number;
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
dateCreated?: string | undefined;
|
|
389
|
-
phoneNumber?: string | undefined;
|
|
390
|
-
address2?: string | undefined;
|
|
391
|
-
contactName?: string | undefined;
|
|
392
|
-
deliveryInstructions?: string | undefined;
|
|
393
|
-
isDefault?: boolean | undefined;
|
|
598
|
+
companyId: string;
|
|
599
|
+
defaultBranch: string;
|
|
600
|
+
defaultCarrierId: number | null;
|
|
394
601
|
}>;
|
|
395
602
|
totalResults: z.ZodOptional<z.ZodNumber>;
|
|
396
603
|
count: z.ZodOptional<z.ZodNumber>;
|
|
397
604
|
options: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
398
605
|
}, "strip", z.ZodTypeAny, {
|
|
399
606
|
data: {
|
|
400
|
-
state: string;
|
|
401
607
|
customerId: number;
|
|
402
|
-
|
|
403
|
-
|
|
608
|
+
address: {
|
|
609
|
+
id: number;
|
|
610
|
+
name: string | null;
|
|
611
|
+
physState: string | null;
|
|
612
|
+
mailState: string | null;
|
|
613
|
+
mailAddress1: string | null;
|
|
614
|
+
mailAddress2: string | null;
|
|
615
|
+
mailCity: string | null;
|
|
616
|
+
mailPostalCode: string | null;
|
|
617
|
+
mailCountry: string | null;
|
|
618
|
+
physAddress1: string | null;
|
|
619
|
+
physAddress2: string | null;
|
|
620
|
+
physCity: string | null;
|
|
621
|
+
physPostalCode: string | null;
|
|
622
|
+
physCountry: string | null;
|
|
623
|
+
};
|
|
404
624
|
shipToId: number;
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
dateCreated?: string | undefined;
|
|
409
|
-
phoneNumber?: string | undefined;
|
|
410
|
-
address2?: string | undefined;
|
|
411
|
-
contactName?: string | undefined;
|
|
412
|
-
deliveryInstructions?: string | undefined;
|
|
413
|
-
isDefault?: boolean | undefined;
|
|
625
|
+
companyId: string;
|
|
626
|
+
defaultBranch: string;
|
|
627
|
+
defaultCarrierId: number | null;
|
|
414
628
|
};
|
|
415
629
|
status: number;
|
|
416
630
|
options?: Record<string, unknown>[] | undefined;
|
|
@@ -419,20 +633,27 @@ export declare const ShipToAddressResponseSchema: z.ZodObject<{
|
|
|
419
633
|
count?: number | undefined;
|
|
420
634
|
}, {
|
|
421
635
|
data: {
|
|
422
|
-
state: string;
|
|
423
636
|
customerId: number;
|
|
424
|
-
|
|
425
|
-
|
|
637
|
+
address: {
|
|
638
|
+
id: number;
|
|
639
|
+
name: string | null;
|
|
640
|
+
physState: string | null;
|
|
641
|
+
mailState: string | null;
|
|
642
|
+
mailAddress1: string | null;
|
|
643
|
+
mailAddress2: string | null;
|
|
644
|
+
mailCity: string | null;
|
|
645
|
+
mailPostalCode: string | null;
|
|
646
|
+
mailCountry: string | null;
|
|
647
|
+
physAddress1: string | null;
|
|
648
|
+
physAddress2: string | null;
|
|
649
|
+
physCity: string | null;
|
|
650
|
+
physPostalCode: string | null;
|
|
651
|
+
physCountry: string | null;
|
|
652
|
+
};
|
|
426
653
|
shipToId: number;
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
dateCreated?: string | undefined;
|
|
431
|
-
phoneNumber?: string | undefined;
|
|
432
|
-
address2?: string | undefined;
|
|
433
|
-
contactName?: string | undefined;
|
|
434
|
-
deliveryInstructions?: string | undefined;
|
|
435
|
-
isDefault?: boolean | undefined;
|
|
654
|
+
companyId: string;
|
|
655
|
+
defaultBranch: string;
|
|
656
|
+
defaultCarrierId: number | null;
|
|
436
657
|
};
|
|
437
658
|
status: number;
|
|
438
659
|
options?: Record<string, unknown>[] | undefined;
|
|
@@ -441,6 +662,7 @@ export declare const ShipToAddressResponseSchema: z.ZodObject<{
|
|
|
441
662
|
count?: number | undefined;
|
|
442
663
|
}>;
|
|
443
664
|
export type Address = z.infer<typeof AddressSchema>;
|
|
665
|
+
export type AddressSub = z.infer<typeof AddressSubSchema>;
|
|
444
666
|
export type AddressListParams = z.infer<typeof AddressListParamsSchema>;
|
|
445
667
|
export type ShipToAddress = z.infer<typeof ShipToAddressSchema>;
|
|
446
668
|
export type ShipToAddressCreateParams = z.infer<typeof ShipToAddressCreateParamsSchema>;
|