tonightpass 0.0.200 → 0.0.201

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.d.mts CHANGED
@@ -23,6 +23,19 @@ declare const REGEX: {
23
23
  IMAGE_URL: RegExp;
24
24
  };
25
25
 
26
+ type CreateApiKeyDto = {
27
+ name: string;
28
+ };
29
+
30
+ type UpdateApiKeyDto = {
31
+ name?: string;
32
+ isActive?: boolean;
33
+ };
34
+
35
+ declare class AddParticipantDto {
36
+ username: string;
37
+ }
38
+
26
39
  type Endpoint<M extends Options["method"], Path extends string, Res, Body = undefined> = {
27
40
  method: M;
28
41
  path: Path;
@@ -951,21 +964,6 @@ type ArrayResult<T> = {
951
964
  limit: number;
952
965
  };
953
966
 
954
- type CreateApiKeyDto = {
955
- name: string;
956
- tier: ApiKeyTier;
957
- };
958
-
959
- type UpdateApiKeyDto = {
960
- name?: string;
961
- tier?: ApiKeyTier;
962
- isActive?: boolean;
963
- };
964
-
965
- declare class AddParticipantDto {
966
- username: string;
967
- }
968
-
969
967
  declare class CreateChannelDto {
970
968
  type: ChannelType;
971
969
  participantUsernames: string[];
package/dist/index.d.ts CHANGED
@@ -23,6 +23,19 @@ declare const REGEX: {
23
23
  IMAGE_URL: RegExp;
24
24
  };
25
25
 
26
+ type CreateApiKeyDto = {
27
+ name: string;
28
+ };
29
+
30
+ type UpdateApiKeyDto = {
31
+ name?: string;
32
+ isActive?: boolean;
33
+ };
34
+
35
+ declare class AddParticipantDto {
36
+ username: string;
37
+ }
38
+
26
39
  type Endpoint<M extends Options["method"], Path extends string, Res, Body = undefined> = {
27
40
  method: M;
28
41
  path: Path;
@@ -951,21 +964,6 @@ type ArrayResult<T> = {
951
964
  limit: number;
952
965
  };
953
966
 
954
- type CreateApiKeyDto = {
955
- name: string;
956
- tier: ApiKeyTier;
957
- };
958
-
959
- type UpdateApiKeyDto = {
960
- name?: string;
961
- tier?: ApiKeyTier;
962
- isActive?: boolean;
963
- };
964
-
965
- declare class AddParticipantDto {
966
- username: string;
967
- }
968
-
969
967
  declare class CreateChannelDto {
970
968
  type: ChannelType;
971
969
  participantUsernames: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tonightpass",
3
- "version": "0.0.200",
3
+ "version": "0.0.201",
4
4
  "description": "@tonightpass sdk and tools.",
5
5
  "repository": {
6
6
  "type": "git",