glitch-javascript-sdk 0.7.1 → 0.7.3
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 +32 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/constants/CampaignObjective.d.ts +15 -0
- package/dist/esm/constants/InfluencerCampaignType.d.ts +13 -0
- package/dist/esm/index.d.ts +26 -0
- package/dist/esm/index.js +1056 -31195
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +26 -0
- package/package.json +1 -1
- package/src/api/Campaigns.ts +2 -2
- package/src/constants/CampaignObjective.ts +16 -0
- package/src/constants/InfluencerCampaignType.ts +14 -0
- package/src/index.ts +4 -0
package/dist/cjs/index.js
CHANGED
|
@@ -21972,7 +21972,7 @@ var Campaigns = /** @class */ (function () {
|
|
|
21972
21972
|
* @returns Promise
|
|
21973
21973
|
*/
|
|
21974
21974
|
Campaigns.createCampaignLink = function (campaign_id, data, params) {
|
|
21975
|
-
return Requests.processRoute(CampaignsRoute.routes.
|
|
21975
|
+
return Requests.processRoute(CampaignsRoute.routes.createCampaignLink, data, { campaign_id: campaign_id }, params);
|
|
21976
21976
|
};
|
|
21977
21977
|
/**
|
|
21978
21978
|
* Update a campaign.
|
|
@@ -21985,7 +21985,7 @@ var Campaigns = /** @class */ (function () {
|
|
|
21985
21985
|
* @returns promise
|
|
21986
21986
|
*/
|
|
21987
21987
|
Campaigns.updateCampaignLink = function (campaign_id, link_id, data, params) {
|
|
21988
|
-
return Requests.processRoute(CampaignsRoute.routes.
|
|
21988
|
+
return Requests.processRoute(CampaignsRoute.routes.updateCampaignLink, data, { campaign_id: campaign_id, link_id: link_id }, params);
|
|
21989
21989
|
};
|
|
21990
21990
|
/**
|
|
21991
21991
|
* Retrieve the information for a single campaign.
|
|
@@ -22213,6 +22213,21 @@ var AddressLocationType = Object.freeze({
|
|
|
22213
22213
|
HYBRID: 3,
|
|
22214
22214
|
});
|
|
22215
22215
|
|
|
22216
|
+
var CampaignObjective = {
|
|
22217
|
+
BrandAwareness: 1, // Increasing visibility and recognition of the brand.
|
|
22218
|
+
AudienceEngagement: 2, // Boosting interactions like likes, comments, and shares.
|
|
22219
|
+
LeadGeneration: 3, // Collecting potential customer information for nurturing leads.
|
|
22220
|
+
SalesConversion: 4, // Directly driving sales of products or services.
|
|
22221
|
+
BrandIdentityReputation: 5, // Shaping brand perception and reputation.
|
|
22222
|
+
CustomerLoyaltyRetention: 6, // Encouraging repeat business and customer loyalty.
|
|
22223
|
+
ContentAmplificationDiversity: 7, // Enriching content strategy with influencer content.
|
|
22224
|
+
MarketFeedbackInsight: 8, // Gathering product feedback and market insights.
|
|
22225
|
+
EducatingAudience: 9, // Informing about product features and benefits.
|
|
22226
|
+
CommunityBuilding: 10, // Creating or enhancing a community around the brand.
|
|
22227
|
+
DrivingWebTraffic: 11, // Increasing visitors to the brand’s website or landing pages.
|
|
22228
|
+
SEOBenefits: 12 // Enhancing search engine optimization through online presence.
|
|
22229
|
+
};
|
|
22230
|
+
|
|
22216
22231
|
var ContentStatus = Object.freeze({
|
|
22217
22232
|
UNAPPROVED: 0,
|
|
22218
22233
|
APPROVED: 1,
|
|
@@ -22235,6 +22250,19 @@ var CompetitionTypes = Object.freeze({
|
|
|
22235
22250
|
EXTENDED: 9,
|
|
22236
22251
|
});
|
|
22237
22252
|
|
|
22253
|
+
var InfluencerCampaignType = {
|
|
22254
|
+
SponsoredContent: 1, // Sponsored Content Campaigns: Brands pay influencers to create content featuring their products or services.
|
|
22255
|
+
AffiliateMarketing: 2, // Affiliate Marketing: Influencers promote products with a unique link or code, earning a commission per sale.
|
|
22256
|
+
ProductGifting: 3, // Product Gifting: Brands send free products to influencers, hoping for them to be featured in their content.
|
|
22257
|
+
BrandAmbassador: 4, // Brand Ambassador Programs: Influencers have a long-term relationship with a brand, consistently promoting its products.
|
|
22258
|
+
SocialMediaTakeover: 5, // Social Media Takeovers: Influencers take over a brand's social media account for a period, creating and sharing content.
|
|
22259
|
+
ContestsGiveaways: 6, // Contests and Giveaways: Collaborations for hosting contests or giveaways, engaging audiences of both parties.
|
|
22260
|
+
EventCoverage: 7, // Event Coverage: Influencers are invited to events to cover them on their platforms.
|
|
22261
|
+
CoCreationOfProducts: 8, // Co-Creation of Products: Collaboration between brands and influencers to create a product.
|
|
22262
|
+
InfluencerWhitelisting: 9, // Influencer Whitelisting: Brands gain access to an influencer's account to run paid ads.
|
|
22263
|
+
SocialIssuesCauseCampaigns: 10 // Social Issues and Cause Campaigns: Promoting social causes or charitable organizations.
|
|
22264
|
+
};
|
|
22265
|
+
|
|
22238
22266
|
var Modes;
|
|
22239
22267
|
(function (Modes) {
|
|
22240
22268
|
Modes[Modes["BROADCAST"] = 0] = "BROADCAST";
|
|
@@ -22482,8 +22510,10 @@ var Glitch = /** @class */ (function () {
|
|
|
22482
22510
|
Glitch.constants = {
|
|
22483
22511
|
AcceptanceStatus: AcceptanceStatus,
|
|
22484
22512
|
AddressLocationType: AddressLocationType,
|
|
22513
|
+
CampaignObjective: CampaignObjective,
|
|
22485
22514
|
CompetitionTypes: CompetitionTypes,
|
|
22486
22515
|
ContentStatus: ContentStatus,
|
|
22516
|
+
InfluencerCampaignType: InfluencerCampaignType,
|
|
22487
22517
|
Modes: Modes,
|
|
22488
22518
|
PostTypes: PostTypes,
|
|
22489
22519
|
Roles: Roles,
|