@parra/parra-js-sdk 0.3.357 → 0.3.358
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/ParraAPI.d.ts +9 -1
- package/dist/ParraAPI.js +2 -2
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
@@ -3867,7 +3867,15 @@ declare class ParraAPI {
|
|
3867
3867
|
addFaqToSection: (tenant_id: string, faq_view_id: string, faq_section_id: string, body: AddFaqToSectionRequestBody, options?: Options) => Promise<FaqSectionItemStub>;
|
3868
3868
|
removeFaqFromSection: (tenant_id: string, faq_view_id: string, faq_section_id: string, faq_section_item_id: string, options?: Options) => Promise<Response>;
|
3869
3869
|
createCreatorUpdateForTenant: (tenant_id: string, body: CreateCreatorUpdateRequestBody, options?: Options) => Promise<CreatorUpdate>;
|
3870
|
-
paginateCreatorUpdatesForTenant: (tenant_id: string,
|
3870
|
+
paginateCreatorUpdatesForTenant: (tenant_id: string, query?: {
|
3871
|
+
$select?: string;
|
3872
|
+
$top?: number;
|
3873
|
+
$skip?: number;
|
3874
|
+
$orderby?: string;
|
3875
|
+
$filter?: string;
|
3876
|
+
$expand?: string;
|
3877
|
+
$search?: string;
|
3878
|
+
}, options?: Options) => Promise<CreatorUpdateCollectionResponse>;
|
3871
3879
|
getCreatorUpdate: (tenant_id: string, creator_update_id: string, options?: Options) => Promise<CreatorUpdate>;
|
3872
3880
|
updateCreatorUpdate: (tenant_id: string, creator_update_id: string, body?: UpdateCreatorUpdateRequestBody, options?: Options) => Promise<CreatorUpdate>;
|
3873
3881
|
deleteCreatorUpdate: (tenant_id: string, creator_update_id: string, options?: Options) => Promise<Response>;
|
package/dist/ParraAPI.js
CHANGED
@@ -709,9 +709,9 @@ var ParraAPI = /** @class */ (function () {
|
|
709
709
|
"content-type": "application/json",
|
710
710
|
} }, options));
|
711
711
|
};
|
712
|
-
this.paginateCreatorUpdatesForTenant = function (tenant_id, options) {
|
712
|
+
this.paginateCreatorUpdatesForTenant = function (tenant_id, query, options) {
|
713
713
|
if (options === void 0) { options = {}; }
|
714
|
-
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/creator/updates"), __assign({ method: "get" }, options));
|
714
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/creator/updates"), __assign({ method: "get", query: query }, options));
|
715
715
|
};
|
716
716
|
this.getCreatorUpdate = function (tenant_id, creator_update_id, options) {
|
717
717
|
if (options === void 0) { options = {}; }
|