@lotics/cli 0.209.0 → 0.211.0
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/src/cli.js +1105 -115
- package/dist/src/client.d.ts +0 -15
- package/dist/src/client.js +0 -12
- package/package.json +1 -1
package/dist/src/client.d.ts
CHANGED
|
@@ -1251,21 +1251,6 @@ export declare class LoticsClient {
|
|
|
1251
1251
|
}>;
|
|
1252
1252
|
}>;
|
|
1253
1253
|
}>;
|
|
1254
|
-
/**
|
|
1255
|
-
* When a record entered each option of one of its select fields — what a
|
|
1256
|
-
* lifecycle drawn as steps dates each step by. Mirrors
|
|
1257
|
-
* GET /v1/apps/{app_id}/records/{record_id}/field-history.
|
|
1258
|
-
*/
|
|
1259
|
-
appFieldHistory(app_id: string, args: {
|
|
1260
|
-
table_id: string;
|
|
1261
|
-
record_id: string;
|
|
1262
|
-
field_id: string;
|
|
1263
|
-
}): Promise<{
|
|
1264
|
-
entered: Array<{
|
|
1265
|
-
option_id: string;
|
|
1266
|
-
entered_at: string;
|
|
1267
|
-
}>;
|
|
1268
|
-
}>;
|
|
1269
1254
|
/**
|
|
1270
1255
|
* Execute a workflow by alias declared in package.json#lotics.workflows.
|
|
1271
1256
|
* Mirrors POST /v1/apps/{app_id}/workflows/{alias}/execute.
|
package/dist/src/client.js
CHANGED
|
@@ -807,18 +807,6 @@ var LoticsClient = class {
|
|
|
807
807
|
async appFieldOptions(app_id, alias) {
|
|
808
808
|
return this.request("POST", `/v1/apps/${encodeURIComponent(app_id)}/field-options`, { alias });
|
|
809
809
|
}
|
|
810
|
-
/**
|
|
811
|
-
* When a record entered each option of one of its select fields — what a
|
|
812
|
-
* lifecycle drawn as steps dates each step by. Mirrors
|
|
813
|
-
* GET /v1/apps/{app_id}/records/{record_id}/field-history.
|
|
814
|
-
*/
|
|
815
|
-
async appFieldHistory(app_id, args) {
|
|
816
|
-
const qs = new URLSearchParams({ table_id: args.table_id, field_id: args.field_id });
|
|
817
|
-
return this.request(
|
|
818
|
-
"GET",
|
|
819
|
-
`/v1/apps/${encodeURIComponent(app_id)}/records/${encodeURIComponent(args.record_id)}/field-history?${qs.toString()}`
|
|
820
|
-
);
|
|
821
|
-
}
|
|
822
810
|
/**
|
|
823
811
|
* Execute a workflow by alias declared in package.json#lotics.workflows.
|
|
824
812
|
* Mirrors POST /v1/apps/{app_id}/workflows/{alias}/execute.
|