tonightpass 0.0.109 → 0.0.111
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/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +12 -0
- package/dist/index.d.mts +11 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/rest/types/locations/index.ts +8 -0
- package/src/rest/types/organizations/events/index.ts +6 -0
- package/src/sdk/organizations/events/index.ts +9 -0
package/package.json
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a GeoJSON point with specific geographic coordinates.
|
|
3
|
+
*
|
|
4
|
+
* @see https://geojson.org/geojson-spec.html#point
|
|
5
|
+
*
|
|
6
|
+
* @property {"Point"} type - The type of the geometry, which is always "Point" for a GeoJSON point.
|
|
7
|
+
* @property {[number, number]} coordinates - The coordinates of the point, represented as [longitude, latitude].
|
|
8
|
+
*/
|
|
1
9
|
export type GeoPoint = {
|
|
2
10
|
type: "Point";
|
|
3
11
|
coordinates: [number, number];
|
|
@@ -104,6 +104,12 @@ export type OrganizationEventEndpoints =
|
|
|
104
104
|
OrganizationEvent,
|
|
105
105
|
CreateOrganizationEventDto
|
|
106
106
|
>
|
|
107
|
+
| Endpoint<
|
|
108
|
+
"POST",
|
|
109
|
+
"/organizations/:organizationSlug/events/:eventSlug/views",
|
|
110
|
+
boolean,
|
|
111
|
+
null
|
|
112
|
+
>
|
|
107
113
|
| Endpoint<
|
|
108
114
|
"PUT",
|
|
109
115
|
"/organizations/:organizationSlug/events/:eventSlug",
|
|
@@ -55,6 +55,15 @@ export const organizationsEvents = (client: Client) => ({
|
|
|
55
55
|
organizationSlug,
|
|
56
56
|
eventSlug,
|
|
57
57
|
}),
|
|
58
|
+
recordView: async (organizationSlug: string, eventSlug: string) =>
|
|
59
|
+
client.post(
|
|
60
|
+
"/organizations/:organizationSlug/events/:eventSlug/views",
|
|
61
|
+
null,
|
|
62
|
+
{
|
|
63
|
+
organizationSlug,
|
|
64
|
+
eventSlug,
|
|
65
|
+
},
|
|
66
|
+
),
|
|
58
67
|
orders: organizationsEventsOrders(client),
|
|
59
68
|
styles: organizationsEventsStyles(client),
|
|
60
69
|
tickets: organizationsEventsTickets(client),
|