glitch-javascript-sdk 1.1.7 → 1.1.9
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/cjs/index.js +157 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Campaigns.d.ts +30 -0
- package/dist/esm/api/Communities.d.ts +72 -0
- package/dist/esm/api/Influencers.d.ts +8 -0
- package/dist/esm/api/Users.d.ts +8 -0
- package/dist/esm/index.js +157 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +118 -0
- package/package.json +1 -1
- package/src/api/Campaigns.ts +42 -0
- package/src/api/Communities.ts +102 -0
- package/src/api/Influencers.ts +11 -0
- package/src/api/Users.ts +12 -0
- package/src/routes/CampaignsRoute.ts +6 -1
- package/src/routes/CommunitiesRoute.ts +8 -0
- package/src/routes/InfluencerRoutes.ts +1 -0
- package/src/routes/UserRoutes.ts +1 -0
|
@@ -470,5 +470,35 @@ declare class Campaigns {
|
|
|
470
470
|
* @returns promise
|
|
471
471
|
*/
|
|
472
472
|
static getActiveCampaignLinks<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
473
|
+
/**
|
|
474
|
+
* Generate a contract for the influencer based on the values in the invite.
|
|
475
|
+
*
|
|
476
|
+
* @see https://api.glitch.fun/api/documentation#/Campaigns/generateInfluencerContract
|
|
477
|
+
*
|
|
478
|
+
* @param campaign_id The id fo the campaign to retrieve.
|
|
479
|
+
*
|
|
480
|
+
* @returns promise
|
|
481
|
+
*/
|
|
482
|
+
static generateContractFromInvite<T>(campaign_id: string, influencer_id: string, data?: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
483
|
+
/**
|
|
484
|
+
* Send a contract with Docusign.
|
|
485
|
+
*
|
|
486
|
+
* @see https://api.glitch.fun/api/documentation#/Campaigns/sendContractWithDocusign
|
|
487
|
+
*
|
|
488
|
+
* @param campaign_id The id fo the campaign to retrieve.
|
|
489
|
+
*
|
|
490
|
+
* @returns promise
|
|
491
|
+
*/
|
|
492
|
+
static sendContractWithDocusign<T>(campaign_id: string, influencer_id: string, data?: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
493
|
+
/**
|
|
494
|
+
* Resend the acceptance email for the influencer.
|
|
495
|
+
*
|
|
496
|
+
* @see https://api.glitch.fun/api/documentation#/Campaigns/resendInfluencerAcceptance
|
|
497
|
+
*
|
|
498
|
+
* @param campaign_id The id fo the campaign to retrieve.
|
|
499
|
+
*
|
|
500
|
+
* @returns promise
|
|
501
|
+
*/
|
|
502
|
+
static resendAcceptanceEmail<T>(campaign_id: string, user_id: string, data?: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
473
503
|
}
|
|
474
504
|
export default Campaigns;
|
|
@@ -266,5 +266,77 @@ declare class Communities {
|
|
|
266
266
|
* @returns promise
|
|
267
267
|
*/
|
|
268
268
|
static getLedger<T>(community_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
269
|
+
/**
|
|
270
|
+
* Clear Docusign authentication information from the current user.
|
|
271
|
+
*
|
|
272
|
+
* @see https://api.glitch.fun/api/documentation#/Users%20Route/userCreateDonationPage
|
|
273
|
+
*
|
|
274
|
+
* @returns promise
|
|
275
|
+
*/
|
|
276
|
+
static clearDocusignAuth<T>(community_id: string): AxiosPromise<Response<T>>;
|
|
277
|
+
/**
|
|
278
|
+
* Clear SimpleSin authentication information from the current user.
|
|
279
|
+
*
|
|
280
|
+
* @see https://api.glitch.fun/api/documentation#/Users%20Route/userCreateDonationPage
|
|
281
|
+
*
|
|
282
|
+
* @returns promise
|
|
283
|
+
*/
|
|
284
|
+
static clearSimplesignAuth<T>(community_id: string): AxiosPromise<Response<T>>;
|
|
285
|
+
/**
|
|
286
|
+
* Clear SimpleSin authentication information from the current user.
|
|
287
|
+
*
|
|
288
|
+
* @see https://api.glitch.fun/api/documentation#/Users%20Route/userCreateDonationPage
|
|
289
|
+
*
|
|
290
|
+
* @returns promise
|
|
291
|
+
*/
|
|
292
|
+
static clearHellosignAuth<T>(community_id: string): AxiosPromise<Response<T>>;
|
|
293
|
+
/**
|
|
294
|
+
* List all the saved email templates for the community.
|
|
295
|
+
*
|
|
296
|
+
* @see https://api.glitch.fun/api/documentation#/Community%20Route/resourceCommunityList
|
|
297
|
+
*
|
|
298
|
+
* @returns promise
|
|
299
|
+
*/
|
|
300
|
+
static listEmailTemplates<T>(community_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
301
|
+
/**
|
|
302
|
+
* Create a new email template for the community
|
|
303
|
+
*
|
|
304
|
+
* @see https://api.glitch.fun/api/documentation#/Community%20Route/newCommunityResourceStorage
|
|
305
|
+
*
|
|
306
|
+
* @param data The data to be passed when creating a community.
|
|
307
|
+
*
|
|
308
|
+
* @returns Promise
|
|
309
|
+
*/
|
|
310
|
+
static createEmailTemplate<T>(community_id: string, data: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
311
|
+
/**
|
|
312
|
+
* Update an email template for the community.
|
|
313
|
+
*
|
|
314
|
+
* @see https://api.glitch.fun/api/documentation#/Community%20Route/updateCommunityStorage
|
|
315
|
+
*
|
|
316
|
+
* @param community_id The id of the community to update.
|
|
317
|
+
* @param data The data to update.
|
|
318
|
+
*
|
|
319
|
+
* @returns promise
|
|
320
|
+
*/
|
|
321
|
+
static updateEmailTemplate<T>(community_id: string, template_id: string, data: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
322
|
+
/**
|
|
323
|
+
* Retrieve a single email template for the community.
|
|
324
|
+
*
|
|
325
|
+
* @see https://api.glitch.fun/api/documentation#/Community%20Route/showCommunityStorage
|
|
326
|
+
*
|
|
327
|
+
* @param community_id The id fo the community to retrieve.
|
|
328
|
+
*
|
|
329
|
+
* @returns promise
|
|
330
|
+
*/
|
|
331
|
+
static viewEmailTemplate<T>(community_id: string, template_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
332
|
+
/**
|
|
333
|
+
* Deletes an email template for the community.
|
|
334
|
+
*
|
|
335
|
+
* @see https://api.glitch.fun/api/documentation#/Community%20Route/destoryCommunityStorage
|
|
336
|
+
*
|
|
337
|
+
* @param community_id The id of the community to delete.
|
|
338
|
+
* @returns promise
|
|
339
|
+
*/
|
|
340
|
+
static deleteEmailTemplate<T>(community_id: string, template_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
269
341
|
}
|
|
270
342
|
export default Communities;
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import Response from "../util/Response";
|
|
2
2
|
import { AxiosPromise } from "axios";
|
|
3
3
|
declare class Influencers {
|
|
4
|
+
/**
|
|
5
|
+
* Add a new influencer to the platform.
|
|
6
|
+
*
|
|
7
|
+
* @see https://api.glitch.fun/api/documentation#/Influencers/createInfluencersNotes
|
|
8
|
+
*
|
|
9
|
+
* @returns promise
|
|
10
|
+
*/
|
|
11
|
+
static addInfluencer<T>(data?: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
4
12
|
/**
|
|
5
13
|
* Get a list of influencers available on he platform.
|
|
6
14
|
*
|
package/dist/esm/api/Users.d.ts
CHANGED
|
@@ -211,6 +211,14 @@ declare class Users {
|
|
|
211
211
|
* @returns promise
|
|
212
212
|
*/
|
|
213
213
|
static clearRedditAuth<T>(): AxiosPromise<Response<T>>;
|
|
214
|
+
/**
|
|
215
|
+
* Clear Docusign authentication information from the current user.
|
|
216
|
+
*
|
|
217
|
+
* @see https://api.glitch.fun/api/documentation#/Users%20Route/clearDocusignAuth
|
|
218
|
+
*
|
|
219
|
+
* @returns promise
|
|
220
|
+
*/
|
|
221
|
+
static clearDocusignAuth<T>(): AxiosPromise<Response<T>>;
|
|
214
222
|
/**
|
|
215
223
|
* Clear Twitter authentication information from the current user.
|
|
216
224
|
*
|
package/dist/esm/index.js
CHANGED
|
@@ -6573,6 +6573,14 @@ var CommunitiesRoute = /** @class */ (function () {
|
|
|
6573
6573
|
getPaymentMethods: { url: '/communities/{community_id}/payment/methods', method: HTTP_METHODS.GET },
|
|
6574
6574
|
setDefaultPaymentMethod: { url: '/communities/{community_id}/payment/methods/default', method: HTTP_METHODS.POST },
|
|
6575
6575
|
getLedger: { url: '/communities/{community_id}/payment/ledger', method: HTTP_METHODS.GET },
|
|
6576
|
+
clearDocusignAuth: { url: '/communities/{community_id}/clearDocusignAuth', method: HTTP_METHODS.DELETE },
|
|
6577
|
+
clearHellosignAuth: { url: '/communities/{community_id}/clearHellosignAuth', method: HTTP_METHODS.DELETE },
|
|
6578
|
+
clearSimplesignAuth: { url: '/communities/{community_id}/clearSimplesignAuth', method: HTTP_METHODS.DELETE },
|
|
6579
|
+
listEmailTemplates: { url: '/communities/{community_id}/emails/templates', method: HTTP_METHODS.GET },
|
|
6580
|
+
createEmailTemplate: { url: '/communities/{community_id}/emails/templates', method: HTTP_METHODS.POST },
|
|
6581
|
+
viewEmailTemplate: { url: '/communities/{community_id}/emails/templates/{template_id}', method: HTTP_METHODS.GET },
|
|
6582
|
+
updateEmailTemplate: { url: '/communities/{community_id}/emails/templates/{template_id}', method: HTTP_METHODS.PUT },
|
|
6583
|
+
deleteEmailTemplate: { url: '/communities/{community_id}/emails/templates/{template_id}', method: HTTP_METHODS.DELETE },
|
|
6576
6584
|
};
|
|
6577
6585
|
return CommunitiesRoute;
|
|
6578
6586
|
}());
|
|
@@ -6903,6 +6911,94 @@ var Communities = /** @class */ (function () {
|
|
|
6903
6911
|
Communities.getLedger = function (community_id, params) {
|
|
6904
6912
|
return Requests.processRoute(CommunitiesRoute.routes.getLedger, {}, { community_id: community_id }, params);
|
|
6905
6913
|
};
|
|
6914
|
+
/**
|
|
6915
|
+
* Clear Docusign authentication information from the current user.
|
|
6916
|
+
*
|
|
6917
|
+
* @see https://api.glitch.fun/api/documentation#/Users%20Route/userCreateDonationPage
|
|
6918
|
+
*
|
|
6919
|
+
* @returns promise
|
|
6920
|
+
*/
|
|
6921
|
+
Communities.clearDocusignAuth = function (community_id) {
|
|
6922
|
+
return Requests.processRoute(CommunitiesRoute.routes.clearDocusignAuth, {}, { community_id: community_id });
|
|
6923
|
+
};
|
|
6924
|
+
/**
|
|
6925
|
+
* Clear SimpleSin authentication information from the current user.
|
|
6926
|
+
*
|
|
6927
|
+
* @see https://api.glitch.fun/api/documentation#/Users%20Route/userCreateDonationPage
|
|
6928
|
+
*
|
|
6929
|
+
* @returns promise
|
|
6930
|
+
*/
|
|
6931
|
+
Communities.clearSimplesignAuth = function (community_id) {
|
|
6932
|
+
return Requests.processRoute(CommunitiesRoute.routes.clearSimplesignAuth, {}, { community_id: community_id });
|
|
6933
|
+
};
|
|
6934
|
+
/**
|
|
6935
|
+
* Clear SimpleSin authentication information from the current user.
|
|
6936
|
+
*
|
|
6937
|
+
* @see https://api.glitch.fun/api/documentation#/Users%20Route/userCreateDonationPage
|
|
6938
|
+
*
|
|
6939
|
+
* @returns promise
|
|
6940
|
+
*/
|
|
6941
|
+
Communities.clearHellosignAuth = function (community_id) {
|
|
6942
|
+
return Requests.processRoute(CommunitiesRoute.routes.clearHellosignAuth, {}, { community_id: community_id });
|
|
6943
|
+
};
|
|
6944
|
+
/**
|
|
6945
|
+
* List all the saved email templates for the community.
|
|
6946
|
+
*
|
|
6947
|
+
* @see https://api.glitch.fun/api/documentation#/Community%20Route/resourceCommunityList
|
|
6948
|
+
*
|
|
6949
|
+
* @returns promise
|
|
6950
|
+
*/
|
|
6951
|
+
Communities.listEmailTemplates = function (community_id, params) {
|
|
6952
|
+
return Requests.processRoute(CommunitiesRoute.routes.listEmailTemplates, undefined, { community_id: community_id }, params);
|
|
6953
|
+
};
|
|
6954
|
+
/**
|
|
6955
|
+
* Create a new email template for the community
|
|
6956
|
+
*
|
|
6957
|
+
* @see https://api.glitch.fun/api/documentation#/Community%20Route/newCommunityResourceStorage
|
|
6958
|
+
*
|
|
6959
|
+
* @param data The data to be passed when creating a community.
|
|
6960
|
+
*
|
|
6961
|
+
* @returns Promise
|
|
6962
|
+
*/
|
|
6963
|
+
Communities.createEmailTemplate = function (community_id, data, params) {
|
|
6964
|
+
return Requests.processRoute(CommunitiesRoute.routes.createEmailTemplate, data, { community_id: community_id }, params);
|
|
6965
|
+
};
|
|
6966
|
+
/**
|
|
6967
|
+
* Update an email template for the community.
|
|
6968
|
+
*
|
|
6969
|
+
* @see https://api.glitch.fun/api/documentation#/Community%20Route/updateCommunityStorage
|
|
6970
|
+
*
|
|
6971
|
+
* @param community_id The id of the community to update.
|
|
6972
|
+
* @param data The data to update.
|
|
6973
|
+
*
|
|
6974
|
+
* @returns promise
|
|
6975
|
+
*/
|
|
6976
|
+
Communities.updateEmailTemplate = function (community_id, template_id, data, params) {
|
|
6977
|
+
return Requests.processRoute(CommunitiesRoute.routes.updateEmailTemplate, data, { community_id: community_id, template_id: template_id }, params);
|
|
6978
|
+
};
|
|
6979
|
+
/**
|
|
6980
|
+
* Retrieve a single email template for the community.
|
|
6981
|
+
*
|
|
6982
|
+
* @see https://api.glitch.fun/api/documentation#/Community%20Route/showCommunityStorage
|
|
6983
|
+
*
|
|
6984
|
+
* @param community_id The id fo the community to retrieve.
|
|
6985
|
+
*
|
|
6986
|
+
* @returns promise
|
|
6987
|
+
*/
|
|
6988
|
+
Communities.viewEmailTemplate = function (community_id, template_id, params) {
|
|
6989
|
+
return Requests.processRoute(CommunitiesRoute.routes.viewEmailTemplate, {}, { community_id: community_id, template_id: template_id }, params);
|
|
6990
|
+
};
|
|
6991
|
+
/**
|
|
6992
|
+
* Deletes an email template for the community.
|
|
6993
|
+
*
|
|
6994
|
+
* @see https://api.glitch.fun/api/documentation#/Community%20Route/destoryCommunityStorage
|
|
6995
|
+
*
|
|
6996
|
+
* @param community_id The id of the community to delete.
|
|
6997
|
+
* @returns promise
|
|
6998
|
+
*/
|
|
6999
|
+
Communities.deleteEmailTemplate = function (community_id, template_id, params) {
|
|
7000
|
+
return Requests.processRoute(CommunitiesRoute.routes.deleteEmailTemplate, {}, { community_id: community_id, template_id: template_id });
|
|
7001
|
+
};
|
|
6906
7002
|
return Communities;
|
|
6907
7003
|
}());
|
|
6908
7004
|
|
|
@@ -6929,6 +7025,7 @@ var UserRoutes = /** @class */ (function () {
|
|
|
6929
7025
|
clearYoutubeAuth: { url: '/users/clearYoutubeAuth', method: HTTP_METHODS.DELETE },
|
|
6930
7026
|
clearRedditAuth: { url: '/users/clearRedditAuth', method: HTTP_METHODS.DELETE },
|
|
6931
7027
|
clearTwitterAuth: { url: '/users/clearTwitterAuth', method: HTTP_METHODS.DELETE },
|
|
7028
|
+
clearDocusignAuth: { url: '/users/clearDocusignAuth', method: HTTP_METHODS.DELETE },
|
|
6932
7029
|
clearStreamElementsAuth: { url: '/users/clearStreamElementsAuth', method: HTTP_METHODS.DELETE },
|
|
6933
7030
|
getTipsReceivedForMonth: { url: '/users/getTipsReceivedForMonth', method: HTTP_METHODS.GET },
|
|
6934
7031
|
getTipsGivenForMonth: { url: '/users/getTipsGivenForMonth', method: HTTP_METHODS.GET },
|
|
@@ -7205,6 +7302,16 @@ var Users = /** @class */ (function () {
|
|
|
7205
7302
|
Users.clearRedditAuth = function () {
|
|
7206
7303
|
return Requests.processRoute(UserRoutes.routes.clearRedditAuth, {});
|
|
7207
7304
|
};
|
|
7305
|
+
/**
|
|
7306
|
+
* Clear Docusign authentication information from the current user.
|
|
7307
|
+
*
|
|
7308
|
+
* @see https://api.glitch.fun/api/documentation#/Users%20Route/clearDocusignAuth
|
|
7309
|
+
*
|
|
7310
|
+
* @returns promise
|
|
7311
|
+
*/
|
|
7312
|
+
Users.clearDocusignAuth = function () {
|
|
7313
|
+
return Requests.processRoute(UserRoutes.routes.clearDocusignAuth, {});
|
|
7314
|
+
};
|
|
7208
7315
|
/**
|
|
7209
7316
|
* Clear Twitter authentication information from the current user.
|
|
7210
7317
|
*
|
|
@@ -9187,6 +9294,9 @@ var CampaignsRoute = /** @class */ (function () {
|
|
|
9187
9294
|
getRecommendedInfluencers: { url: '/campaigns/{campaign_id}/recommendInfluencers', method: HTTP_METHODS.GET },
|
|
9188
9295
|
generateContentForInfluencer: { url: '/campaigns/{campaign_id}/influencers/{user_id}/generatePostContent', method: HTTP_METHODS.POST },
|
|
9189
9296
|
getActiveCampaignLinks: { url: '/campaigns/active', method: HTTP_METHODS.GET },
|
|
9297
|
+
generateContractFromInvite: { url: '/campaigns/{campaign_id}/influencers/invites/{influencer_id}/contract', method: HTTP_METHODS.POST },
|
|
9298
|
+
sendContractWithDocusign: { url: '/campaigns/{campaign_id}/influencers/invites/{influencer_id}/docusign', method: HTTP_METHODS.POST },
|
|
9299
|
+
resendAcceptanceEmail: { url: '/campaigns/{campaign_id}/influencers/{user_id}/resendInvite', method: HTTP_METHODS.POST },
|
|
9190
9300
|
};
|
|
9191
9301
|
return CampaignsRoute;
|
|
9192
9302
|
}());
|
|
@@ -9763,6 +9873,42 @@ var Campaigns = /** @class */ (function () {
|
|
|
9763
9873
|
Campaigns.getActiveCampaignLinks = function (params) {
|
|
9764
9874
|
return Requests.processRoute(CampaignsRoute.routes.getActiveCampaignLinks, undefined, undefined, params);
|
|
9765
9875
|
};
|
|
9876
|
+
/**
|
|
9877
|
+
* Generate a contract for the influencer based on the values in the invite.
|
|
9878
|
+
*
|
|
9879
|
+
* @see https://api.glitch.fun/api/documentation#/Campaigns/generateInfluencerContract
|
|
9880
|
+
*
|
|
9881
|
+
* @param campaign_id The id fo the campaign to retrieve.
|
|
9882
|
+
*
|
|
9883
|
+
* @returns promise
|
|
9884
|
+
*/
|
|
9885
|
+
Campaigns.generateContractFromInvite = function (campaign_id, influencer_id, data, params) {
|
|
9886
|
+
return Requests.processRoute(CampaignsRoute.routes.generateContractFromInvite, data, { campaign_id: campaign_id, influencer_id: influencer_id }, params);
|
|
9887
|
+
};
|
|
9888
|
+
/**
|
|
9889
|
+
* Send a contract with Docusign.
|
|
9890
|
+
*
|
|
9891
|
+
* @see https://api.glitch.fun/api/documentation#/Campaigns/sendContractWithDocusign
|
|
9892
|
+
*
|
|
9893
|
+
* @param campaign_id The id fo the campaign to retrieve.
|
|
9894
|
+
*
|
|
9895
|
+
* @returns promise
|
|
9896
|
+
*/
|
|
9897
|
+
Campaigns.sendContractWithDocusign = function (campaign_id, influencer_id, data, params) {
|
|
9898
|
+
return Requests.processRoute(CampaignsRoute.routes.sendContractWithDocusign, data, { campaign_id: campaign_id, influencer_id: influencer_id }, params);
|
|
9899
|
+
};
|
|
9900
|
+
/**
|
|
9901
|
+
* Resend the acceptance email for the influencer.
|
|
9902
|
+
*
|
|
9903
|
+
* @see https://api.glitch.fun/api/documentation#/Campaigns/resendInfluencerAcceptance
|
|
9904
|
+
*
|
|
9905
|
+
* @param campaign_id The id fo the campaign to retrieve.
|
|
9906
|
+
*
|
|
9907
|
+
* @returns promise
|
|
9908
|
+
*/
|
|
9909
|
+
Campaigns.resendAcceptanceEmail = function (campaign_id, user_id, data, params) {
|
|
9910
|
+
return Requests.processRoute(CampaignsRoute.routes.resendAcceptanceEmail, data, { campaign_id: campaign_id, user_id: user_id }, params);
|
|
9911
|
+
};
|
|
9766
9912
|
return Campaigns;
|
|
9767
9913
|
}());
|
|
9768
9914
|
|
|
@@ -10028,6 +10174,7 @@ var InfluencerRoutes = /** @class */ (function () {
|
|
|
10028
10174
|
function InfluencerRoutes() {
|
|
10029
10175
|
}
|
|
10030
10176
|
InfluencerRoutes.routes = {
|
|
10177
|
+
addInfluencer: { url: '/influencers', method: HTTP_METHODS.POST },
|
|
10031
10178
|
listInfluencers: { url: '/influencers', method: HTTP_METHODS.GET },
|
|
10032
10179
|
viewInfluencer: { url: '/influencers/{influencer_id}', method: HTTP_METHODS.GET },
|
|
10033
10180
|
generateProfile: { url: '/influencers/{influencer_id}/generateProfile', method: HTTP_METHODS.POST },
|
|
@@ -10043,6 +10190,16 @@ var InfluencerRoutes = /** @class */ (function () {
|
|
|
10043
10190
|
var Influencers = /** @class */ (function () {
|
|
10044
10191
|
function Influencers() {
|
|
10045
10192
|
}
|
|
10193
|
+
/**
|
|
10194
|
+
* Add a new influencer to the platform.
|
|
10195
|
+
*
|
|
10196
|
+
* @see https://api.glitch.fun/api/documentation#/Influencers/createInfluencersNotes
|
|
10197
|
+
*
|
|
10198
|
+
* @returns promise
|
|
10199
|
+
*/
|
|
10200
|
+
Influencers.addInfluencer = function (data, params) {
|
|
10201
|
+
return Requests.processRoute(InfluencerRoutes.routes.addInfluencer, data, {}, params);
|
|
10202
|
+
};
|
|
10046
10203
|
/**
|
|
10047
10204
|
* Get a list of influencers available on he platform.
|
|
10048
10205
|
*
|