@ptkl/sdk 1.9.1 → 1.9.2
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.0.9.js
CHANGED
|
@@ -372,6 +372,9 @@ var ProtokolSDK09 = (function (exports, axios) {
|
|
|
372
372
|
async settings() {
|
|
373
373
|
return await this.client.get(`/v3/system/component/settings/${this.ref}`);
|
|
374
374
|
}
|
|
375
|
+
async settingsForVersion(version) {
|
|
376
|
+
return await this.client.get(`/v3/system/component/settings/${this.ref}/${version}`);
|
|
377
|
+
}
|
|
375
378
|
async saveSettings(settings, version) {
|
|
376
379
|
return await this.client.post(`/v3/system/component/settings/${this.ref}/${version}`, settings);
|
|
377
380
|
}
|
package/dist/package.json
CHANGED
|
@@ -121,6 +121,7 @@ export default class Component extends PlatformBaseClient {
|
|
|
121
121
|
*/
|
|
122
122
|
aggregate(pipeline: FindAggregateParams): AggregateChainable;
|
|
123
123
|
settings(): Promise<AxiosResponse<any, any>>;
|
|
124
|
+
settingsForVersion(version: string): Promise<AxiosResponse<any, any>>;
|
|
124
125
|
saveSettings(settings: any, version: string): Promise<AxiosResponse<any, any>>;
|
|
125
126
|
saveTemplatesDist(version: string, sdkVersion: string, engine: string, dist: Record<string, string>): Promise<any>;
|
|
126
127
|
workflow(event: string, input: any): Promise<AxiosResponse<any, any>>;
|
package/dist/v0.9/index.cjs.js
CHANGED
|
@@ -19340,6 +19340,9 @@ class Component extends PlatformBaseClient {
|
|
|
19340
19340
|
async settings() {
|
|
19341
19341
|
return await this.client.get(`/v3/system/component/settings/${this.ref}`);
|
|
19342
19342
|
}
|
|
19343
|
+
async settingsForVersion(version) {
|
|
19344
|
+
return await this.client.get(`/v3/system/component/settings/${this.ref}/${version}`);
|
|
19345
|
+
}
|
|
19343
19346
|
async saveSettings(settings, version) {
|
|
19344
19347
|
return await this.client.post(`/v3/system/component/settings/${this.ref}/${version}`, settings);
|
|
19345
19348
|
}
|
package/dist/v0.9/index.esm.js
CHANGED
|
@@ -371,6 +371,9 @@ class Component extends PlatformBaseClient {
|
|
|
371
371
|
async settings() {
|
|
372
372
|
return await this.client.get(`/v3/system/component/settings/${this.ref}`);
|
|
373
373
|
}
|
|
374
|
+
async settingsForVersion(version) {
|
|
375
|
+
return await this.client.get(`/v3/system/component/settings/${this.ref}/${version}`);
|
|
376
|
+
}
|
|
374
377
|
async saveSettings(settings, version) {
|
|
375
378
|
return await this.client.post(`/v3/system/component/settings/${this.ref}/${version}`, settings);
|
|
376
379
|
}
|