@mediaviz/sdk 1.0.61 → 1.0.62
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/sdk.cjs +7 -0
- package/dist/sdk.esm.js +7 -0
- package/dist/sdk.umd.js +7 -0
- package/package.json +1 -1
package/dist/sdk.cjs
CHANGED
|
@@ -833,6 +833,13 @@ class Keywords {
|
|
|
833
833
|
return data;
|
|
834
834
|
}
|
|
835
835
|
|
|
836
|
+
async getCompanyKeywordLists(companyId) {
|
|
837
|
+
this._ctx.requireTokens();
|
|
838
|
+
const path = `/api/v1/keyword/company/${encodeURIComponent(companyId)}`;
|
|
839
|
+
const { data } = await this._ctx.client.request(path, 'GET', this._ctx.accessToken, this._ctx.refreshToken);
|
|
840
|
+
return data;
|
|
841
|
+
}
|
|
842
|
+
|
|
836
843
|
async getKeywordFilteringListAndProjectsById(keywordListId) {
|
|
837
844
|
this._ctx.requireTokens();
|
|
838
845
|
const path = `/api/v1/keyword/${encodeURIComponent(keywordListId)}`;
|
package/dist/sdk.esm.js
CHANGED
|
@@ -831,6 +831,13 @@ class Keywords {
|
|
|
831
831
|
return data;
|
|
832
832
|
}
|
|
833
833
|
|
|
834
|
+
async getCompanyKeywordLists(companyId) {
|
|
835
|
+
this._ctx.requireTokens();
|
|
836
|
+
const path = `/api/v1/keyword/company/${encodeURIComponent(companyId)}`;
|
|
837
|
+
const { data } = await this._ctx.client.request(path, 'GET', this._ctx.accessToken, this._ctx.refreshToken);
|
|
838
|
+
return data;
|
|
839
|
+
}
|
|
840
|
+
|
|
834
841
|
async getKeywordFilteringListAndProjectsById(keywordListId) {
|
|
835
842
|
this._ctx.requireTokens();
|
|
836
843
|
const path = `/api/v1/keyword/${encodeURIComponent(keywordListId)}`;
|
package/dist/sdk.umd.js
CHANGED
|
@@ -837,6 +837,13 @@
|
|
|
837
837
|
return data;
|
|
838
838
|
}
|
|
839
839
|
|
|
840
|
+
async getCompanyKeywordLists(companyId) {
|
|
841
|
+
this._ctx.requireTokens();
|
|
842
|
+
const path = `/api/v1/keyword/company/${encodeURIComponent(companyId)}`;
|
|
843
|
+
const { data } = await this._ctx.client.request(path, 'GET', this._ctx.accessToken, this._ctx.refreshToken);
|
|
844
|
+
return data;
|
|
845
|
+
}
|
|
846
|
+
|
|
840
847
|
async getKeywordFilteringListAndProjectsById(keywordListId) {
|
|
841
848
|
this._ctx.requireTokens();
|
|
842
849
|
const path = `/api/v1/keyword/${encodeURIComponent(keywordListId)}`;
|