@smartlyqofficial/node 0.1.50 → 0.1.52

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/index.js CHANGED
@@ -861,6 +861,35 @@ var MessagesResource = class {
861
861
  return this._client.request("DELETE", `/social/conversations/${encodeURIComponent(conversationId)}/messages/${encodeURIComponent(messageId)}/reactions`, { options });
862
862
  }
863
863
  };
864
+ var EditsResource = class {
865
+ constructor(_client) {
866
+ this._client = _client;
867
+ }
868
+ /** List video edits `GET /edits` */
869
+ list(query, options) {
870
+ return this._client.request("GET", "/edits", { query, options });
871
+ }
872
+ /** Create a video edit `POST /edits` */
873
+ create(body, options) {
874
+ return this._client.request("POST", "/edits", { body, options });
875
+ }
876
+ /** List edit options `GET /edits/options` */
877
+ listOptions(options) {
878
+ return this._client.request("GET", "/edits/options", { options });
879
+ }
880
+ /** Get a video edit `GET /edits/{uid}` */
881
+ get(uid, options) {
882
+ return this._client.request("GET", `/edits/${encodeURIComponent(uid)}`, { options });
883
+ }
884
+ /** Update a video edit `PATCH /edits/{uid}` */
885
+ update(uid, body, options) {
886
+ return this._client.request("PATCH", `/edits/${encodeURIComponent(uid)}`, { body, options });
887
+ }
888
+ /** Export a video edit `POST /edits/{uid}/export` */
889
+ export(uid, options) {
890
+ return this._client.request("POST", `/edits/${encodeURIComponent(uid)}/export`, { options });
891
+ }
892
+ };
864
893
  var ImagesResource = class {
865
894
  constructor(_client) {
866
895
  this._client = _client;
@@ -1861,6 +1890,7 @@ function createResources(client) {
1861
1890
  crmTags: new CrmTagsResource(client),
1862
1891
  crmTasks: new CrmTasksResource(client),
1863
1892
  messages: new MessagesResource(client),
1893
+ edits: new EditsResource(client),
1864
1894
  images: new ImagesResource(client),
1865
1895
  jobs: new JobsResource(client),
1866
1896
  logs: new LogsResource(client),
@@ -1907,6 +1937,7 @@ export {
1907
1937
  CrmTagsResource,
1908
1938
  CrmTasksResource,
1909
1939
  CustomFieldsResource,
1940
+ EditsResource,
1910
1941
  ImagesResource,
1911
1942
  JobsResource,
1912
1943
  LogsResource,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartlyqofficial/node",
3
- "version": "0.1.50",
3
+ "version": "0.1.52",
4
4
  "description": "Official Node.js SDK for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
5
5
  "keywords": [
6
6
  "smartlyq",