glitch-javascript-sdk 0.7.2 → 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.
@@ -0,0 +1,15 @@
1
+ declare const CampaignObjective: {
2
+ BrandAwareness: number;
3
+ AudienceEngagement: number;
4
+ LeadGeneration: number;
5
+ SalesConversion: number;
6
+ BrandIdentityReputation: number;
7
+ CustomerLoyaltyRetention: number;
8
+ ContentAmplificationDiversity: number;
9
+ MarketFeedbackInsight: number;
10
+ EducatingAudience: number;
11
+ CommunityBuilding: number;
12
+ DrivingWebTraffic: number;
13
+ SEOBenefits: number;
14
+ };
15
+ export default CampaignObjective;
@@ -0,0 +1,13 @@
1
+ declare const InfluencerCampaignType: {
2
+ SponsoredContent: number;
3
+ AffiliateMarketing: number;
4
+ ProductGifting: number;
5
+ BrandAmbassador: number;
6
+ SocialMediaTakeover: number;
7
+ ContestsGiveaways: number;
8
+ EventCoverage: number;
9
+ CoCreationOfProducts: number;
10
+ InfluencerWhitelisting: number;
11
+ SocialIssuesCauseCampaigns: number;
12
+ };
13
+ export default InfluencerCampaignType;
@@ -78,6 +78,20 @@ declare class Glitch {
78
78
  IN_PERSON: 2;
79
79
  HYBRID: 3;
80
80
  }>;
81
+ CampaignObjective: {
82
+ BrandAwareness: number;
83
+ AudienceEngagement: number;
84
+ LeadGeneration: number;
85
+ SalesConversion: number;
86
+ BrandIdentityReputation: number;
87
+ CustomerLoyaltyRetention: number;
88
+ ContentAmplificationDiversity: number;
89
+ MarketFeedbackInsight: number;
90
+ EducatingAudience: number;
91
+ CommunityBuilding: number;
92
+ DrivingWebTraffic: number;
93
+ SEOBenefits: number;
94
+ };
81
95
  CompetitionTypes: Readonly<{
82
96
  SINGLE_ELIMINATION: 1;
83
97
  DOUBLE_ELIMINATION: 2;
@@ -98,6 +112,18 @@ declare class Glitch {
98
112
  REMOVED: 5;
99
113
  DELETED: 6;
100
114
  }>;
115
+ InfluencerCampaignType: {
116
+ SponsoredContent: number;
117
+ AffiliateMarketing: number;
118
+ ProductGifting: number;
119
+ BrandAmbassador: number;
120
+ SocialMediaTakeover: number;
121
+ ContestsGiveaways: number;
122
+ EventCoverage: number;
123
+ CoCreationOfProducts: number;
124
+ InfluencerWhitelisting: number;
125
+ SocialIssuesCauseCampaigns: number;
126
+ };
101
127
  Modes: typeof Modes;
102
128
  PostTypes: Readonly<{
103
129
  TEXT: "text";
package/dist/esm/index.js CHANGED
@@ -8788,7 +8788,7 @@ var Campaigns = /** @class */ (function () {
8788
8788
  * @returns Promise
8789
8789
  */
8790
8790
  Campaigns.createCampaignLink = function (campaign_id, data, params) {
8791
- return Requests.processRoute(CampaignsRoute.routes.createCampaign, data, { campaign_id: campaign_id }, params);
8791
+ return Requests.processRoute(CampaignsRoute.routes.createCampaignLink, data, { campaign_id: campaign_id }, params);
8792
8792
  };
8793
8793
  /**
8794
8794
  * Update a campaign.
@@ -8801,7 +8801,7 @@ var Campaigns = /** @class */ (function () {
8801
8801
  * @returns promise
8802
8802
  */
8803
8803
  Campaigns.updateCampaignLink = function (campaign_id, link_id, data, params) {
8804
- return Requests.processRoute(CampaignsRoute.routes.updateCampaign, data, { campaign_id: campaign_id, link_id: link_id }, params);
8804
+ return Requests.processRoute(CampaignsRoute.routes.updateCampaignLink, data, { campaign_id: campaign_id, link_id: link_id }, params);
8805
8805
  };
8806
8806
  /**
8807
8807
  * Retrieve the information for a single campaign.
@@ -9029,6 +9029,21 @@ var AddressLocationType = Object.freeze({
9029
9029
  HYBRID: 3,
9030
9030
  });
9031
9031
 
9032
+ var CampaignObjective = {
9033
+ BrandAwareness: 1, // Increasing visibility and recognition of the brand.
9034
+ AudienceEngagement: 2, // Boosting interactions like likes, comments, and shares.
9035
+ LeadGeneration: 3, // Collecting potential customer information for nurturing leads.
9036
+ SalesConversion: 4, // Directly driving sales of products or services.
9037
+ BrandIdentityReputation: 5, // Shaping brand perception and reputation.
9038
+ CustomerLoyaltyRetention: 6, // Encouraging repeat business and customer loyalty.
9039
+ ContentAmplificationDiversity: 7, // Enriching content strategy with influencer content.
9040
+ MarketFeedbackInsight: 8, // Gathering product feedback and market insights.
9041
+ EducatingAudience: 9, // Informing about product features and benefits.
9042
+ CommunityBuilding: 10, // Creating or enhancing a community around the brand.
9043
+ DrivingWebTraffic: 11, // Increasing visitors to the brand’s website or landing pages.
9044
+ SEOBenefits: 12 // Enhancing search engine optimization through online presence.
9045
+ };
9046
+
9032
9047
  var ContentStatus = Object.freeze({
9033
9048
  UNAPPROVED: 0,
9034
9049
  APPROVED: 1,
@@ -9051,6 +9066,19 @@ var CompetitionTypes = Object.freeze({
9051
9066
  EXTENDED: 9,
9052
9067
  });
9053
9068
 
9069
+ var InfluencerCampaignType = {
9070
+ SponsoredContent: 1, // Sponsored Content Campaigns: Brands pay influencers to create content featuring their products or services.
9071
+ AffiliateMarketing: 2, // Affiliate Marketing: Influencers promote products with a unique link or code, earning a commission per sale.
9072
+ ProductGifting: 3, // Product Gifting: Brands send free products to influencers, hoping for them to be featured in their content.
9073
+ BrandAmbassador: 4, // Brand Ambassador Programs: Influencers have a long-term relationship with a brand, consistently promoting its products.
9074
+ SocialMediaTakeover: 5, // Social Media Takeovers: Influencers take over a brand's social media account for a period, creating and sharing content.
9075
+ ContestsGiveaways: 6, // Contests and Giveaways: Collaborations for hosting contests or giveaways, engaging audiences of both parties.
9076
+ EventCoverage: 7, // Event Coverage: Influencers are invited to events to cover them on their platforms.
9077
+ CoCreationOfProducts: 8, // Co-Creation of Products: Collaboration between brands and influencers to create a product.
9078
+ InfluencerWhitelisting: 9, // Influencer Whitelisting: Brands gain access to an influencer's account to run paid ads.
9079
+ SocialIssuesCauseCampaigns: 10 // Social Issues and Cause Campaigns: Promoting social causes or charitable organizations.
9080
+ };
9081
+
9054
9082
  var Modes;
9055
9083
  (function (Modes) {
9056
9084
  Modes[Modes["BROADCAST"] = 0] = "BROADCAST";
@@ -9298,8 +9326,10 @@ var Glitch = /** @class */ (function () {
9298
9326
  Glitch.constants = {
9299
9327
  AcceptanceStatus: AcceptanceStatus,
9300
9328
  AddressLocationType: AddressLocationType,
9329
+ CampaignObjective: CampaignObjective,
9301
9330
  CompetitionTypes: CompetitionTypes,
9302
9331
  ContentStatus: ContentStatus,
9332
+ InfluencerCampaignType: InfluencerCampaignType,
9303
9333
  Modes: Modes,
9304
9334
  PostTypes: PostTypes,
9305
9335
  Roles: Roles,