@ptkl/sdk 1.6.0 → 1.6.1
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.10.js +3 -0
- package/dist/index.0.9.js +3 -0
- package/dist/package.json +1 -1
- package/dist/v0.10/api/componentUtils.d.ts +1 -0
- package/dist/v0.10/index.cjs.js +3 -0
- package/dist/v0.10/index.esm.js +3 -0
- package/dist/v0.9/api/componentUtils.d.ts +1 -0
- package/dist/v0.9/index.cjs.js +3 -0
- package/dist/v0.9/index.esm.js +3 -0
- package/package.json +1 -1
package/dist/index.0.10.js
CHANGED
|
@@ -930,6 +930,9 @@ var ProtokolSDK010 = (function (exports, axios) {
|
|
|
930
930
|
async create(data) {
|
|
931
931
|
return await this.client.post("/v3/system/component/create", data);
|
|
932
932
|
}
|
|
933
|
+
async delete(ref) {
|
|
934
|
+
return await this.client.delete(`/v3/system/component/${ref}`);
|
|
935
|
+
}
|
|
933
936
|
/**
|
|
934
937
|
* Setup a component with settings in a single atomic operation.
|
|
935
938
|
* This is more comprehensive than create as it handles component creation
|
package/dist/index.0.9.js
CHANGED
|
@@ -648,6 +648,9 @@ var ProtokolSDK09 = (function (exports, axios) {
|
|
|
648
648
|
async create(data) {
|
|
649
649
|
return await this.client.post("/v3/system/component/create", data);
|
|
650
650
|
}
|
|
651
|
+
async delete(ref) {
|
|
652
|
+
return await this.client.delete(`/v3/system/component/${ref}`);
|
|
653
|
+
}
|
|
651
654
|
}
|
|
652
655
|
|
|
653
656
|
class Thunder extends PlatformBaseClient {
|
package/dist/package.json
CHANGED
|
@@ -4,6 +4,7 @@ import PlatformBaseClient from "./platformBaseClient";
|
|
|
4
4
|
export default class ComponentUtils extends PlatformBaseClient {
|
|
5
5
|
list(): Promise<AxiosResponse<ComponentListResponse>>;
|
|
6
6
|
create(data: any): Promise<AxiosResponse<any, any>>;
|
|
7
|
+
delete(ref: string): Promise<AxiosResponse<any, any>>;
|
|
7
8
|
/**
|
|
8
9
|
* Setup a component with settings in a single atomic operation.
|
|
9
10
|
* This is more comprehensive than create as it handles component creation
|
package/dist/v0.10/index.cjs.js
CHANGED
|
@@ -19896,6 +19896,9 @@ class ComponentUtils extends PlatformBaseClient {
|
|
|
19896
19896
|
async create(data) {
|
|
19897
19897
|
return await this.client.post("/v3/system/component/create", data);
|
|
19898
19898
|
}
|
|
19899
|
+
async delete(ref) {
|
|
19900
|
+
return await this.client.delete(`/v3/system/component/${ref}`);
|
|
19901
|
+
}
|
|
19899
19902
|
/**
|
|
19900
19903
|
* Setup a component with settings in a single atomic operation.
|
|
19901
19904
|
* This is more comprehensive than create as it handles component creation
|
package/dist/v0.10/index.esm.js
CHANGED
|
@@ -929,6 +929,9 @@ class ComponentUtils extends PlatformBaseClient {
|
|
|
929
929
|
async create(data) {
|
|
930
930
|
return await this.client.post("/v3/system/component/create", data);
|
|
931
931
|
}
|
|
932
|
+
async delete(ref) {
|
|
933
|
+
return await this.client.delete(`/v3/system/component/${ref}`);
|
|
934
|
+
}
|
|
932
935
|
/**
|
|
933
936
|
* Setup a component with settings in a single atomic operation.
|
|
934
937
|
* This is more comprehensive than create as it handles component creation
|
|
@@ -4,4 +4,5 @@ import PlatformBaseClient from "./platformBaseClient";
|
|
|
4
4
|
export default class ComponentUtils extends PlatformBaseClient {
|
|
5
5
|
list(): Promise<AxiosResponse<ComponentListResponse>>;
|
|
6
6
|
create(data: any): Promise<AxiosResponse<any, any>>;
|
|
7
|
+
delete(ref: string): Promise<AxiosResponse<any, any>>;
|
|
7
8
|
}
|
package/dist/v0.9/index.cjs.js
CHANGED
|
@@ -19616,6 +19616,9 @@ class ComponentUtils extends PlatformBaseClient {
|
|
|
19616
19616
|
async create(data) {
|
|
19617
19617
|
return await this.client.post("/v3/system/component/create", data);
|
|
19618
19618
|
}
|
|
19619
|
+
async delete(ref) {
|
|
19620
|
+
return await this.client.delete(`/v3/system/component/${ref}`);
|
|
19621
|
+
}
|
|
19619
19622
|
}
|
|
19620
19623
|
|
|
19621
19624
|
class Thunder extends PlatformBaseClient {
|
package/dist/v0.9/index.esm.js
CHANGED
|
@@ -647,6 +647,9 @@ class ComponentUtils extends PlatformBaseClient {
|
|
|
647
647
|
async create(data) {
|
|
648
648
|
return await this.client.post("/v3/system/component/create", data);
|
|
649
649
|
}
|
|
650
|
+
async delete(ref) {
|
|
651
|
+
return await this.client.delete(`/v3/system/component/${ref}`);
|
|
652
|
+
}
|
|
650
653
|
}
|
|
651
654
|
|
|
652
655
|
class Thunder extends PlatformBaseClient {
|