hanzoai 8.5.604 → 8.5.607
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/api/auto-api.d.ts +8 -8
- package/dist/api/auto-api.js +8 -8
- package/dist/esm/api/auto-api.d.ts +8 -8
- package/dist/esm/api/auto-api.js +8 -8
- package/dist/esm/models/auto-automation-in.d.ts +6 -0
- package/dist/esm/models/auto-automation.d.ts +6 -0
- package/dist/models/auto-automation-in.d.ts +6 -0
- package/dist/models/auto-automation.d.ts +6 -0
- package/package.json +1 -1
- package/src/api/auto-api.ts +8 -8
- package/src/models/auto-automation-in.ts +6 -0
- package/src/models/auto-automation.ts +6 -0
package/dist/api/auto-api.d.ts
CHANGED
|
@@ -137,7 +137,7 @@ export declare const AutoApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
137
137
|
*/
|
|
138
138
|
getAutoTemplates: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
139
139
|
/**
|
|
140
|
-
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
|
|
140
|
+
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
|
|
141
141
|
* @summary Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
|
|
142
142
|
* @param {string} id ID is the automation, from the path.
|
|
143
143
|
* @param {AutoAutomationPatch} autoAutomationPatch
|
|
@@ -155,7 +155,7 @@ export declare const AutoApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
155
155
|
*/
|
|
156
156
|
patchAutoFlowsById: (id: string, autoPatchFlowIn: AutoPatchFlowIn, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
157
157
|
/**
|
|
158
|
-
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand,
|
|
158
|
+
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
|
|
159
159
|
* @summary Creates an automation and arms its schedule.
|
|
160
160
|
* @param {AutoAutomationIn} autoAutomationIn
|
|
161
161
|
* @param {*} [options] Override http request option.
|
|
@@ -350,7 +350,7 @@ export declare const AutoApiFp: (configuration?: Configuration) => {
|
|
|
350
350
|
*/
|
|
351
351
|
getAutoTemplates(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoStarterPage>>;
|
|
352
352
|
/**
|
|
353
|
-
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
|
|
353
|
+
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
|
|
354
354
|
* @summary Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
|
|
355
355
|
* @param {string} id ID is the automation, from the path.
|
|
356
356
|
* @param {AutoAutomationPatch} autoAutomationPatch
|
|
@@ -368,7 +368,7 @@ export declare const AutoApiFp: (configuration?: Configuration) => {
|
|
|
368
368
|
*/
|
|
369
369
|
patchAutoFlowsById(id: string, autoPatchFlowIn: AutoPatchFlowIn, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoFlow>>;
|
|
370
370
|
/**
|
|
371
|
-
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand,
|
|
371
|
+
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
|
|
372
372
|
* @summary Creates an automation and arms its schedule.
|
|
373
373
|
* @param {AutoAutomationIn} autoAutomationIn
|
|
374
374
|
* @param {*} [options] Override http request option.
|
|
@@ -559,7 +559,7 @@ export declare const AutoApiFactory: (configuration?: Configuration, basePath?:
|
|
|
559
559
|
*/
|
|
560
560
|
getAutoTemplates(options?: RawAxiosRequestConfig): AxiosPromise<AutoStarterPage>;
|
|
561
561
|
/**
|
|
562
|
-
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
|
|
562
|
+
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
|
|
563
563
|
* @summary Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
|
|
564
564
|
* @param {AutoApiPatchAutoAutomationsByIdRequest} requestParameters Request parameters.
|
|
565
565
|
* @param {*} [options] Override http request option.
|
|
@@ -575,7 +575,7 @@ export declare const AutoApiFactory: (configuration?: Configuration, basePath?:
|
|
|
575
575
|
*/
|
|
576
576
|
patchAutoFlowsById(requestParameters: AutoApiPatchAutoFlowsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<AutoFlow>;
|
|
577
577
|
/**
|
|
578
|
-
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand,
|
|
578
|
+
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
|
|
579
579
|
* @summary Creates an automation and arms its schedule.
|
|
580
580
|
* @param {AutoApiPostAutoAutomationsRequest} requestParameters Request parameters.
|
|
581
581
|
* @param {*} [options] Override http request option.
|
|
@@ -1130,7 +1130,7 @@ export declare class AutoApi extends BaseAPI {
|
|
|
1130
1130
|
*/
|
|
1131
1131
|
getAutoTemplates(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<AutoStarterPage, any, {}>>;
|
|
1132
1132
|
/**
|
|
1133
|
-
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
|
|
1133
|
+
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
|
|
1134
1134
|
* @summary Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
|
|
1135
1135
|
* @param {AutoApiPatchAutoAutomationsByIdRequest} requestParameters Request parameters.
|
|
1136
1136
|
* @param {*} [options] Override http request option.
|
|
@@ -1148,7 +1148,7 @@ export declare class AutoApi extends BaseAPI {
|
|
|
1148
1148
|
*/
|
|
1149
1149
|
patchAutoFlowsById(requestParameters: AutoApiPatchAutoFlowsByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<AutoFlow, any, {}>>;
|
|
1150
1150
|
/**
|
|
1151
|
-
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand,
|
|
1151
|
+
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
|
|
1152
1152
|
* @summary Creates an automation and arms its schedule.
|
|
1153
1153
|
* @param {AutoApiPostAutoAutomationsRequest} requestParameters Request parameters.
|
|
1154
1154
|
* @param {*} [options] Override http request option.
|
package/dist/api/auto-api.js
CHANGED
|
@@ -422,7 +422,7 @@ const AutoApiAxiosParamCreator = function (configuration) {
|
|
|
422
422
|
};
|
|
423
423
|
},
|
|
424
424
|
/**
|
|
425
|
-
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
|
|
425
|
+
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
|
|
426
426
|
* @summary Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
|
|
427
427
|
* @param {string} id ID is the automation, from the path.
|
|
428
428
|
* @param {AutoAutomationPatch} autoAutomationPatch
|
|
@@ -496,7 +496,7 @@ const AutoApiAxiosParamCreator = function (configuration) {
|
|
|
496
496
|
};
|
|
497
497
|
},
|
|
498
498
|
/**
|
|
499
|
-
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand,
|
|
499
|
+
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
|
|
500
500
|
* @summary Creates an automation and arms its schedule.
|
|
501
501
|
* @param {AutoAutomationIn} autoAutomationIn
|
|
502
502
|
* @param {*} [options] Override http request option.
|
|
@@ -1032,7 +1032,7 @@ const AutoApiFp = function (configuration) {
|
|
|
1032
1032
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1033
1033
|
},
|
|
1034
1034
|
/**
|
|
1035
|
-
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
|
|
1035
|
+
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
|
|
1036
1036
|
* @summary Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
|
|
1037
1037
|
* @param {string} id ID is the automation, from the path.
|
|
1038
1038
|
* @param {AutoAutomationPatch} autoAutomationPatch
|
|
@@ -1060,7 +1060,7 @@ const AutoApiFp = function (configuration) {
|
|
|
1060
1060
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1061
1061
|
},
|
|
1062
1062
|
/**
|
|
1063
|
-
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand,
|
|
1063
|
+
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
|
|
1064
1064
|
* @summary Creates an automation and arms its schedule.
|
|
1065
1065
|
* @param {AutoAutomationIn} autoAutomationIn
|
|
1066
1066
|
* @param {*} [options] Override http request option.
|
|
@@ -1334,7 +1334,7 @@ const AutoApiFactory = function (configuration, basePath, axios) {
|
|
|
1334
1334
|
return localVarFp.getAutoTemplates(options).then((request) => request(axios, basePath));
|
|
1335
1335
|
},
|
|
1336
1336
|
/**
|
|
1337
|
-
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
|
|
1337
|
+
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
|
|
1338
1338
|
* @summary Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
|
|
1339
1339
|
* @param {AutoApiPatchAutoAutomationsByIdRequest} requestParameters Request parameters.
|
|
1340
1340
|
* @param {*} [options] Override http request option.
|
|
@@ -1354,7 +1354,7 @@ const AutoApiFactory = function (configuration, basePath, axios) {
|
|
|
1354
1354
|
return localVarFp.patchAutoFlowsById(requestParameters.id, requestParameters.autoPatchFlowIn, options).then((request) => request(axios, basePath));
|
|
1355
1355
|
},
|
|
1356
1356
|
/**
|
|
1357
|
-
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand,
|
|
1357
|
+
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
|
|
1358
1358
|
* @summary Creates an automation and arms its schedule.
|
|
1359
1359
|
* @param {AutoApiPostAutoAutomationsRequest} requestParameters Request parameters.
|
|
1360
1360
|
* @param {*} [options] Override http request option.
|
|
@@ -1604,7 +1604,7 @@ class AutoApi extends base_1.BaseAPI {
|
|
|
1604
1604
|
return (0, exports.AutoApiFp)(this.configuration).getAutoTemplates(options).then((request) => request(this.axios, this.basePath));
|
|
1605
1605
|
}
|
|
1606
1606
|
/**
|
|
1607
|
-
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
|
|
1607
|
+
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
|
|
1608
1608
|
* @summary Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
|
|
1609
1609
|
* @param {AutoApiPatchAutoAutomationsByIdRequest} requestParameters Request parameters.
|
|
1610
1610
|
* @param {*} [options] Override http request option.
|
|
@@ -1626,7 +1626,7 @@ class AutoApi extends base_1.BaseAPI {
|
|
|
1626
1626
|
return (0, exports.AutoApiFp)(this.configuration).patchAutoFlowsById(requestParameters.id, requestParameters.autoPatchFlowIn, options).then((request) => request(this.axios, this.basePath));
|
|
1627
1627
|
}
|
|
1628
1628
|
/**
|
|
1629
|
-
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand,
|
|
1629
|
+
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
|
|
1630
1630
|
* @summary Creates an automation and arms its schedule.
|
|
1631
1631
|
* @param {AutoApiPostAutoAutomationsRequest} requestParameters Request parameters.
|
|
1632
1632
|
* @param {*} [options] Override http request option.
|
|
@@ -136,7 +136,7 @@ export declare const AutoApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
136
136
|
*/
|
|
137
137
|
getAutoTemplates: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
138
138
|
/**
|
|
139
|
-
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
|
|
139
|
+
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
|
|
140
140
|
* @summary Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
|
|
141
141
|
* @param {string} id ID is the automation, from the path.
|
|
142
142
|
* @param {AutoAutomationPatch} autoAutomationPatch
|
|
@@ -154,7 +154,7 @@ export declare const AutoApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
154
154
|
*/
|
|
155
155
|
patchAutoFlowsById: (id: string, autoPatchFlowIn: AutoPatchFlowIn, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
156
156
|
/**
|
|
157
|
-
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand,
|
|
157
|
+
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
|
|
158
158
|
* @summary Creates an automation and arms its schedule.
|
|
159
159
|
* @param {AutoAutomationIn} autoAutomationIn
|
|
160
160
|
* @param {*} [options] Override http request option.
|
|
@@ -349,7 +349,7 @@ export declare const AutoApiFp: (configuration?: Configuration) => {
|
|
|
349
349
|
*/
|
|
350
350
|
getAutoTemplates(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoStarterPage>>;
|
|
351
351
|
/**
|
|
352
|
-
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
|
|
352
|
+
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
|
|
353
353
|
* @summary Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
|
|
354
354
|
* @param {string} id ID is the automation, from the path.
|
|
355
355
|
* @param {AutoAutomationPatch} autoAutomationPatch
|
|
@@ -367,7 +367,7 @@ export declare const AutoApiFp: (configuration?: Configuration) => {
|
|
|
367
367
|
*/
|
|
368
368
|
patchAutoFlowsById(id: string, autoPatchFlowIn: AutoPatchFlowIn, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoFlow>>;
|
|
369
369
|
/**
|
|
370
|
-
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand,
|
|
370
|
+
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
|
|
371
371
|
* @summary Creates an automation and arms its schedule.
|
|
372
372
|
* @param {AutoAutomationIn} autoAutomationIn
|
|
373
373
|
* @param {*} [options] Override http request option.
|
|
@@ -558,7 +558,7 @@ export declare const AutoApiFactory: (configuration?: Configuration, basePath?:
|
|
|
558
558
|
*/
|
|
559
559
|
getAutoTemplates(options?: RawAxiosRequestConfig): AxiosPromise<AutoStarterPage>;
|
|
560
560
|
/**
|
|
561
|
-
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
|
|
561
|
+
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
|
|
562
562
|
* @summary Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
|
|
563
563
|
* @param {AutoApiPatchAutoAutomationsByIdRequest} requestParameters Request parameters.
|
|
564
564
|
* @param {*} [options] Override http request option.
|
|
@@ -574,7 +574,7 @@ export declare const AutoApiFactory: (configuration?: Configuration, basePath?:
|
|
|
574
574
|
*/
|
|
575
575
|
patchAutoFlowsById(requestParameters: AutoApiPatchAutoFlowsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<AutoFlow>;
|
|
576
576
|
/**
|
|
577
|
-
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand,
|
|
577
|
+
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
|
|
578
578
|
* @summary Creates an automation and arms its schedule.
|
|
579
579
|
* @param {AutoApiPostAutoAutomationsRequest} requestParameters Request parameters.
|
|
580
580
|
* @param {*} [options] Override http request option.
|
|
@@ -1129,7 +1129,7 @@ export declare class AutoApi extends BaseAPI {
|
|
|
1129
1129
|
*/
|
|
1130
1130
|
getAutoTemplates(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoStarterPage, any, {}>>;
|
|
1131
1131
|
/**
|
|
1132
|
-
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
|
|
1132
|
+
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
|
|
1133
1133
|
* @summary Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
|
|
1134
1134
|
* @param {AutoApiPatchAutoAutomationsByIdRequest} requestParameters Request parameters.
|
|
1135
1135
|
* @param {*} [options] Override http request option.
|
|
@@ -1147,7 +1147,7 @@ export declare class AutoApi extends BaseAPI {
|
|
|
1147
1147
|
*/
|
|
1148
1148
|
patchAutoFlowsById(requestParameters: AutoApiPatchAutoFlowsByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoFlow, any, {}>>;
|
|
1149
1149
|
/**
|
|
1150
|
-
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand,
|
|
1150
|
+
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
|
|
1151
1151
|
* @summary Creates an automation and arms its schedule.
|
|
1152
1152
|
* @param {AutoApiPostAutoAutomationsRequest} requestParameters Request parameters.
|
|
1153
1153
|
* @param {*} [options] Override http request option.
|
package/dist/esm/api/auto-api.js
CHANGED
|
@@ -416,7 +416,7 @@ export const AutoApiAxiosParamCreator = function (configuration) {
|
|
|
416
416
|
};
|
|
417
417
|
},
|
|
418
418
|
/**
|
|
419
|
-
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
|
|
419
|
+
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
|
|
420
420
|
* @summary Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
|
|
421
421
|
* @param {string} id ID is the automation, from the path.
|
|
422
422
|
* @param {AutoAutomationPatch} autoAutomationPatch
|
|
@@ -490,7 +490,7 @@ export const AutoApiAxiosParamCreator = function (configuration) {
|
|
|
490
490
|
};
|
|
491
491
|
},
|
|
492
492
|
/**
|
|
493
|
-
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand,
|
|
493
|
+
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
|
|
494
494
|
* @summary Creates an automation and arms its schedule.
|
|
495
495
|
* @param {AutoAutomationIn} autoAutomationIn
|
|
496
496
|
* @param {*} [options] Override http request option.
|
|
@@ -1025,7 +1025,7 @@ export const AutoApiFp = function (configuration) {
|
|
|
1025
1025
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1026
1026
|
},
|
|
1027
1027
|
/**
|
|
1028
|
-
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
|
|
1028
|
+
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
|
|
1029
1029
|
* @summary Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
|
|
1030
1030
|
* @param {string} id ID is the automation, from the path.
|
|
1031
1031
|
* @param {AutoAutomationPatch} autoAutomationPatch
|
|
@@ -1053,7 +1053,7 @@ export const AutoApiFp = function (configuration) {
|
|
|
1053
1053
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1054
1054
|
},
|
|
1055
1055
|
/**
|
|
1056
|
-
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand,
|
|
1056
|
+
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
|
|
1057
1057
|
* @summary Creates an automation and arms its schedule.
|
|
1058
1058
|
* @param {AutoAutomationIn} autoAutomationIn
|
|
1059
1059
|
* @param {*} [options] Override http request option.
|
|
@@ -1326,7 +1326,7 @@ export const AutoApiFactory = function (configuration, basePath, axios) {
|
|
|
1326
1326
|
return localVarFp.getAutoTemplates(options).then((request) => request(axios, basePath));
|
|
1327
1327
|
},
|
|
1328
1328
|
/**
|
|
1329
|
-
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
|
|
1329
|
+
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
|
|
1330
1330
|
* @summary Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
|
|
1331
1331
|
* @param {AutoApiPatchAutoAutomationsByIdRequest} requestParameters Request parameters.
|
|
1332
1332
|
* @param {*} [options] Override http request option.
|
|
@@ -1346,7 +1346,7 @@ export const AutoApiFactory = function (configuration, basePath, axios) {
|
|
|
1346
1346
|
return localVarFp.patchAutoFlowsById(requestParameters.id, requestParameters.autoPatchFlowIn, options).then((request) => request(axios, basePath));
|
|
1347
1347
|
},
|
|
1348
1348
|
/**
|
|
1349
|
-
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand,
|
|
1349
|
+
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
|
|
1350
1350
|
* @summary Creates an automation and arms its schedule.
|
|
1351
1351
|
* @param {AutoApiPostAutoAutomationsRequest} requestParameters Request parameters.
|
|
1352
1352
|
* @param {*} [options] Override http request option.
|
|
@@ -1595,7 +1595,7 @@ export class AutoApi extends BaseAPI {
|
|
|
1595
1595
|
return AutoApiFp(this.configuration).getAutoTemplates(options).then((request) => request(this.axios, this.basePath));
|
|
1596
1596
|
}
|
|
1597
1597
|
/**
|
|
1598
|
-
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
|
|
1598
|
+
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
|
|
1599
1599
|
* @summary Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
|
|
1600
1600
|
* @param {AutoApiPatchAutoAutomationsByIdRequest} requestParameters Request parameters.
|
|
1601
1601
|
* @param {*} [options] Override http request option.
|
|
@@ -1617,7 +1617,7 @@ export class AutoApi extends BaseAPI {
|
|
|
1617
1617
|
return AutoApiFp(this.configuration).patchAutoFlowsById(requestParameters.id, requestParameters.autoPatchFlowIn, options).then((request) => request(this.axios, this.basePath));
|
|
1618
1618
|
}
|
|
1619
1619
|
/**
|
|
1620
|
-
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand,
|
|
1620
|
+
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
|
|
1621
1621
|
* @summary Creates an automation and arms its schedule.
|
|
1622
1622
|
* @param {AutoApiPostAutoAutomationsRequest} requestParameters Request parameters.
|
|
1623
1623
|
* @param {*} [options] Override http request option.
|
|
@@ -16,6 +16,12 @@ import type { AutoSchedule } from './auto-schedule';
|
|
|
16
16
|
* @interface AutoAutomationIn
|
|
17
17
|
*/
|
|
18
18
|
export interface AutoAutomationIn {
|
|
19
|
+
/**
|
|
20
|
+
* Enabled arms its schedule. Absent is true.
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof AutoAutomationIn
|
|
23
|
+
*/
|
|
24
|
+
'enabled'?: boolean;
|
|
19
25
|
/**
|
|
20
26
|
* Instructions are what the agent is asked to do each run. Required.
|
|
21
27
|
* @type {string}
|
|
@@ -23,6 +23,12 @@ export interface AutoAutomation {
|
|
|
23
23
|
* @memberof AutoAutomation
|
|
24
24
|
*/
|
|
25
25
|
'created'?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Draft is a flow with no step yet: it has no instructions, never runs, and becomes an automation when its instructions are saved.
|
|
28
|
+
* @type {boolean}
|
|
29
|
+
* @memberof AutoAutomation
|
|
30
|
+
*/
|
|
31
|
+
'draft'?: boolean;
|
|
26
32
|
/**
|
|
27
33
|
* Enabled is whether its schedule is armed.
|
|
28
34
|
* @type {boolean}
|
|
@@ -16,6 +16,12 @@ import type { AutoSchedule } from './auto-schedule';
|
|
|
16
16
|
* @interface AutoAutomationIn
|
|
17
17
|
*/
|
|
18
18
|
export interface AutoAutomationIn {
|
|
19
|
+
/**
|
|
20
|
+
* Enabled arms its schedule. Absent is true.
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof AutoAutomationIn
|
|
23
|
+
*/
|
|
24
|
+
'enabled'?: boolean;
|
|
19
25
|
/**
|
|
20
26
|
* Instructions are what the agent is asked to do each run. Required.
|
|
21
27
|
* @type {string}
|
|
@@ -23,6 +23,12 @@ export interface AutoAutomation {
|
|
|
23
23
|
* @memberof AutoAutomation
|
|
24
24
|
*/
|
|
25
25
|
'created'?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Draft is a flow with no step yet: it has no instructions, never runs, and becomes an automation when its instructions are saved.
|
|
28
|
+
* @type {boolean}
|
|
29
|
+
* @memberof AutoAutomation
|
|
30
|
+
*/
|
|
31
|
+
'draft'?: boolean;
|
|
26
32
|
/**
|
|
27
33
|
* Enabled is whether its schedule is armed.
|
|
28
34
|
* @type {boolean}
|
package/package.json
CHANGED
package/src/api/auto-api.ts
CHANGED
|
@@ -541,7 +541,7 @@ export const AutoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
541
541
|
};
|
|
542
542
|
},
|
|
543
543
|
/**
|
|
544
|
-
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
|
|
544
|
+
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
|
|
545
545
|
* @summary Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
|
|
546
546
|
* @param {string} id ID is the automation, from the path.
|
|
547
547
|
* @param {AutoAutomationPatch} autoAutomationPatch
|
|
@@ -629,7 +629,7 @@ export const AutoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
629
629
|
};
|
|
630
630
|
},
|
|
631
631
|
/**
|
|
632
|
-
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand,
|
|
632
|
+
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
|
|
633
633
|
* @summary Creates an automation and arms its schedule.
|
|
634
634
|
* @param {AutoAutomationIn} autoAutomationIn
|
|
635
635
|
* @param {*} [options] Override http request option.
|
|
@@ -1235,7 +1235,7 @@ export const AutoApiFp = function(configuration?: Configuration) {
|
|
|
1235
1235
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1236
1236
|
},
|
|
1237
1237
|
/**
|
|
1238
|
-
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
|
|
1238
|
+
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
|
|
1239
1239
|
* @summary Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
|
|
1240
1240
|
* @param {string} id ID is the automation, from the path.
|
|
1241
1241
|
* @param {AutoAutomationPatch} autoAutomationPatch
|
|
@@ -1263,7 +1263,7 @@ export const AutoApiFp = function(configuration?: Configuration) {
|
|
|
1263
1263
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1264
1264
|
},
|
|
1265
1265
|
/**
|
|
1266
|
-
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand,
|
|
1266
|
+
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
|
|
1267
1267
|
* @summary Creates an automation and arms its schedule.
|
|
1268
1268
|
* @param {AutoAutomationIn} autoAutomationIn
|
|
1269
1269
|
* @param {*} [options] Override http request option.
|
|
@@ -1537,7 +1537,7 @@ export const AutoApiFactory = function (configuration?: Configuration, basePath?
|
|
|
1537
1537
|
return localVarFp.getAutoTemplates(options).then((request) => request(axios, basePath));
|
|
1538
1538
|
},
|
|
1539
1539
|
/**
|
|
1540
|
-
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
|
|
1540
|
+
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
|
|
1541
1541
|
* @summary Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
|
|
1542
1542
|
* @param {AutoApiPatchAutoAutomationsByIdRequest} requestParameters Request parameters.
|
|
1543
1543
|
* @param {*} [options] Override http request option.
|
|
@@ -1557,7 +1557,7 @@ export const AutoApiFactory = function (configuration?: Configuration, basePath?
|
|
|
1557
1557
|
return localVarFp.patchAutoFlowsById(requestParameters.id, requestParameters.autoPatchFlowIn, options).then((request) => request(axios, basePath));
|
|
1558
1558
|
},
|
|
1559
1559
|
/**
|
|
1560
|
-
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand,
|
|
1560
|
+
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
|
|
1561
1561
|
* @summary Creates an automation and arms its schedule.
|
|
1562
1562
|
* @param {AutoApiPostAutoAutomationsRequest} requestParameters Request parameters.
|
|
1563
1563
|
* @param {*} [options] Override http request option.
|
|
@@ -2204,7 +2204,7 @@ export class AutoApi extends BaseAPI {
|
|
|
2204
2204
|
}
|
|
2205
2205
|
|
|
2206
2206
|
/**
|
|
2207
|
-
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
|
|
2207
|
+
* Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
|
|
2208
2208
|
* @summary Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
|
|
2209
2209
|
* @param {AutoApiPatchAutoAutomationsByIdRequest} requestParameters Request parameters.
|
|
2210
2210
|
* @param {*} [options] Override http request option.
|
|
@@ -2228,7 +2228,7 @@ export class AutoApi extends BaseAPI {
|
|
|
2228
2228
|
}
|
|
2229
2229
|
|
|
2230
2230
|
/**
|
|
2231
|
-
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand,
|
|
2231
|
+
* Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
|
|
2232
2232
|
* @summary Creates an automation and arms its schedule.
|
|
2233
2233
|
* @param {AutoApiPostAutoAutomationsRequest} requestParameters Request parameters.
|
|
2234
2234
|
* @param {*} [options] Override http request option.
|
|
@@ -23,6 +23,12 @@ import type { AutoSchedule } from './auto-schedule';
|
|
|
23
23
|
* @interface AutoAutomationIn
|
|
24
24
|
*/
|
|
25
25
|
export interface AutoAutomationIn {
|
|
26
|
+
/**
|
|
27
|
+
* Enabled arms its schedule. Absent is true.
|
|
28
|
+
* @type {boolean}
|
|
29
|
+
* @memberof AutoAutomationIn
|
|
30
|
+
*/
|
|
31
|
+
'enabled'?: boolean;
|
|
26
32
|
/**
|
|
27
33
|
* Instructions are what the agent is asked to do each run. Required.
|
|
28
34
|
* @type {string}
|
|
@@ -32,6 +32,12 @@ export interface AutoAutomation {
|
|
|
32
32
|
* @memberof AutoAutomation
|
|
33
33
|
*/
|
|
34
34
|
'created'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Draft is a flow with no step yet: it has no instructions, never runs, and becomes an automation when its instructions are saved.
|
|
37
|
+
* @type {boolean}
|
|
38
|
+
* @memberof AutoAutomation
|
|
39
|
+
*/
|
|
40
|
+
'draft'?: boolean;
|
|
35
41
|
/**
|
|
36
42
|
* Enabled is whether its schedule is armed.
|
|
37
43
|
* @type {boolean}
|