glitch-javascript-sdk 3.1.0 → 3.1.1
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 +7 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/SocialPosts.d.ts +6 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/package.json +1 -1
- package/src/api/SocialPosts.ts +9 -0
- package/src/routes/SocialPostsRoute.ts +5 -0
package/dist/index.d.ts
CHANGED
|
@@ -3950,6 +3950,12 @@ declare class SocialPosts {
|
|
|
3950
3950
|
end_date?: string;
|
|
3951
3951
|
confidence_threshold?: number;
|
|
3952
3952
|
}): AxiosPromise<Response<T>>;
|
|
3953
|
+
static getInfluencerAttribution<T>(params: {
|
|
3954
|
+
title_id: string;
|
|
3955
|
+
start_date?: string;
|
|
3956
|
+
end_date?: string;
|
|
3957
|
+
confidence_threshold?: number;
|
|
3958
|
+
}): AxiosPromise<Response<T>>;
|
|
3953
3959
|
}
|
|
3954
3960
|
|
|
3955
3961
|
declare class Titles {
|
package/package.json
CHANGED
package/src/api/SocialPosts.ts
CHANGED
|
@@ -522,6 +522,15 @@ class SocialPosts {
|
|
|
522
522
|
}): AxiosPromise<Response<T>> {
|
|
523
523
|
return Requests.processRoute(SocialPostsRoute.routes.utmAttribution, {}, undefined, params);
|
|
524
524
|
}
|
|
525
|
+
|
|
526
|
+
public static getInfluencerAttribution<T>(params: {
|
|
527
|
+
title_id: string,
|
|
528
|
+
start_date?: string,
|
|
529
|
+
end_date?: string,
|
|
530
|
+
confidence_threshold?: number
|
|
531
|
+
}): AxiosPromise<Response<T>> {
|
|
532
|
+
return Requests.processRoute(SocialPostsRoute.routes.influencerAttribution, {}, undefined, params);
|
|
533
|
+
}
|
|
525
534
|
}
|
|
526
535
|
|
|
527
536
|
export default SocialPosts;
|
|
@@ -45,6 +45,11 @@ class SocialPostsRoute {
|
|
|
45
45
|
method: HTTP_METHODS.GET
|
|
46
46
|
},
|
|
47
47
|
|
|
48
|
+
influencerAttribution: {
|
|
49
|
+
url: '/reports/fingerprinting/influencer-attribution',
|
|
50
|
+
method: HTTP_METHODS.GET
|
|
51
|
+
},
|
|
52
|
+
|
|
48
53
|
/**
|
|
49
54
|
* Get UTM performance correlated with installs and revenue.
|
|
50
55
|
* GET /reports/fingerprinting/utm-attribution
|