@notidotbot/noti-api-client 1.9.118 → 1.9.120

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.
Files changed (57) hide show
  1. package/dist/classes/@me.d.ts +7 -5
  2. package/dist/classes/@me.js +2 -2
  3. package/dist/classes/admin.d.ts +2 -2
  4. package/dist/classes/admin.js +1 -1
  5. package/dist/classes/client.d.ts +2 -2
  6. package/dist/classes/guildClipForward.d.ts +18 -18
  7. package/dist/classes/guildPlatform.d.ts +3 -2
  8. package/dist/classes/guildPlatformAction.d.ts +2 -2
  9. package/dist/classes/guildRolePanel.d.ts +14 -14
  10. package/dist/classes/guildStarboard.d.ts +1 -1
  11. package/dist/index.d.ts +1 -1
  12. package/dist/modules/stripe.js +1 -0
  13. package/dist/other/bitfields.d.ts +5 -2
  14. package/dist/other/bitfields.js +2 -0
  15. package/dist/other/enums.d.ts +6 -0
  16. package/dist/other/enums.js +3 -0
  17. package/dist/other/features.d.ts +1 -1
  18. package/dist/other/features.js +1 -0
  19. package/dist/other/inGameAlerts.d.ts +1 -0
  20. package/dist/other/inGameAlerts.js +1 -0
  21. package/dist/other/multiDestination.d.ts +1 -0
  22. package/dist/other/multiDestination.js +1 -0
  23. package/dist/other/prisma.d.ts +4 -0
  24. package/dist/other/templates.d.ts +43 -0
  25. package/dist/other/templates.js +33 -0
  26. package/dist/other/types.d.ts +2 -0
  27. package/dist/other/zod/client.zod.d.ts +2 -0
  28. package/dist/other/zod/clipForward.zod.d.ts +3 -0
  29. package/dist/other/zod/clubStreamer.zod.d.ts +2 -0
  30. package/dist/other/zod/drops.zod.d.ts +1 -0
  31. package/dist/other/zod/gameConfig.zod.d.ts +9 -9
  32. package/dist/other/zod/guild.zod.d.ts +8 -10
  33. package/dist/other/zod/guild.zod.js +1 -2
  34. package/dist/other/zod/instagramStreamer.zod.d.ts +152 -0
  35. package/dist/other/zod/instagramStreamer.zod.js +44 -0
  36. package/dist/other/zod/kickStreamer.zod.d.ts +11 -0
  37. package/dist/other/zod/kickStreamer.zod.js +2 -0
  38. package/dist/other/zod/rolePanels.zod.d.ts +2 -2
  39. package/dist/other/zod/rssFeed.zod.d.ts +2 -0
  40. package/dist/other/zod/rumbleStreamer.zod.d.ts +3 -1
  41. package/dist/other/zod/scheduledMessage.zod.d.ts +4 -4
  42. package/dist/other/zod/schema.zod.d.ts +9 -6
  43. package/dist/other/zod/schema.zod.js +3 -0
  44. package/dist/other/zod/tiktokStreamer.zod.d.ts +2 -0
  45. package/dist/other/zod/twitchStreamer.zod.d.ts +2 -0
  46. package/dist/other/zod/twitterStreamer.zod.d.ts +2 -0
  47. package/dist/other/zod/user.zod.d.ts +3 -3
  48. package/dist/other/zod/whatnotStreamer.zod.d.ts +2 -0
  49. package/dist/other/zod/youtubeStreamer.zod.d.ts +2 -0
  50. package/dist/other/zod/zod.d.ts +2 -0
  51. package/dist/tsconfig.tsbuildinfo +1 -1
  52. package/package.json +1 -1
  53. package/prisma/generated/ts-prisma.d.ts +2956 -0
  54. package/prisma/schema/models/guild.prisma +2 -4
  55. package/prisma/schema/models/instagramStreamer.prisma +123 -0
  56. package/prisma/schema/models/kickStreamer.prisma +2 -0
  57. package/prisma/schema/schema.prisma +3 -0
@@ -19,15 +19,15 @@ export declare const ScheduledMessageZod: {
19
19
  sendToInGame: z.ZodBoolean;
20
20
  minecraftContent: z.ZodNullable<z.ZodString>;
21
21
  trigger: z.ZodEnum<{
22
- stage: "stage";
23
22
  time: "time";
23
+ stage: "stage";
24
24
  guildEvent: "guildEvent";
25
25
  }>;
26
26
  recurrence: z.ZodEnum<{
27
- days: "days";
28
27
  weekly: "weekly";
29
28
  once: "once";
30
29
  daily: "daily";
30
+ days: "days";
31
31
  interval: "interval";
32
32
  }>;
33
33
  daysOfWeek: z.ZodArray<z.ZodNumber>;
@@ -105,15 +105,15 @@ export declare const ScheduledMessageZod: {
105
105
  emojiUnicodeOrId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
106
106
  }, z.core.$strip>>>;
107
107
  trigger: z.ZodDefault<z.ZodEnum<{
108
- stage: "stage";
109
108
  time: "time";
109
+ stage: "stage";
110
110
  guildEvent: "guildEvent";
111
111
  }>>;
112
112
  recurrence: z.ZodDefault<z.ZodEnum<{
113
- days: "days";
114
113
  weekly: "weekly";
115
114
  once: "once";
116
115
  daily: "daily";
116
+ days: "days";
117
117
  interval: "interval";
118
118
  }>>;
119
119
  daysOfWeek: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
@@ -43,6 +43,7 @@ export declare const StreamerMessageTypeEnum: z.ZodEnum<{
43
43
  twitterLive: "twitterLive";
44
44
  twitterOffline: "twitterOffline";
45
45
  rssPost: "rssPost";
46
+ instagramPost: "instagramPost";
46
47
  }>;
47
48
  export declare const GuildMessageTypeEnum: z.ZodEnum<{
48
49
  birthday: "birthday";
@@ -79,6 +80,7 @@ export declare const GuildMessageTypeEnum: z.ZodEnum<{
79
80
  twitterLive: "twitterLive";
80
81
  twitterOffline: "twitterOffline";
81
82
  rssPost: "rssPost";
83
+ instagramPost: "instagramPost";
82
84
  }>;
83
85
  export declare const GuildSingleMessageTypeEnum: z.ZodEnum<{
84
86
  autoLiveRoleAdded: "autoLiveRoleAdded";
@@ -110,6 +112,7 @@ export declare const PlatformEnum: z.ZodEnum<{
110
112
  club: "club";
111
113
  twitter: "twitter";
112
114
  rss: "rss";
115
+ instagram: "instagram";
113
116
  }>;
114
117
  export declare const ClipForwardPlatformEnum: z.ZodEnum<{
115
118
  kick: "kick";
@@ -123,8 +126,8 @@ export declare const ClipperCategoryEnum: z.ZodEnum<{
123
126
  }>;
124
127
  export declare const UserMediaSharePermissionsEnum: z.ZodEnum<{
125
128
  sub: "sub";
126
- vip: "vip";
127
129
  everyone: "everyone";
130
+ vip: "vip";
128
131
  mod: "mod";
129
132
  broadcaster: "broadcaster";
130
133
  }>;
@@ -134,8 +137,8 @@ export declare const PlatformsWithVideosEnum: z.ZodEnum<{
134
137
  youtube: "youtube";
135
138
  }>;
136
139
  export declare const RumbleTypeEnum: z.ZodEnum<{
137
- user: "user";
138
140
  channel: "channel";
141
+ user: "user";
139
142
  }>;
140
143
  export declare const QueryInEnum: z.ZodEnum<{
141
144
  title: "title";
@@ -182,8 +185,8 @@ export declare const UserNotificationSeverityEnum: z.ZodEnum<{
182
185
  emergency: "emergency";
183
186
  }>;
184
187
  export declare const GameStoreEnum: z.ZodEnum<{
185
- epic: "epic";
186
188
  steam: "steam";
189
+ epic: "epic";
187
190
  gog: "gog";
188
191
  prime: "prime";
189
192
  }>;
@@ -206,9 +209,9 @@ export declare const GameDeliveryEnum: z.ZodEnum<{
206
209
  instant: "instant";
207
210
  }>;
208
211
  export declare const NotificationDeliveryEnum: z.ZodEnum<{
209
- scheduled: "scheduled";
210
212
  instant: "instant";
211
213
  window: "window";
214
+ scheduled: "scheduled";
212
215
  }>;
213
216
  export declare const GameRobloxKindEnum: z.ZodEnum<{
214
217
  updates: "updates";
@@ -216,14 +219,14 @@ export declare const GameRobloxKindEnum: z.ZodEnum<{
216
219
  both: "both";
217
220
  }>;
218
221
  export declare const ScheduledMessageRecurrenceEnum: z.ZodEnum<{
219
- days: "days";
220
222
  weekly: "weekly";
221
223
  once: "once";
222
224
  daily: "daily";
225
+ days: "days";
223
226
  interval: "interval";
224
227
  }>;
225
228
  export declare const ScheduledMessageTriggerEnum: z.ZodEnum<{
226
- stage: "stage";
227
229
  time: "time";
230
+ stage: "stage";
228
231
  guildEvent: "guildEvent";
229
232
  }>;
@@ -95,6 +95,7 @@ exports.StreamerMessageTypeEnum = zod_1.z.enum([
95
95
  'twitterLive',
96
96
  'twitterOffline',
97
97
  'rssPost',
98
+ 'instagramPost',
98
99
  ]);
99
100
  exports.GuildMessageTypeEnum = zod_1.z.enum([
100
101
  'giveawayRerolled',
@@ -131,6 +132,7 @@ exports.GuildMessageTypeEnum = zod_1.z.enum([
131
132
  'twitterLive',
132
133
  'twitterOffline',
133
134
  'rssPost',
135
+ 'instagramPost',
134
136
  ]);
135
137
  exports.GuildSingleMessageTypeEnum = zod_1.z.enum([
136
138
  'autoLiveRoleAdded',
@@ -163,6 +165,7 @@ exports.PlatformEnum = zod_1.z.enum([
163
165
  'club',
164
166
  'twitter',
165
167
  'rss',
168
+ 'instagram',
166
169
  ]);
167
170
  // Clip forwarding is only offered for Kick and Twitch — keep the enum (and the dashboard's platform
168
171
  // list) restricted to those, not the full PlatformEnum.
@@ -84,6 +84,7 @@ export declare const TiktokStreamerZod: {
84
84
  twitterLive: "twitterLive";
85
85
  twitterOffline: "twitterOffline";
86
86
  rssPost: "rssPost";
87
+ instagramPost: "instagramPost";
87
88
  }>;
88
89
  }, z.core.$strip>>>;
89
90
  liveNotificationChannelId: z.ZodNullable<z.ZodString>;
@@ -166,6 +167,7 @@ export declare const TiktokStreamerZod: {
166
167
  twitterLive: "twitterLive";
167
168
  twitterOffline: "twitterOffline";
168
169
  rssPost: "rssPost";
170
+ instagramPost: "instagramPost";
169
171
  }>;
170
172
  }, z.core.$strip>;
171
173
  readonly TTSStatsChannelIdSchema: z.ZodObject<{
@@ -85,6 +85,7 @@ export declare const TwitchStreamerZod: {
85
85
  twitterLive: "twitterLive";
86
86
  twitterOffline: "twitterOffline";
87
87
  rssPost: "rssPost";
88
+ instagramPost: "instagramPost";
88
89
  }>;
89
90
  }, z.core.$strip>>>;
90
91
  notificationChannelId: z.ZodNullable<z.ZodString>;
@@ -167,6 +168,7 @@ export declare const TwitchStreamerZod: {
167
168
  twitterLive: "twitterLive";
168
169
  twitterOffline: "twitterOffline";
169
170
  rssPost: "rssPost";
171
+ instagramPost: "instagramPost";
170
172
  }>;
171
173
  }, z.core.$strip>;
172
174
  readonly TSStatsChannelIdSchema: z.ZodObject<{
@@ -83,6 +83,7 @@ export declare const TwitterStreamerZod: {
83
83
  twitterLive: "twitterLive";
84
84
  twitterOffline: "twitterOffline";
85
85
  rssPost: "rssPost";
86
+ instagramPost: "instagramPost";
86
87
  }>;
87
88
  }, z.core.$strip>>>;
88
89
  postNotificationChannelId: z.ZodNullable<z.ZodString>;
@@ -171,6 +172,7 @@ export declare const TwitterStreamerZod: {
171
172
  twitterLive: "twitterLive";
172
173
  twitterOffline: "twitterOffline";
173
174
  rssPost: "rssPost";
175
+ instagramPost: "instagramPost";
174
176
  }>;
175
177
  }, z.core.$strip>;
176
178
  readonly TWSStatsChannelIdSchema: z.ZodObject<{
@@ -50,8 +50,8 @@ export declare const UserZod: {
50
50
  }>;
51
51
  onKick: z.ZodArray<z.ZodEnum<{
52
52
  sub: "sub";
53
- vip: "vip";
54
53
  everyone: "everyone";
54
+ vip: "vip";
55
55
  mod: "mod";
56
56
  broadcaster: "broadcaster";
57
57
  }>>;
@@ -156,8 +156,8 @@ export declare const UserZod: {
156
156
  }>;
157
157
  onKick: z.ZodArray<z.ZodEnum<{
158
158
  sub: "sub";
159
- vip: "vip";
160
159
  everyone: "everyone";
160
+ vip: "vip";
161
161
  mod: "mod";
162
162
  broadcaster: "broadcaster";
163
163
  }>>;
@@ -185,8 +185,8 @@ export declare const UserZod: {
185
185
  }>;
186
186
  onKick: z.ZodArray<z.ZodEnum<{
187
187
  sub: "sub";
188
- vip: "vip";
189
188
  everyone: "everyone";
189
+ vip: "vip";
190
190
  mod: "mod";
191
191
  broadcaster: "broadcaster";
192
192
  }>>;
@@ -69,6 +69,7 @@ export declare const WhatnotStreamerZod: {
69
69
  twitterLive: "twitterLive";
70
70
  twitterOffline: "twitterOffline";
71
71
  rssPost: "rssPost";
72
+ instagramPost: "instagramPost";
72
73
  }>;
73
74
  }, z.core.$strip>>>;
74
75
  notificationChannelId: z.ZodNullable<z.ZodString>;
@@ -142,6 +143,7 @@ export declare const WhatnotStreamerZod: {
142
143
  twitterLive: "twitterLive";
143
144
  twitterOffline: "twitterOffline";
144
145
  rssPost: "rssPost";
146
+ instagramPost: "instagramPost";
145
147
  }>;
146
148
  }, z.core.$strip>;
147
149
  readonly WSStatsChannelIdSchema: z.ZodObject<{
@@ -86,6 +86,7 @@ export declare const YoutubeStreamerZod: {
86
86
  twitterLive: "twitterLive";
87
87
  twitterOffline: "twitterOffline";
88
88
  rssPost: "rssPost";
89
+ instagramPost: "instagramPost";
89
90
  }>;
90
91
  }, z.core.$strip>>>;
91
92
  liveNotificationChannelId: z.ZodNullable<z.ZodString>;
@@ -172,6 +173,7 @@ export declare const YoutubeStreamerZod: {
172
173
  twitterLive: "twitterLive";
173
174
  twitterOffline: "twitterOffline";
174
175
  rssPost: "rssPost";
176
+ instagramPost: "instagramPost";
175
177
  }>;
176
178
  }, z.core.$strip>;
177
179
  readonly YTSStatsChannelIdSchema: z.ZodObject<{
@@ -4,6 +4,7 @@ import { TiktokStreamerRelations } from './tiktokStreamer.zod';
4
4
  import { RumbleStreamerRelations } from './rumbleStreamer.zod';
5
5
  import { ClubStreamerRelations } from './clubStreamer.zod';
6
6
  import { RssFeedRelations } from './rssFeed.zod';
7
+ import { InstagramStreamerRelations } from './instagramStreamer.zod';
7
8
  import { KickStreamerRelations } from './kickStreamer.zod';
8
9
  import { GuildStarboardRelations } from './starboard.zod';
9
10
  import { R2StorageRelations } from './r2Storage.zod';
@@ -24,6 +25,7 @@ export type ZodRelations = {
24
25
  rumbleStreamer: RumbleStreamerRelations;
25
26
  clubStreamer: ClubStreamerRelations;
26
27
  rssFeed: RssFeedRelations;
28
+ instagramStreamer: InstagramStreamerRelations;
27
29
  tiktokStreamer: TiktokStreamerRelations;
28
30
  twitchStreamer: TwitchStreamerRelations;
29
31
  youtubeStreamer: YoutubeStreamerRelations;