tonightpass 0.0.113 → 0.0.114

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > tonightpass@0.0.113 build /home/runner/work/tonightpass/tonightpass/packages/node
2
+ > tonightpass@0.0.114 build /home/runner/work/tonightpass/tonightpass/packages/node
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -12,10 +12,10 @@
12
12
  DTS Build start
13
13
  ESM dist/index.mjs 32.20 KB
14
14
  ESM dist/index.mjs.map 113.76 KB
15
- ESM ⚡️ Build success in 759ms
15
+ ESM ⚡️ Build success in 734ms
16
16
  CJS dist/index.js 36.62 KB
17
17
  CJS dist/index.js.map 114.02 KB
18
- CJS ⚡️ Build success in 760ms
19
- DTS ⚡️ Build success in 4258ms
18
+ CJS ⚡️ Build success in 735ms
19
+ DTS ⚡️ Build success in 4477ms
20
20
  DTS dist/index.d.ts 41.55 KB
21
21
  DTS dist/index.d.mts 41.55 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # tonightpass
2
2
 
3
+ ## 0.0.114
4
+
5
+ ### Patch Changes
6
+
7
+ - [`c67af31`](https://github.com/tonightpass/tonightpass/commit/c67af316e99afa56392704c802e5eb037d1b2e0e) Thanks [@AntoineKM](https://github.com/AntoineKM)! - Update OrganizationEventViewEndpoints to use null type for response
8
+
3
9
  ## 0.0.113
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -288,7 +288,7 @@ declare enum OrganizationEventStyleType {
288
288
  }
289
289
  type OrganizationEventStyleEndpoints = Endpoint<"GET", "/organizations/events/styles", OrganizationEventStyle[]> | Endpoint<"GET", "/organizations/events/styles/:styleSlug", OrganizationEventStyle> | Endpoint<"POST", "/organizations/events/styles", OrganizationEventStyle, CreateOrganizationEventStyleDto> | Endpoint<"PUT", "/organizations/events/styles/:styleSlug", OrganizationEventStyle, UpdateOrganizationEventStyleDto> | Endpoint<"DELETE", "/organizations/events/styles/:styleSlug", OrganizationEventStyle[], null>;
290
290
 
291
- type OrganizationEventViewEndpoints = Endpoint<"POST", "/organizations/:organizationSlug/events/:eventSlug/views", boolean, string> | Endpoint<"PUT", "/organizations/:organizationSlug/events/:eventSlug/views/:viewId", boolean>;
291
+ type OrganizationEventViewEndpoints = Endpoint<"POST", "/organizations/:organizationSlug/events/:eventSlug/views", string, null> | Endpoint<"PUT", "/organizations/:organizationSlug/events/:eventSlug/views/:viewId", boolean>;
292
292
 
293
293
  type OrganizationEventTicket = Base & {
294
294
  name: string;
@@ -866,7 +866,7 @@ declare const organizations: (client: Client) => {
866
866
  delete: (organizationSlug: string, eventSlug: string, ticketId: string) => Promise<OrganizationEventTicket[]>;
867
867
  };
868
868
  views: {
869
- record: (organizationSlug: string, eventSlug: string) => Promise<boolean>;
869
+ record: (organizationSlug: string, eventSlug: string) => Promise<string>;
870
870
  heartbeat: (organizationSlug: string, eventSlug: string, viewId: string) => Promise<boolean>;
871
871
  };
872
872
  };
@@ -999,7 +999,7 @@ declare class TonightPass {
999
999
  delete: (organizationSlug: string, eventSlug: string, ticketId: string) => Promise<OrganizationEventTicket[]>;
1000
1000
  };
1001
1001
  views: {
1002
- record: (organizationSlug: string, eventSlug: string) => Promise<boolean>;
1002
+ record: (organizationSlug: string, eventSlug: string) => Promise<string>;
1003
1003
  heartbeat: (organizationSlug: string, eventSlug: string, viewId: string) => Promise<boolean>;
1004
1004
  };
1005
1005
  };
package/dist/index.d.ts CHANGED
@@ -288,7 +288,7 @@ declare enum OrganizationEventStyleType {
288
288
  }
289
289
  type OrganizationEventStyleEndpoints = Endpoint<"GET", "/organizations/events/styles", OrganizationEventStyle[]> | Endpoint<"GET", "/organizations/events/styles/:styleSlug", OrganizationEventStyle> | Endpoint<"POST", "/organizations/events/styles", OrganizationEventStyle, CreateOrganizationEventStyleDto> | Endpoint<"PUT", "/organizations/events/styles/:styleSlug", OrganizationEventStyle, UpdateOrganizationEventStyleDto> | Endpoint<"DELETE", "/organizations/events/styles/:styleSlug", OrganizationEventStyle[], null>;
290
290
 
291
- type OrganizationEventViewEndpoints = Endpoint<"POST", "/organizations/:organizationSlug/events/:eventSlug/views", boolean, string> | Endpoint<"PUT", "/organizations/:organizationSlug/events/:eventSlug/views/:viewId", boolean>;
291
+ type OrganizationEventViewEndpoints = Endpoint<"POST", "/organizations/:organizationSlug/events/:eventSlug/views", string, null> | Endpoint<"PUT", "/organizations/:organizationSlug/events/:eventSlug/views/:viewId", boolean>;
292
292
 
293
293
  type OrganizationEventTicket = Base & {
294
294
  name: string;
@@ -866,7 +866,7 @@ declare const organizations: (client: Client) => {
866
866
  delete: (organizationSlug: string, eventSlug: string, ticketId: string) => Promise<OrganizationEventTicket[]>;
867
867
  };
868
868
  views: {
869
- record: (organizationSlug: string, eventSlug: string) => Promise<boolean>;
869
+ record: (organizationSlug: string, eventSlug: string) => Promise<string>;
870
870
  heartbeat: (organizationSlug: string, eventSlug: string, viewId: string) => Promise<boolean>;
871
871
  };
872
872
  };
@@ -999,7 +999,7 @@ declare class TonightPass {
999
999
  delete: (organizationSlug: string, eventSlug: string, ticketId: string) => Promise<OrganizationEventTicket[]>;
1000
1000
  };
1001
1001
  views: {
1002
- record: (organizationSlug: string, eventSlug: string) => Promise<boolean>;
1002
+ record: (organizationSlug: string, eventSlug: string) => Promise<string>;
1003
1003
  heartbeat: (organizationSlug: string, eventSlug: string, viewId: string) => Promise<boolean>;
1004
1004
  };
1005
1005
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tonightpass",
3
- "version": "0.0.113",
3
+ "version": "0.0.114",
4
4
  "description": "@tonightpass sdk and tools.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -4,8 +4,8 @@ export type OrganizationEventViewEndpoints =
4
4
  | Endpoint<
5
5
  "POST",
6
6
  "/organizations/:organizationSlug/events/:eventSlug/views",
7
- boolean,
8
- string
7
+ string,
8
+ null
9
9
  >
10
10
  | Endpoint<
11
11
  "PUT",