@vindentech/api-client 2.0.0-next.21 → 2.0.0-next.22
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.
|
@@ -28,7 +28,7 @@ export type servicePointsControllerListV1ResponseError = (servicePointsControlle
|
|
|
28
28
|
export type servicePointsControllerListV1Response = (servicePointsControllerListV1ResponseSuccess | servicePointsControllerListV1ResponseError);
|
|
29
29
|
export declare const getServicePointsControllerListV1Url: (params: ServicePointsControllerListV1Params) => string;
|
|
30
30
|
/**
|
|
31
|
-
* An empty array means no service points near that postcode, including a postcode the provider does not know. A country the provider does not serve answers 400 `service_point_country_unsupported`. Provider problems answer 503 — they are never reported as an empty result. 🎫 Guest-capable — accepts a verified anonymous-session token (X-Session-Token) or an authenticated session.
|
|
31
|
+
* An empty array means no service points near that postcode, including a postcode the provider does not know. A country the provider does not serve answers 400 `service_point_country_unsupported`, and a postcode that is not shaped like one of that country's postcodes answers 400 `service_point_postcode_invalid`. Provider problems answer 503 — they are never reported as an empty result. 🎫 Guest-capable — accepts a verified anonymous-session token (X-Session-Token) or an authenticated session.
|
|
32
32
|
* @summary List service points (parcel lockers / pickup points) near a zip code
|
|
33
33
|
*/
|
|
34
34
|
export declare const servicePointsControllerListV1: (params: ServicePointsControllerListV1Params, options?: Parameters<typeof customFetch>[1]) => Promise<servicePointsControllerListV1Response>;
|
|
@@ -10,7 +10,7 @@ export const getServicePointsControllerListV1Url = (params) => {
|
|
|
10
10
|
return stringifiedParams.length > 0 ? `/v1/service-points?${stringifiedParams}` : `/v1/service-points`;
|
|
11
11
|
};
|
|
12
12
|
/**
|
|
13
|
-
* An empty array means no service points near that postcode, including a postcode the provider does not know. A country the provider does not serve answers 400 `service_point_country_unsupported`. Provider problems answer 503 — they are never reported as an empty result. 🎫 Guest-capable — accepts a verified anonymous-session token (X-Session-Token) or an authenticated session.
|
|
13
|
+
* An empty array means no service points near that postcode, including a postcode the provider does not know. A country the provider does not serve answers 400 `service_point_country_unsupported`, and a postcode that is not shaped like one of that country's postcodes answers 400 `service_point_postcode_invalid`. Provider problems answer 503 — they are never reported as an empty result. 🎫 Guest-capable — accepts a verified anonymous-session token (X-Session-Token) or an authenticated session.
|
|
14
14
|
* @summary List service points (parcel lockers / pickup points) near a zip code
|
|
15
15
|
*/
|
|
16
16
|
export const servicePointsControllerListV1 = async (params, options) => {
|