@parra/parra-js-sdk 0.3.307 → 0.3.308
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 +1 -0
- package/dist/ParraAPI.js +4 -0
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -3518,6 +3518,7 @@ declare class ParraAPI {
|
|
|
3518
3518
|
deleteFaqSectionById: (tenant_id: string, faq_view_id: string, faq_section_id: string, options?: Options) => Promise<Response>;
|
|
3519
3519
|
createCreatorUpdateForTenant: (tenant_id: string, body: CreateCreatorUpdateRequestBody, options?: Options) => Promise<CreatorUpdate>;
|
|
3520
3520
|
paginateCreatorUpdatesForTenant: (tenant_id: string, options?: Options) => Promise<CreatorUpdateCollectionResponse>;
|
|
3521
|
+
getCreatorUpdate: (tenant_id: string, creator_update_id: string, options?: Options) => Promise<CreatorUpdate>;
|
|
3521
3522
|
updateCreatorUpdate: (tenant_id: string, creator_update_id: string, body?: CreateCreatorUpdateRequestBody, options?: Options) => Promise<CreatorUpdate>;
|
|
3522
3523
|
deleteCreatorUpdate: (tenant_id: string, creator_update_id: string, options?: Options) => Promise<Response>;
|
|
3523
3524
|
sendCreatorUpdateForTenant: (tenant_id: string, creator_update_id: string, options?: Options) => Promise<CreatorUpdate>;
|
package/dist/ParraAPI.js
CHANGED
|
@@ -562,6 +562,10 @@ var ParraAPI = /** @class */ (function () {
|
|
|
562
562
|
if (options === void 0) { options = {}; }
|
|
563
563
|
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/creator/updates"), __assign({ method: "get" }, options));
|
|
564
564
|
};
|
|
565
|
+
this.getCreatorUpdate = function (tenant_id, creator_update_id, options) {
|
|
566
|
+
if (options === void 0) { options = {}; }
|
|
567
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/creator/updates/").concat(creator_update_id), __assign({ method: "get" }, options));
|
|
568
|
+
};
|
|
565
569
|
this.updateCreatorUpdate = function (tenant_id, creator_update_id, body, options) {
|
|
566
570
|
if (options === void 0) { options = {}; }
|
|
567
571
|
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/creator/updates/").concat(creator_update_id), __assign({ method: "put", body: JSON.stringify(body), headers: {
|