@ssyazilim/ss-shopping-schemas 0.1.77 → 0.1.78
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/index.cjs +12 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -269,7 +269,7 @@ var ADD_ADDRESS = (locale = "tr") => {
|
|
|
269
269
|
city: z52.z.string().min(2, { message: m.public_forms_validations_minLength(2) }).max(254, { message: m.public_forms_validations_maxLength(254) }).meta({ examples: ["Antalya"] }),
|
|
270
270
|
district: z52.z.string().min(2, { message: m.public_forms_validations_minLength(2) }).max(254, { message: m.public_forms_validations_maxLength(254) }).meta({ examples: ["Serik"] }),
|
|
271
271
|
zipCode: z52.z.string().min(2, { message: m.public_forms_validations_minLength(2) }).max(254, { message: m.public_forms_validations_maxLength(254) }).meta({ examples: ["07500"] }),
|
|
272
|
-
|
|
272
|
+
address: z52.z.string().min(2, { message: m.public_forms_validations_minLength(2) }).max(254, { message: m.public_forms_validations_maxLength(254) }).meta({ examples: ["Bo\u011Fazkent mahallesi \u0130stiklal caddesi D K\xFCmeevleri No:13"] })
|
|
273
273
|
});
|
|
274
274
|
};
|
|
275
275
|
|
|
@@ -2166,7 +2166,7 @@ registry.registerPath({
|
|
|
2166
2166
|
tags: ["Gsm"],
|
|
2167
2167
|
summary: "Send a sms for specific turkish number",
|
|
2168
2168
|
operationId: "sendSMS",
|
|
2169
|
-
security: [{
|
|
2169
|
+
security: [{ JWT: [] }],
|
|
2170
2170
|
request: { body: buildRequestBody(SendSmsSchema) },
|
|
2171
2171
|
responses
|
|
2172
2172
|
});
|
|
@@ -3114,12 +3114,21 @@ registry.registerPath({
|
|
|
3114
3114
|
},
|
|
3115
3115
|
responses
|
|
3116
3116
|
});
|
|
3117
|
+
registry.registerPath({
|
|
3118
|
+
method: "get",
|
|
3119
|
+
path: "/public/shipping/templates",
|
|
3120
|
+
tags: ["Shipping"],
|
|
3121
|
+
summary: "List shipment templates",
|
|
3122
|
+
operationId: "getShippingTemplates",
|
|
3123
|
+
responses
|
|
3124
|
+
});
|
|
3117
3125
|
registry.registerPath({
|
|
3118
3126
|
method: "post",
|
|
3119
3127
|
path: "/public/shipping/address",
|
|
3120
3128
|
tags: ["Shipping"],
|
|
3121
3129
|
summary: "Create a shipping address",
|
|
3122
3130
|
operationId: "addShippingAddress",
|
|
3131
|
+
security: [{ "X-API-KEY": [] }],
|
|
3123
3132
|
request: { body: buildRequestBody(AddShippingAddressSchema) },
|
|
3124
3133
|
responses
|
|
3125
3134
|
});
|
|
@@ -3176,7 +3185,7 @@ registry.registerPath({
|
|
|
3176
3185
|
});
|
|
3177
3186
|
registry.registerPath({
|
|
3178
3187
|
method: "get",
|
|
3179
|
-
path: "/
|
|
3188
|
+
path: "/public/shipping/addresses",
|
|
3180
3189
|
tags: ["Shipping"],
|
|
3181
3190
|
summary: "List shipping addresses",
|
|
3182
3191
|
operationId: "getShippingAddresses",
|
|
@@ -3315,15 +3324,6 @@ registry.registerPath({
|
|
|
3315
3324
|
request: { body: buildRequestBody(CreateShippingShipmentSchema) },
|
|
3316
3325
|
responses
|
|
3317
3326
|
});
|
|
3318
|
-
registry.registerPath({
|
|
3319
|
-
method: "get",
|
|
3320
|
-
path: "/admin/shipping/templates",
|
|
3321
|
-
tags: ["Shipping"],
|
|
3322
|
-
summary: "List shipment templates",
|
|
3323
|
-
operationId: "getShippingTemplates",
|
|
3324
|
-
security: [{ JWT: [] }],
|
|
3325
|
-
responses
|
|
3326
|
-
});
|
|
3327
3327
|
registry.registerPath({
|
|
3328
3328
|
method: "post",
|
|
3329
3329
|
path: "/admin/shipping/template",
|