11import eventsAPI from "../eventsAPI/post/eventsAPI.js" ;
22import authMiddleware from "./middleware/defaultAuth.js" ;
33import { eventAPIAuth } from "./middleware/eventAPIAuth.js" ;
4- import { customerChannel , customerChannels } from "./routes/get/customerChannels.js" ;
5- import { customerEmoji , customerEmojis } from "./routes/get/customerEmojis.js" ;
6- import { customerGuild , customerGuilds } from "./routes/get/customerGuilds.js" ;
7- import {
8- customerAvatar ,
9- customerBanner ,
10- customername ,
11- customerProfile ,
12- customerStatus
13- } from "./routes/get/customerProfile.js" ;
144import disbotstatsRoute from "./routes/get/disbotstats.js" ;
155import reactionrolesRoute from "./routes/get/reactionroles.js" ;
166import ticketbuttonsRoute from "./routes/get/ticketbuttons.js" ;
@@ -54,36 +44,36 @@ export async function api(client: ExtendedClient) {
5444 APIServer . get ( "/v2/bot/discovery" , discoveryApi ) ;
5545
5646 // Customer Routes
57- APIServer . get (
58- "/v2/customer/:customer/guilds" ,
59- authMiddleware ,
60- customerGuilds
61- ) ;
62- APIServer . get (
63- "/v2/customer/:customer/guild/:id" ,
64- authMiddleware ,
65- customerGuild
66- ) ;
67- APIServer . get (
68- "/v2/customer/:customer/guild/:id/channels" ,
69- authMiddleware ,
70- customerChannels
71- ) ;
72- APIServer . get (
73- "/v2/customer/:customer/guild/:id/channel/:channel" ,
74- authMiddleware ,
75- customerChannel
76- ) ;
77- APIServer . get (
78- "/v2/customer/:customer/guild/:id/emojis" ,
79- authMiddleware ,
80- customerEmojis
81- ) ;
82- APIServer . get (
83- "/v2/customer/:customer/guild/:id/emoji/:emoji" ,
84- authMiddleware ,
85- customerEmoji
86- ) ;
47+ // APIServer.get(
48+ // "/v2/customer/:customer/guilds",
49+ // authMiddleware,
50+ // customerGuilds
51+ // );
52+ // APIServer.get(
53+ // "/v2/customer/:customer/guild/:id",
54+ // authMiddleware,
55+ // customerGuild
56+ // );
57+ // APIServer.get(
58+ // "/v2/customer/:customer/guild/:id/channels",
59+ // authMiddleware,
60+ // customerChannels
61+ // );
62+ // APIServer.get(
63+ // "/v2/customer/:customer/guild/:id/channel/:channel",
64+ // authMiddleware,
65+ // customerChannel
66+ // );
67+ // APIServer.get(
68+ // "/v2/customer/:customer/guild/:id/emojis",
69+ // authMiddleware,
70+ // customerEmojis
71+ // );
72+ // APIServer.get(
73+ // "/v2/customer/:customer/guild/:id/emoji/:emoji",
74+ // authMiddleware,
75+ // customerEmoji
76+ // );
8777 // APIServer.get(
8878 // "/v2/customer/:customer/guild/:id/roles",
8979 // authMiddleware,
@@ -94,31 +84,31 @@ export async function api(client: ExtendedClient) {
9484 // authMiddleware,
9585 // autorolesRoute
9686 // );
97- APIServer . get ( "/v2/customer/:customer" , authMiddleware , customerProfile ) ;
98- APIServer . post (
99- "/v2/customer/:customer/avatar" ,
100- authMiddleware ,
101- bodyParser . json ( ) ,
102- customerAvatar
103- ) ;
104- APIServer . post (
105- "/v2/customer/:customer/banner" ,
106- authMiddleware ,
107- bodyParser . json ( ) ,
108- customerBanner
109- ) ;
110- APIServer . post (
111- "/v2/customer/:customer/name" ,
112- authMiddleware ,
113- bodyParser . json ( ) ,
114- customername
115- ) ;
116- APIServer . post (
117- "/v2/customer/:customer/status" ,
118- authMiddleware ,
119- bodyParser . json ( ) ,
120- customerStatus
121- ) ;
87+ // APIServer.get("/v2/customer/:customer", authMiddleware, customerProfile);
88+ // APIServer.post(
89+ // "/v2/customer/:customer/avatar",
90+ // authMiddleware,
91+ // bodyParser.json(),
92+ // customerAvatar
93+ // );
94+ // APIServer.post(
95+ // "/v2/customer/:customer/banner",
96+ // authMiddleware,
97+ // bodyParser.json(),
98+ // customerBanner
99+ // );
100+ // APIServer.post(
101+ // "/v2/customer/:customer/name",
102+ // authMiddleware,
103+ // bodyParser.json(),
104+ // customername
105+ // );
106+ // APIServer.post(
107+ // "/v2/customer/:customer/status",
108+ // authMiddleware,
109+ // bodyParser.json(),
110+ // customerStatus
111+ // );
122112
123113 // APIServer.post(
124114 // "/v2/image/upload",
0 commit comments