erpnext-queue-client 1.0.5 → 1.1.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.
- package/dist/client.d.ts +6 -16
- package/dist/client.js +51 -51
- package/dist/erpnext/decryptFromErpNext.server.d.ts +1 -1
- package/dist/erpnext/decryptFromErpNext.server.test.js +3 -3
- package/dist/erpnext/doctypeResourceRequest.d.ts +38 -0
- package/dist/erpnext/doctypeResourceRequest.js +59 -0
- package/dist/erpnext/doctypeSubmittableResourceRequest.d.ts +8 -0
- package/dist/erpnext/doctypeSubmittableResourceRequest.js +39 -0
- package/dist/erpnext/doctypes/address.d.ts +263 -0
- package/dist/erpnext/doctypes/address.js +46 -0
- package/dist/erpnext/doctypes/contact.d.ts +383 -0
- package/dist/erpnext/doctypes/contact.js +46 -0
- package/dist/erpnext/doctypes/deliveryNote.d.ts +985 -0
- package/dist/erpnext/doctypes/deliveryNote.js +38 -0
- package/dist/erpnext/doctypes/item.d.ts +572 -0
- package/dist/erpnext/doctypes/item.js +95 -0
- package/dist/erpnext/doctypes/purchaseReceipt.d.ts +743 -0
- package/dist/erpnext/doctypes/purchaseReceipt.js +50 -0
- package/dist/erpnext/doctypes/shipment.d.ts +752 -0
- package/dist/erpnext/doctypes/shipment.js +51 -0
- package/dist/erpnext/erpnextRequestWrapper.js +15 -13
- package/dist/erpnext/fileRequests.d.ts +10 -0
- package/dist/erpnext/fileRequests.js +42 -0
- package/dist/erpnext/methodRequest.d.ts +15 -0
- package/dist/erpnext/methodRequest.js +32 -0
- package/dist/erpnext/model/Address.d.ts +200 -198
- package/dist/erpnext/model/Address.js +3 -2
- package/dist/erpnext/model/Contact.d.ts +343 -344
- package/dist/erpnext/model/Contact.js +2 -2
- package/dist/erpnext/model/Country.d.ts +83 -31
- package/dist/erpnext/model/Country.js +2 -6
- package/dist/erpnext/model/Customer.d.ts +64 -65
- package/dist/erpnext/model/Customer.js +2 -2
- package/dist/erpnext/model/DeliveryNote.d.ts +1048 -1048
- package/dist/erpnext/model/DispatchRun.d.ts +399 -399
- package/dist/erpnext/model/DispatcherPreset.d.ts +94 -94
- package/dist/erpnext/model/ERPNextQueue.d.ts +8 -7
- package/dist/erpnext/model/ERPNextRequest.d.ts +55 -21
- package/dist/erpnext/model/ERPNextResponse.d.ts +4 -4
- package/dist/erpnext/model/File.d.ts +88 -88
- package/dist/erpnext/model/Fulfiller.d.ts +97 -97
- package/dist/erpnext/model/FulfillerSettings.d.ts +66 -66
- package/dist/erpnext/model/FulfillmentStation.d.ts +2 -2
- package/dist/erpnext/model/Item.d.ts +821 -821
- package/dist/erpnext/model/Item.js +2 -2
- package/dist/erpnext/model/PaymentEntry.d.ts +197 -0
- package/dist/erpnext/model/PaymentEntry.js +63 -0
- package/dist/erpnext/model/ProjectedQuantityReport.d.ts +178 -178
- package/dist/erpnext/model/PurchaseOrder.d.ts +534 -534
- package/dist/erpnext/model/Receipt.d.ts +456 -456
- package/dist/erpnext/model/Receipt.js +2 -2
- package/dist/erpnext/model/ReceiptDraft.d.ts +394 -394
- package/dist/erpnext/model/Shipment.d.ts +708 -708
- package/dist/erpnext/model/ShippingProvider.d.ts +198 -198
- package/dist/erpnext/model/StockEntry.d.ts +248 -0
- package/dist/erpnext/model/StockEntry.js +76 -0
- package/dist/erpnext/model/StockReconciliation.d.ts +187 -0
- package/dist/erpnext/model/StockReconciliation.js +44 -0
- package/dist/erpnext/model/Supplier.d.ts +105 -0
- package/dist/erpnext/model/Supplier.js +39 -0
- package/dist/erpnext/model/Waitlist.d.ts +32 -0
- package/dist/erpnext/model/Waitlist.js +19 -0
- package/dist/erpnext/model/WarehouseCategory.d.ts +6 -6
- package/dist/erpnext/resourceRequest.d.ts +45 -0
- package/dist/erpnext/resourceRequest.js +135 -0
- package/dist/index.d.ts +52 -1
- package/dist/index.js +56 -12
- package/dist/utils/fernet.server.d.ts +11 -11
- package/dist/utils/fernet.server.js +0 -1
- package/dist/utils/request.js +2 -2
- package/dist/utils/zodUtils.d.ts +2 -1
- package/dist/utils/zodUtils.js +14 -1
- package/package.json +4 -1
- package/dist/erpnext/erpnextRequests.d.ts +0 -1786
- package/dist/erpnext/erpnextRequests.js +0 -339
|
@@ -3,18 +3,19 @@ export declare const DynamicLinkPostBody: z.ZodObject<{
|
|
|
3
3
|
link_doctype: z.ZodString;
|
|
4
4
|
link_name: z.ZodString;
|
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
link_doctype
|
|
7
|
-
link_name
|
|
6
|
+
link_doctype: string;
|
|
7
|
+
link_name: string;
|
|
8
8
|
}, {
|
|
9
|
-
link_doctype
|
|
10
|
-
link_name
|
|
9
|
+
link_doctype: string;
|
|
10
|
+
link_name: string;
|
|
11
11
|
}>;
|
|
12
|
-
declare const AddressPostBody: z.ZodObject<{
|
|
12
|
+
export declare const AddressPostBody: z.ZodObject<{
|
|
13
13
|
address_title: z.ZodString;
|
|
14
14
|
address_line1: z.ZodString;
|
|
15
15
|
address_line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16
16
|
address_type: z.ZodString;
|
|
17
17
|
city: z.ZodString;
|
|
18
|
+
pincode: z.ZodString;
|
|
18
19
|
country: z.ZodString;
|
|
19
20
|
email_id: z.ZodString;
|
|
20
21
|
is_shipping_address: z.ZodNumber;
|
|
@@ -22,38 +23,40 @@ declare const AddressPostBody: z.ZodObject<{
|
|
|
22
23
|
link_doctype: z.ZodString;
|
|
23
24
|
link_name: z.ZodString;
|
|
24
25
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
link_doctype
|
|
26
|
-
link_name
|
|
26
|
+
link_doctype: string;
|
|
27
|
+
link_name: string;
|
|
27
28
|
}, {
|
|
28
|
-
link_doctype
|
|
29
|
-
link_name
|
|
29
|
+
link_doctype: string;
|
|
30
|
+
link_name: string;
|
|
30
31
|
}>, "many">;
|
|
31
32
|
}, "strip", z.ZodTypeAny, {
|
|
32
|
-
address_title
|
|
33
|
-
address_line1
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
country
|
|
38
|
-
email_id
|
|
39
|
-
is_shipping_address
|
|
40
|
-
links
|
|
41
|
-
link_doctype
|
|
42
|
-
link_name
|
|
33
|
+
address_title: string;
|
|
34
|
+
address_line1: string;
|
|
35
|
+
address_type: string;
|
|
36
|
+
city: string;
|
|
37
|
+
pincode: string;
|
|
38
|
+
country: string;
|
|
39
|
+
email_id: string;
|
|
40
|
+
is_shipping_address: number;
|
|
41
|
+
links: {
|
|
42
|
+
link_doctype: string;
|
|
43
|
+
link_name: string;
|
|
43
44
|
}[];
|
|
45
|
+
address_line2?: string | null | undefined;
|
|
44
46
|
}, {
|
|
45
|
-
address_title
|
|
46
|
-
address_line1
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
country
|
|
51
|
-
email_id
|
|
52
|
-
is_shipping_address
|
|
53
|
-
links
|
|
54
|
-
link_doctype
|
|
55
|
-
link_name
|
|
47
|
+
address_title: string;
|
|
48
|
+
address_line1: string;
|
|
49
|
+
address_type: string;
|
|
50
|
+
city: string;
|
|
51
|
+
pincode: string;
|
|
52
|
+
country: string;
|
|
53
|
+
email_id: string;
|
|
54
|
+
is_shipping_address: number;
|
|
55
|
+
links: {
|
|
56
|
+
link_doctype: string;
|
|
57
|
+
link_name: string;
|
|
56
58
|
}[];
|
|
59
|
+
address_line2?: string | null | undefined;
|
|
57
60
|
}>;
|
|
58
61
|
export type AddressPostBodyType = z.infer<typeof AddressPostBody>;
|
|
59
62
|
export declare const Address: z.ZodObject<{
|
|
@@ -102,128 +105,128 @@ export declare const Address: z.ZodObject<{
|
|
|
102
105
|
link_title: z.ZodString;
|
|
103
106
|
doctype: z.ZodString;
|
|
104
107
|
}, "strip", z.ZodTypeAny, {
|
|
105
|
-
name
|
|
106
|
-
link_doctype
|
|
107
|
-
link_name
|
|
108
|
-
owner
|
|
109
|
-
creation
|
|
110
|
-
modified
|
|
111
|
-
modified_by
|
|
112
|
-
parent
|
|
113
|
-
parentfield
|
|
114
|
-
parenttype
|
|
115
|
-
idx
|
|
116
|
-
docstatus
|
|
117
|
-
link_title
|
|
118
|
-
doctype
|
|
108
|
+
name: string;
|
|
109
|
+
link_doctype: string;
|
|
110
|
+
link_name: string;
|
|
111
|
+
owner: string;
|
|
112
|
+
creation: string;
|
|
113
|
+
modified: string;
|
|
114
|
+
modified_by: string;
|
|
115
|
+
parent: string;
|
|
116
|
+
parentfield: string;
|
|
117
|
+
parenttype: string;
|
|
118
|
+
idx: number;
|
|
119
|
+
docstatus: number;
|
|
120
|
+
link_title: string;
|
|
121
|
+
doctype: string;
|
|
119
122
|
}, {
|
|
120
|
-
name
|
|
121
|
-
link_doctype
|
|
122
|
-
link_name
|
|
123
|
-
owner
|
|
124
|
-
creation
|
|
125
|
-
modified
|
|
126
|
-
modified_by
|
|
127
|
-
parent
|
|
128
|
-
parentfield
|
|
129
|
-
parenttype
|
|
130
|
-
idx
|
|
131
|
-
docstatus
|
|
132
|
-
link_title
|
|
133
|
-
doctype
|
|
123
|
+
name: string;
|
|
124
|
+
link_doctype: string;
|
|
125
|
+
link_name: string;
|
|
126
|
+
owner: string;
|
|
127
|
+
creation: string;
|
|
128
|
+
modified: string;
|
|
129
|
+
modified_by: string;
|
|
130
|
+
parent: string;
|
|
131
|
+
parentfield: string;
|
|
132
|
+
parenttype: string;
|
|
133
|
+
idx: number;
|
|
134
|
+
docstatus: number;
|
|
135
|
+
link_title: string;
|
|
136
|
+
doctype: string;
|
|
134
137
|
}>, "many">;
|
|
135
138
|
}, "strip", z.ZodTypeAny, {
|
|
136
|
-
name
|
|
137
|
-
address_title
|
|
138
|
-
address_line1
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
country
|
|
143
|
-
email_id
|
|
144
|
-
is_shipping_address
|
|
145
|
-
links
|
|
146
|
-
name
|
|
147
|
-
link_doctype
|
|
148
|
-
link_name
|
|
149
|
-
owner
|
|
150
|
-
creation
|
|
151
|
-
modified
|
|
152
|
-
modified_by
|
|
153
|
-
parent
|
|
154
|
-
parentfield
|
|
155
|
-
parenttype
|
|
156
|
-
idx
|
|
157
|
-
docstatus
|
|
158
|
-
link_title
|
|
159
|
-
doctype
|
|
139
|
+
name: string;
|
|
140
|
+
address_title: string;
|
|
141
|
+
address_line1: string;
|
|
142
|
+
address_type: string;
|
|
143
|
+
city: string;
|
|
144
|
+
pincode: string;
|
|
145
|
+
country: string;
|
|
146
|
+
email_id: string;
|
|
147
|
+
is_shipping_address: boolean;
|
|
148
|
+
links: {
|
|
149
|
+
name: string;
|
|
150
|
+
link_doctype: string;
|
|
151
|
+
link_name: string;
|
|
152
|
+
owner: string;
|
|
153
|
+
creation: string;
|
|
154
|
+
modified: string;
|
|
155
|
+
modified_by: string;
|
|
156
|
+
parent: string;
|
|
157
|
+
parentfield: string;
|
|
158
|
+
parenttype: string;
|
|
159
|
+
idx: number;
|
|
160
|
+
docstatus: number;
|
|
161
|
+
link_title: string;
|
|
162
|
+
doctype: string;
|
|
160
163
|
}[];
|
|
161
|
-
owner
|
|
162
|
-
creation
|
|
163
|
-
modified
|
|
164
|
-
modified_by
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
164
|
+
owner: string;
|
|
165
|
+
creation: string;
|
|
166
|
+
modified: string;
|
|
167
|
+
modified_by: string;
|
|
168
|
+
idx: number;
|
|
169
|
+
docstatus: number;
|
|
170
|
+
doctype: string;
|
|
171
|
+
is_primary_address: boolean;
|
|
172
|
+
is_your_company_address: boolean;
|
|
173
|
+
disabled: boolean;
|
|
174
|
+
address_line2?: string | null | undefined;
|
|
175
|
+
parent?: string | null | undefined;
|
|
176
|
+
parentfield?: string | null | undefined;
|
|
177
|
+
parenttype?: string | null | undefined;
|
|
178
|
+
import_reference?: string | null | undefined;
|
|
179
|
+
state?: string | null | undefined;
|
|
180
|
+
phone?: string | null | undefined;
|
|
181
|
+
fax?: string | null | undefined;
|
|
182
|
+
tax_category?: string | null | undefined;
|
|
183
|
+
county?: string | null | undefined;
|
|
181
184
|
}, {
|
|
182
|
-
name
|
|
183
|
-
address_title
|
|
184
|
-
address_line1
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
doctype?: string;
|
|
185
|
+
name: string;
|
|
186
|
+
address_title: string;
|
|
187
|
+
address_line1: string;
|
|
188
|
+
address_type: string;
|
|
189
|
+
city: string;
|
|
190
|
+
country: string;
|
|
191
|
+
email_id: string;
|
|
192
|
+
is_shipping_address: number;
|
|
193
|
+
links: {
|
|
194
|
+
name: string;
|
|
195
|
+
link_doctype: string;
|
|
196
|
+
link_name: string;
|
|
197
|
+
owner: string;
|
|
198
|
+
creation: string;
|
|
199
|
+
modified: string;
|
|
200
|
+
modified_by: string;
|
|
201
|
+
parent: string;
|
|
202
|
+
parentfield: string;
|
|
203
|
+
parenttype: string;
|
|
204
|
+
idx: number;
|
|
205
|
+
docstatus: number;
|
|
206
|
+
link_title: string;
|
|
207
|
+
doctype: string;
|
|
206
208
|
}[];
|
|
207
|
-
owner
|
|
208
|
-
creation
|
|
209
|
-
modified
|
|
210
|
-
modified_by
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
209
|
+
owner: string;
|
|
210
|
+
creation: string;
|
|
211
|
+
modified: string;
|
|
212
|
+
modified_by: string;
|
|
213
|
+
idx: number;
|
|
214
|
+
docstatus: number;
|
|
215
|
+
doctype: string;
|
|
216
|
+
is_primary_address: number;
|
|
217
|
+
is_your_company_address: number;
|
|
218
|
+
disabled: number;
|
|
219
|
+
address_line2?: string | null | undefined;
|
|
218
220
|
pincode?: unknown;
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
221
|
+
parent?: string | null | undefined;
|
|
222
|
+
parentfield?: string | null | undefined;
|
|
223
|
+
parenttype?: string | null | undefined;
|
|
224
|
+
import_reference?: string | null | undefined;
|
|
225
|
+
state?: string | null | undefined;
|
|
226
|
+
phone?: string | null | undefined;
|
|
227
|
+
fax?: string | null | undefined;
|
|
228
|
+
tax_category?: string | null | undefined;
|
|
229
|
+
county?: string | null | undefined;
|
|
227
230
|
}>;
|
|
228
231
|
export declare const AddressListName: z.ZodArray<z.ZodObject<Pick<{
|
|
229
232
|
name: z.ZodString;
|
|
@@ -271,40 +274,40 @@ export declare const AddressListName: z.ZodArray<z.ZodObject<Pick<{
|
|
|
271
274
|
link_title: z.ZodString;
|
|
272
275
|
doctype: z.ZodString;
|
|
273
276
|
}, "strip", z.ZodTypeAny, {
|
|
274
|
-
name
|
|
275
|
-
link_doctype
|
|
276
|
-
link_name
|
|
277
|
-
owner
|
|
278
|
-
creation
|
|
279
|
-
modified
|
|
280
|
-
modified_by
|
|
281
|
-
parent
|
|
282
|
-
parentfield
|
|
283
|
-
parenttype
|
|
284
|
-
idx
|
|
285
|
-
docstatus
|
|
286
|
-
link_title
|
|
287
|
-
doctype
|
|
277
|
+
name: string;
|
|
278
|
+
link_doctype: string;
|
|
279
|
+
link_name: string;
|
|
280
|
+
owner: string;
|
|
281
|
+
creation: string;
|
|
282
|
+
modified: string;
|
|
283
|
+
modified_by: string;
|
|
284
|
+
parent: string;
|
|
285
|
+
parentfield: string;
|
|
286
|
+
parenttype: string;
|
|
287
|
+
idx: number;
|
|
288
|
+
docstatus: number;
|
|
289
|
+
link_title: string;
|
|
290
|
+
doctype: string;
|
|
288
291
|
}, {
|
|
289
|
-
name
|
|
290
|
-
link_doctype
|
|
291
|
-
link_name
|
|
292
|
-
owner
|
|
293
|
-
creation
|
|
294
|
-
modified
|
|
295
|
-
modified_by
|
|
296
|
-
parent
|
|
297
|
-
parentfield
|
|
298
|
-
parenttype
|
|
299
|
-
idx
|
|
300
|
-
docstatus
|
|
301
|
-
link_title
|
|
302
|
-
doctype
|
|
292
|
+
name: string;
|
|
293
|
+
link_doctype: string;
|
|
294
|
+
link_name: string;
|
|
295
|
+
owner: string;
|
|
296
|
+
creation: string;
|
|
297
|
+
modified: string;
|
|
298
|
+
modified_by: string;
|
|
299
|
+
parent: string;
|
|
300
|
+
parentfield: string;
|
|
301
|
+
parenttype: string;
|
|
302
|
+
idx: number;
|
|
303
|
+
docstatus: number;
|
|
304
|
+
link_title: string;
|
|
305
|
+
doctype: string;
|
|
303
306
|
}>, "many">;
|
|
304
307
|
}, "name">, "strip", z.ZodTypeAny, {
|
|
305
|
-
name
|
|
308
|
+
name: string;
|
|
306
309
|
}, {
|
|
307
|
-
name
|
|
310
|
+
name: string;
|
|
308
311
|
}>, "many">;
|
|
309
312
|
export type AddressType = z.infer<typeof Address>;
|
|
310
313
|
export type AddressListNameType = z.infer<typeof AddressListName>;
|
|
@@ -321,29 +324,28 @@ export declare const ShipstormAddress: z.ZodObject<{
|
|
|
321
324
|
email_id: z.ZodString;
|
|
322
325
|
is_shipping_address: z.ZodBoolean;
|
|
323
326
|
}, "strip", z.ZodTypeAny, {
|
|
324
|
-
address_title
|
|
325
|
-
address_line1
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
country
|
|
330
|
-
email_id
|
|
331
|
-
is_shipping_address
|
|
332
|
-
|
|
333
|
-
state?: string;
|
|
334
|
-
phone?: string;
|
|
327
|
+
address_title: string;
|
|
328
|
+
address_line1: string;
|
|
329
|
+
address_type: string;
|
|
330
|
+
city: string;
|
|
331
|
+
pincode: string;
|
|
332
|
+
country: string;
|
|
333
|
+
email_id: string;
|
|
334
|
+
is_shipping_address: boolean;
|
|
335
|
+
address_line2?: string | null | undefined;
|
|
336
|
+
state?: string | null | undefined;
|
|
337
|
+
phone?: string | null | undefined;
|
|
335
338
|
}, {
|
|
336
|
-
address_title
|
|
337
|
-
address_line1
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
339
|
+
address_title: string;
|
|
340
|
+
address_line1: string;
|
|
341
|
+
address_type: string;
|
|
342
|
+
city: string;
|
|
343
|
+
country: string;
|
|
344
|
+
email_id: string;
|
|
345
|
+
is_shipping_address: boolean;
|
|
346
|
+
address_line2?: string | null | undefined;
|
|
344
347
|
pincode?: unknown;
|
|
345
|
-
state?: string;
|
|
346
|
-
phone?: string;
|
|
348
|
+
state?: string | null | undefined;
|
|
349
|
+
phone?: string | null | undefined;
|
|
347
350
|
}>;
|
|
348
351
|
export type ShipstormAddressType = z.infer<typeof ShipstormAddress>;
|
|
349
|
-
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ShipstormAddress = exports.AddressListName = exports.Address = exports.DynamicLinkPostBody = void 0;
|
|
3
|
+
exports.ShipstormAddress = exports.AddressListName = exports.Address = exports.AddressPostBody = exports.DynamicLinkPostBody = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.DynamicLinkPostBody = zod_1.z
|
|
6
6
|
.object({
|
|
@@ -8,13 +8,14 @@ exports.DynamicLinkPostBody = zod_1.z
|
|
|
8
8
|
link_name: zod_1.z.string(),
|
|
9
9
|
})
|
|
10
10
|
.describe("Address DynamicLinkPostBody");
|
|
11
|
-
|
|
11
|
+
exports.AddressPostBody = zod_1.z
|
|
12
12
|
.object({
|
|
13
13
|
address_title: zod_1.z.string(),
|
|
14
14
|
address_line1: zod_1.z.string(),
|
|
15
15
|
address_line2: zod_1.z.string().optional().nullable(),
|
|
16
16
|
address_type: zod_1.z.string(),
|
|
17
17
|
city: zod_1.z.string(),
|
|
18
|
+
pincode: zod_1.z.string(),
|
|
18
19
|
country: zod_1.z.string(),
|
|
19
20
|
email_id: zod_1.z.string(),
|
|
20
21
|
is_shipping_address: zod_1.z.number(),
|