@deliverart/sdk-js-point-of-sale 0.1.0 → 0.1.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/CHANGELOG.md +6 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/types.ts +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -71,8 +71,8 @@ var pointOfSaleCapabilities = ["DELIVERY_OPTIMIZATION"];
|
|
|
71
71
|
var pointOfSaleCapabilitySchema = import_zod.z.enum(pointOfSaleCapabilities);
|
|
72
72
|
var pointOfSaleUserRoles = ["ROLE_ADMIN", "ROLE_READER"];
|
|
73
73
|
var pointOfSaleUserRoleSchema = import_zod.z.enum(pointOfSaleUserRoles);
|
|
74
|
-
var pointOfSaleIriSchema = (0, import_sdk_js_global_types.iriSchema)("/
|
|
75
|
-
var pointOfSaleNullableIriSchema = (0, import_sdk_js_global_types.iriNullableSchema)("/
|
|
74
|
+
var pointOfSaleIriSchema = (0, import_sdk_js_global_types.iriSchema)("/point_of_sales/:id");
|
|
75
|
+
var pointOfSaleNullableIriSchema = (0, import_sdk_js_global_types.iriNullableSchema)("/point_of_sales/:id");
|
|
76
76
|
|
|
77
77
|
// src/models.ts
|
|
78
78
|
var timeSettingSchema = import_zod2.z.object({
|
package/dist/index.d.cts
CHANGED
|
@@ -4051,9 +4051,9 @@ type PointOfSaleCapability = z.infer<typeof pointOfSaleCapabilitySchema>;
|
|
|
4051
4051
|
declare const pointOfSaleUserRoles: readonly ["ROLE_ADMIN", "ROLE_READER"];
|
|
4052
4052
|
declare const pointOfSaleUserRoleSchema: z.ZodEnum<["ROLE_ADMIN", "ROLE_READER"]>;
|
|
4053
4053
|
type PointOfSaleUserRole = z.infer<typeof pointOfSaleUserRoleSchema>;
|
|
4054
|
-
declare const pointOfSaleIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/
|
|
4054
|
+
declare const pointOfSaleIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
4055
4055
|
type PointOfSaleIri = z.infer<typeof pointOfSaleIriSchema>;
|
|
4056
|
-
declare const pointOfSaleNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/
|
|
4056
|
+
declare const pointOfSaleNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id"> | null, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id"> | null>;
|
|
4057
4057
|
type PointOfSaleNullableIri = z.infer<typeof pointOfSaleNullableIriSchema>;
|
|
4058
4058
|
|
|
4059
4059
|
export { CreatePointOfSale, type CreatePointOfSaleInput, type CreatePointOfSaleResponse, DeletePointOfSale, type DeliveryTimeSetting, GetPointOfSaleDetails, type GetPointOfSaleDetailsInput, type GetPointOfSaleDetailsResponse, GetPointOfSales, type GetPointOfSalesInput, type GetPointOfSalesQueryParams, type GetPointOfSalesResponse, type PointOfSale, type PointOfSaleCapability, type PointOfSaleDetails, type PointOfSaleIri, type PointOfSaleNullableIri, type PointOfSaleOpeningStatus, type PointOfSaleUserRole, type PointOfSalesQueryParams, type TimeSetting, UpdatePointOfSale, type UpdatePointOfSaleInput, type UpdatePointOfSaleResponse, type UserPointOfSale, type WritableCreatePointOfSale, type WritablePointOfSale, createPointOfSaleInputSchema, createPointOfSaleResponseSchema, deletePointOfSaleInputSchema, deletePointOfSaleResponseSchema, deliveryTimeSettingSchema, getPointOfSaleDetailsInputSchema, getPointOfSaleDetailsResponseSchema, getPointOfSalesInputSchema, getPointOfSalesQuerySchema, getPointOfSalesResponseSchema, pointOfSaleAutoAcceptOrderValues, pointOfSaleCapabilities, pointOfSaleCapabilitySchema, pointOfSaleDetailsSchema, pointOfSaleIntervalValues, pointOfSaleIriSchema, pointOfSaleNullableIriSchema, pointOfSaleOpeningStatusSchema, pointOfSaleOpeningStatuses, pointOfSaleSchema, pointOfSaleUserRoleSchema, pointOfSaleUserRoles, pointOfSalesQuerySchema, timeSettingSchema, updatePointOfSaleInputSchema, updatePointOfSaleResponseSchema, userPointOfSaleSchema, writableCreatePointOfSaleSchema, writablePointOfSaleSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -4051,9 +4051,9 @@ type PointOfSaleCapability = z.infer<typeof pointOfSaleCapabilitySchema>;
|
|
|
4051
4051
|
declare const pointOfSaleUserRoles: readonly ["ROLE_ADMIN", "ROLE_READER"];
|
|
4052
4052
|
declare const pointOfSaleUserRoleSchema: z.ZodEnum<["ROLE_ADMIN", "ROLE_READER"]>;
|
|
4053
4053
|
type PointOfSaleUserRole = z.infer<typeof pointOfSaleUserRoleSchema>;
|
|
4054
|
-
declare const pointOfSaleIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/
|
|
4054
|
+
declare const pointOfSaleIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">>;
|
|
4055
4055
|
type PointOfSaleIri = z.infer<typeof pointOfSaleIriSchema>;
|
|
4056
|
-
declare const pointOfSaleNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/
|
|
4056
|
+
declare const pointOfSaleNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id"> | null, any, string | _deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id"> | null>;
|
|
4057
4057
|
type PointOfSaleNullableIri = z.infer<typeof pointOfSaleNullableIriSchema>;
|
|
4058
4058
|
|
|
4059
4059
|
export { CreatePointOfSale, type CreatePointOfSaleInput, type CreatePointOfSaleResponse, DeletePointOfSale, type DeliveryTimeSetting, GetPointOfSaleDetails, type GetPointOfSaleDetailsInput, type GetPointOfSaleDetailsResponse, GetPointOfSales, type GetPointOfSalesInput, type GetPointOfSalesQueryParams, type GetPointOfSalesResponse, type PointOfSale, type PointOfSaleCapability, type PointOfSaleDetails, type PointOfSaleIri, type PointOfSaleNullableIri, type PointOfSaleOpeningStatus, type PointOfSaleUserRole, type PointOfSalesQueryParams, type TimeSetting, UpdatePointOfSale, type UpdatePointOfSaleInput, type UpdatePointOfSaleResponse, type UserPointOfSale, type WritableCreatePointOfSale, type WritablePointOfSale, createPointOfSaleInputSchema, createPointOfSaleResponseSchema, deletePointOfSaleInputSchema, deletePointOfSaleResponseSchema, deliveryTimeSettingSchema, getPointOfSaleDetailsInputSchema, getPointOfSaleDetailsResponseSchema, getPointOfSalesInputSchema, getPointOfSalesQuerySchema, getPointOfSalesResponseSchema, pointOfSaleAutoAcceptOrderValues, pointOfSaleCapabilities, pointOfSaleCapabilitySchema, pointOfSaleDetailsSchema, pointOfSaleIntervalValues, pointOfSaleIriSchema, pointOfSaleNullableIriSchema, pointOfSaleOpeningStatusSchema, pointOfSaleOpeningStatuses, pointOfSaleSchema, pointOfSaleUserRoleSchema, pointOfSaleUserRoles, pointOfSalesQuerySchema, timeSettingSchema, updatePointOfSaleInputSchema, updatePointOfSaleResponseSchema, userPointOfSaleSchema, writableCreatePointOfSaleSchema, writablePointOfSaleSchema };
|
package/dist/index.js
CHANGED
|
@@ -17,8 +17,8 @@ var pointOfSaleCapabilities = ["DELIVERY_OPTIMIZATION"];
|
|
|
17
17
|
var pointOfSaleCapabilitySchema = z.enum(pointOfSaleCapabilities);
|
|
18
18
|
var pointOfSaleUserRoles = ["ROLE_ADMIN", "ROLE_READER"];
|
|
19
19
|
var pointOfSaleUserRoleSchema = z.enum(pointOfSaleUserRoles);
|
|
20
|
-
var pointOfSaleIriSchema = iriSchema("/
|
|
21
|
-
var pointOfSaleNullableIriSchema = iriNullableSchema("/
|
|
20
|
+
var pointOfSaleIriSchema = iriSchema("/point_of_sales/:id");
|
|
21
|
+
var pointOfSaleNullableIriSchema = iriNullableSchema("/point_of_sales/:id");
|
|
22
22
|
|
|
23
23
|
// src/models.ts
|
|
24
24
|
var timeSettingSchema = z2.object({
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -13,8 +13,8 @@ export const pointOfSaleUserRoles = ['ROLE_ADMIN', 'ROLE_READER'] as const
|
|
|
13
13
|
export const pointOfSaleUserRoleSchema = z.enum(pointOfSaleUserRoles)
|
|
14
14
|
export type PointOfSaleUserRole = z.infer<typeof pointOfSaleUserRoleSchema>
|
|
15
15
|
|
|
16
|
-
export const pointOfSaleIriSchema = iriSchema('/
|
|
16
|
+
export const pointOfSaleIriSchema = iriSchema('/point_of_sales/:id')
|
|
17
17
|
export type PointOfSaleIri = z.infer<typeof pointOfSaleIriSchema>
|
|
18
18
|
|
|
19
|
-
export const pointOfSaleNullableIriSchema = iriNullableSchema('/
|
|
19
|
+
export const pointOfSaleNullableIriSchema = iriNullableSchema('/point_of_sales/:id')
|
|
20
20
|
export type PointOfSaleNullableIri = z.infer<typeof pointOfSaleNullableIriSchema>
|