0&&void 0!==arguments[0]?arguments[0]:{},e={defaultHostName:"api.contentstack.io"},r="contentstack-management-javascript/".concat(a.version),n=Object(c.a)(r,t.application,t.integration,t.feature),o={"X-User-Agent":r,"User-Agent":n};t.authtoken&&(o.authtoken=t.authtoken),(t=se(se({},e),s()(t))).headers=se(se({},t.headers),o);var i=ae(t),u=Wt({http:i});return u}}])}));
\ No newline at end of file
diff --git a/jsdocs/Asset.html b/jsdocs/Asset.html
index 399a5408..44a0d342 100644
--- a/jsdocs/Asset.html
+++ b/jsdocs/Asset.html
@@ -1354,7 +1354,7 @@ Returns:
diff --git a/jsdocs/BulkOperation.html b/jsdocs/BulkOperation.html
index 2807097c..cef4a0ae 100644
--- a/jsdocs/BulkOperation.html
+++ b/jsdocs/BulkOperation.html
@@ -800,7 +800,7 @@ Returns:
diff --git a/jsdocs/ContentType.html b/jsdocs/ContentType.html
index 2362ab38..a1a06a5f 100644
--- a/jsdocs/ContentType.html
+++ b/jsdocs/ContentType.html
@@ -1317,7 +1317,7 @@ Parameters:
diff --git a/jsdocs/Contentstack.html b/jsdocs/Contentstack.html
index 09e90077..8f6aea39 100644
--- a/jsdocs/Contentstack.html
+++ b/jsdocs/Contentstack.html
@@ -392,7 +392,7 @@ Properties:
- Optional boolean for retry on failuer. Default is true |
+ Optional boolean for retry on failure. Default is true |
@@ -454,7 +454,7 @@ Properties:
- The number of miliseconds to use for operation retries. Default is 300ms |
+ The number of milliseconds to use for operation retries. Default is 300ms |
@@ -790,7 +790,7 @@ Examples
import * as contentstack from '@contentstack/management'
const client = contentstack.client({ maxContentLength: 1024 ** 3 })
- //Set the `maxContentLength` to 1024 ** 2 * 10 // 10 MB
+ //Set the `maxBodyLength` to 1024 ** 2 * 10 // 10 MB
import * as contentstack from '@contentstack/management'
const client = contentstack.client({ maxBodyLength: 1024 ** 2 * 10 })
@@ -829,7 +829,7 @@ Examples
diff --git a/jsdocs/ContentstackClient.html b/jsdocs/ContentstackClient.html
index ef8c6e51..9c474abc 100644
--- a/jsdocs/ContentstackClient.html
+++ b/jsdocs/ContentstackClient.html
@@ -1077,7 +1077,7 @@ Returns:
diff --git a/jsdocs/DeliveryToken.html b/jsdocs/DeliveryToken.html
index 95313ae5..caa5e233 100644
--- a/jsdocs/DeliveryToken.html
+++ b/jsdocs/DeliveryToken.html
@@ -763,7 +763,7 @@ Returns:
diff --git a/jsdocs/Entry.html b/jsdocs/Entry.html
index e08d1613..d5297491 100644
--- a/jsdocs/Entry.html
+++ b/jsdocs/Entry.html
@@ -214,7 +214,7 @@ Examples
.then((entry) => {
entry.title = 'My New Entry'
entry.description = 'Entry description'
- return Entry.update()
+ return entry.update()
})
.then((entry) => console.log(entry))
@@ -998,11 +998,11 @@ Example
const client = contentstack.client()
const publishing_rule = {
- "uid": "blt9b9253297f117e84",
- "action": "publish", //(‘publish’, ‘unpublish’, or ’both’)
- "status": 1, //(this could be ‘0’ for Approval Requested, ‘1’ for ‘Approval Accepted’, and ‘-1’ for ‘Approval Rejected’),
- "notify": false,
- "comment": "Please review this."
+"uid": "blt9b9253297f117e84",
+"action": "publish" //(‘publish’, ‘unpublish’, or ’both’)
+"status": 1, //(this could be ‘0’ for Approval Requested, ‘1’ for ‘Approval Accepted’, and ‘-1’ for ‘Approval Rejected’),
+"notify": false,
+comment": "Please review this."
}
client.stack({ api_key: 'api_key'}).contentType('content_type_uid').entry('uid').publishRequest({ publishing_rule, locale: 'en-us'})
.then((response) => console.log(response.notice))
@@ -1693,7 +1693,7 @@ Parameters:
diff --git a/jsdocs/Environment.html b/jsdocs/Environment.html
index 8e8afbbe..c3273bc8 100644
--- a/jsdocs/Environment.html
+++ b/jsdocs/Environment.html
@@ -766,7 +766,7 @@ Returns:
diff --git a/jsdocs/Extension.html b/jsdocs/Extension.html
index 14201778..ac41076a 100644
--- a/jsdocs/Extension.html
+++ b/jsdocs/Extension.html
@@ -944,7 +944,7 @@ Returns:
diff --git a/jsdocs/Folder.html b/jsdocs/Folder.html
index b99cc973..75569a91 100644
--- a/jsdocs/Folder.html
+++ b/jsdocs/Folder.html
@@ -633,7 +633,7 @@ Returns:
diff --git a/jsdocs/GlobalField.html b/jsdocs/GlobalField.html
index 65eed9c2..02c74ab2 100644
--- a/jsdocs/GlobalField.html
+++ b/jsdocs/GlobalField.html
@@ -908,7 +908,7 @@ Parameters:
diff --git a/jsdocs/Label.html b/jsdocs/Label.html
index e2152c40..c4a22eda 100644
--- a/jsdocs/Label.html
+++ b/jsdocs/Label.html
@@ -855,7 +855,7 @@ Returns:
diff --git a/jsdocs/Locale.html b/jsdocs/Locale.html
index 90e07f9a..59746c41 100644
--- a/jsdocs/Locale.html
+++ b/jsdocs/Locale.html
@@ -850,7 +850,7 @@ Returns:
diff --git a/jsdocs/Organization.html b/jsdocs/Organization.html
index 6db72920..f72d98a8 100644
--- a/jsdocs/Organization.html
+++ b/jsdocs/Organization.html
@@ -1691,7 +1691,7 @@ Returns:
diff --git a/jsdocs/PublishRules.html b/jsdocs/PublishRules.html
index 5fdbd9c1..d575bb53 100644
--- a/jsdocs/PublishRules.html
+++ b/jsdocs/PublishRules.html
@@ -73,7 +73,7 @@
Source:
@@ -287,7 +287,7 @@ Returns:
diff --git a/jsdocs/Release.html b/jsdocs/Release.html
index 52beee99..a3c93244 100644
--- a/jsdocs/Release.html
+++ b/jsdocs/Release.html
@@ -1503,7 +1503,7 @@ Returns:
diff --git a/jsdocs/Role.html b/jsdocs/Role.html
index ec788b11..e17e617a 100644
--- a/jsdocs/Role.html
+++ b/jsdocs/Role.html
@@ -932,7 +932,7 @@ (static) query<
Source:
@@ -1125,7 +1125,7 @@ Returns:
diff --git a/jsdocs/Stack.html b/jsdocs/Stack.html
index d780a202..abc37df4 100644
--- a/jsdocs/Stack.html
+++ b/jsdocs/Stack.html
@@ -3967,7 +3967,7 @@ Returns:
diff --git a/jsdocs/User.html b/jsdocs/User.html
index 9ae14b2d..2d02db1e 100644
--- a/jsdocs/User.html
+++ b/jsdocs/User.html
@@ -883,7 +883,7 @@ Returns:
diff --git a/jsdocs/Webhook.html b/jsdocs/Webhook.html
index c2986f94..b3afeca6 100644
--- a/jsdocs/Webhook.html
+++ b/jsdocs/Webhook.html
@@ -73,7 +73,7 @@