hanzoai 8.5.621 → 8.5.640
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/README.md +64 -9
- package/dist/answer.js +20 -10
- package/dist/api/ai-api.d.ts +280 -14
- package/dist/api/ai-api.js +315 -29
- package/dist/api/auto-api.d.ts +64 -0
- package/dist/api/auto-api.js +77 -0
- package/dist/api/billing-api.d.ts +4 -4
- package/dist/api/billing-api.js +4 -4
- package/dist/api/git-api.d.ts +30 -0
- package/dist/api/git-api.js +59 -0
- package/dist/api/task-api.d.ts +55 -0
- package/dist/api/task-api.js +71 -0
- package/dist/client.d.ts +3 -2
- package/dist/client.js +4 -3
- package/dist/esm/answer.js +20 -10
- package/dist/esm/api/ai-api.d.ts +280 -14
- package/dist/esm/api/ai-api.js +315 -29
- package/dist/esm/api/auto-api.d.ts +64 -0
- package/dist/esm/api/auto-api.js +77 -0
- package/dist/esm/api/billing-api.d.ts +4 -4
- package/dist/esm/api/billing-api.js +4 -4
- package/dist/esm/api/git-api.d.ts +30 -0
- package/dist/esm/api/git-api.js +59 -0
- package/dist/esm/api/task-api.d.ts +55 -0
- package/dist/esm/api/task-api.js +71 -0
- package/dist/esm/client.d.ts +3 -2
- package/dist/esm/client.js +3 -2
- package/dist/esm/hanzo.d.ts +3 -0
- package/dist/esm/hanzo.js +6 -0
- package/dist/esm/models/agent-target-view.d.ts +6 -0
- package/dist/esm/models/ai-chat-in.d.ts +42 -0
- package/dist/esm/models/ai-chat.d.ts +37 -0
- package/dist/esm/models/ai-decide-in.d.ts +50 -0
- package/dist/esm/models/ai-decide-in.js +14 -0
- package/dist/esm/models/ai-decision-sides.d.ts +4 -5
- package/dist/esm/models/{ai-decision-sides-false.d.ts → ai-decision.d.ts} +15 -2
- package/dist/esm/models/ai-decision.js +14 -0
- package/dist/esm/models/ai-decisions-answer.d.ts +2 -3
- package/dist/esm/models/ai-decisions-choice.d.ts +4 -8
- package/dist/esm/models/ai-decisions-noul.d.ts +2 -3
- package/dist/esm/models/ai-decisions-request.d.ts +2 -3
- package/dist/esm/models/ai-decisions-score.d.ts +4 -5
- package/dist/esm/models/ai-model.d.ts +73 -0
- package/dist/esm/models/ai-model.js +14 -0
- package/dist/esm/models/{ai-decisions-choice-criteria-value.d.ts → ai-models.d.ts} +15 -2
- package/dist/esm/models/ai-models.js +14 -0
- package/dist/esm/models/ai-price.d.ts +48 -0
- package/dist/esm/models/ai-price.js +14 -0
- package/dist/esm/models/ai-receipt.d.ts +60 -0
- package/dist/esm/models/ai-receipt.js +14 -0
- package/dist/esm/models/ai-routing-reward-request.d.ts +54 -0
- package/dist/esm/models/ai-routing-reward-request.js +24 -0
- package/dist/esm/models/auto-automation-in.d.ts +6 -0
- package/dist/esm/models/auto-automation-patch.d.ts +6 -0
- package/dist/esm/models/auto-automation-run.d.ts +14 -1
- package/dist/esm/models/auto-automation.d.ts +6 -0
- package/dist/esm/models/auto-post-result.d.ts +36 -0
- package/dist/esm/models/auto-post-result.js +14 -0
- package/dist/esm/models/auto-review-in.d.ts +36 -0
- package/dist/esm/models/auto-review-in.js +14 -0
- package/dist/esm/models/git-workspace-view.d.ts +36 -0
- package/dist/esm/models/git-workspace-view.js +14 -0
- package/dist/esm/models/iam-user.d.ts +1 -1
- package/dist/esm/models/index.d.ts +14 -2
- package/dist/esm/models/index.js +14 -2
- package/dist/esm/models/provider-github-import-out.d.ts +6 -0
- package/dist/esm/models/provider-github-repo-item.d.ts +6 -0
- package/dist/esm/models/task-comment-list.d.ts +31 -0
- package/dist/esm/models/task-comment-list.js +14 -0
- package/dist/esm/models/task-comment.d.ts +42 -0
- package/dist/esm/models/task-comment.js +14 -0
- package/dist/esm/transport.d.ts +4 -0
- package/dist/esm/transport.js +188 -0
- package/dist/esm/usage.d.ts +98 -0
- package/dist/esm/usage.js +161 -0
- package/dist/hanzo.d.ts +3 -0
- package/dist/hanzo.js +16 -1
- package/dist/models/agent-target-view.d.ts +6 -0
- package/dist/models/ai-chat-in.d.ts +42 -0
- package/dist/models/ai-chat.d.ts +37 -0
- package/dist/models/ai-decide-in.d.ts +50 -0
- package/dist/models/ai-decide-in.js +15 -0
- package/dist/models/ai-decision-sides.d.ts +4 -5
- package/dist/models/{ai-decision-sides-false.d.ts → ai-decision.d.ts} +15 -2
- package/dist/models/ai-decision.js +15 -0
- package/dist/models/ai-decisions-answer.d.ts +2 -3
- package/dist/models/ai-decisions-choice.d.ts +4 -8
- package/dist/models/ai-decisions-noul.d.ts +2 -3
- package/dist/models/ai-decisions-request.d.ts +2 -3
- package/dist/models/ai-decisions-score.d.ts +4 -5
- package/dist/models/ai-model.d.ts +73 -0
- package/dist/models/ai-model.js +15 -0
- package/dist/models/{ai-decisions-choice-criteria-value.d.ts → ai-models.d.ts} +15 -2
- package/dist/models/ai-models.js +15 -0
- package/dist/models/ai-price.d.ts +48 -0
- package/dist/models/ai-price.js +15 -0
- package/dist/models/ai-receipt.d.ts +60 -0
- package/dist/models/ai-receipt.js +15 -0
- package/dist/models/ai-routing-reward-request.d.ts +54 -0
- package/dist/models/ai-routing-reward-request.js +27 -0
- package/dist/models/auto-automation-in.d.ts +6 -0
- package/dist/models/auto-automation-patch.d.ts +6 -0
- package/dist/models/auto-automation-run.d.ts +14 -1
- package/dist/models/auto-automation.d.ts +6 -0
- package/dist/models/auto-post-result.d.ts +36 -0
- package/dist/models/auto-post-result.js +15 -0
- package/dist/models/auto-review-in.d.ts +36 -0
- package/dist/models/auto-review-in.js +15 -0
- package/dist/models/git-workspace-view.d.ts +36 -0
- package/dist/models/git-workspace-view.js +15 -0
- package/dist/models/iam-user.d.ts +1 -1
- package/dist/models/index.d.ts +14 -2
- package/dist/models/index.js +14 -2
- package/dist/models/provider-github-import-out.d.ts +6 -0
- package/dist/models/provider-github-repo-item.d.ts +6 -0
- package/dist/models/task-comment-list.d.ts +31 -0
- package/dist/models/task-comment-list.js +15 -0
- package/dist/models/task-comment.d.ts +42 -0
- package/dist/models/task-comment.js +15 -0
- package/dist/transport.d.ts +4 -0
- package/dist/transport.js +195 -0
- package/dist/usage.d.ts +98 -0
- package/dist/usage.js +174 -0
- package/package.json +1 -1
- package/src/answer.ts +23 -10
- package/src/api/ai-api.ts +503 -29
- package/src/api/auto-api.ts +117 -0
- package/src/api/billing-api.ts +4 -4
- package/src/api/git-api.ts +68 -0
- package/src/api/task-api.ts +101 -0
- package/src/client.ts +3 -2
- package/src/hanzo.ts +18 -0
- package/src/models/agent-target-view.ts +6 -0
- package/src/models/ai-chat-in.ts +48 -0
- package/src/models/ai-chat.ts +45 -0
- package/src/models/ai-decide-in.ts +54 -0
- package/src/models/ai-decision-sides.ts +4 -7
- package/src/models/{ai-decision-sides-false.ts → ai-decision.ts} +17 -2
- package/src/models/ai-decisions-answer.ts +2 -5
- package/src/models/ai-decisions-choice.ts +4 -10
- package/src/models/ai-decisions-noul.ts +2 -5
- package/src/models/ai-decisions-question.ts +0 -3
- package/src/models/ai-decisions-request.ts +2 -5
- package/src/models/ai-decisions-score.ts +4 -7
- package/src/models/ai-model.ts +81 -0
- package/src/models/{ai-decisions-choice-criteria-value.ts → ai-models.ts} +17 -2
- package/src/models/ai-price.ts +54 -0
- package/src/models/ai-receipt.ts +66 -0
- package/src/models/ai-routing-reward-request.ts +63 -0
- package/src/models/auto-automation-in.ts +6 -0
- package/src/models/auto-automation-patch.ts +6 -0
- package/src/models/auto-automation-run.ts +16 -1
- package/src/models/auto-automation.ts +6 -0
- package/src/models/auto-post-result.ts +42 -0
- package/src/models/auto-review-in.ts +42 -0
- package/src/models/git-workspace-view.ts +42 -0
- package/src/models/iam-user.ts +1 -1
- package/src/models/index.ts +14 -2
- package/src/models/provider-github-import-out.ts +6 -0
- package/src/models/provider-github-repo-item.ts +6 -0
- package/src/models/task-comment-list.ts +39 -0
- package/src/models/task-comment.ts +48 -0
- package/src/transport.ts +190 -0
- package/src/usage.ts +203 -0
- /package/dist/esm/models/{ai-decision-sides-false.js → ai-chat-in.js} +0 -0
- /package/dist/esm/models/{ai-decisions-choice-criteria-value.js → ai-chat.js} +0 -0
- /package/dist/models/{ai-decision-sides-false.js → ai-chat-in.js} +0 -0
- /package/dist/models/{ai-decisions-choice-criteria-value.js → ai-chat.js} +0 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hanzo Cloud API
|
|
3
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AiPrice
|
|
16
|
+
*/
|
|
17
|
+
export interface AiPrice {
|
|
18
|
+
/**
|
|
19
|
+
* Completion is the price of one output token, a decimal string.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AiPrice
|
|
22
|
+
*/
|
|
23
|
+
'completion'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* InputPerMillion is the price of a million input tokens.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AiPrice
|
|
28
|
+
*/
|
|
29
|
+
'input_per_million'?: number;
|
|
30
|
+
/**
|
|
31
|
+
* OutputPerMillion is the price of a million output tokens.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof AiPrice
|
|
34
|
+
*/
|
|
35
|
+
'output_per_million'?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Prompt is the price of one input token, a decimal string.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AiPrice
|
|
40
|
+
*/
|
|
41
|
+
'prompt'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Variable is true for a router that bills each answer at the price of the model that gave it; the figures above are then that router\'s ceiling.
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof AiPrice
|
|
46
|
+
*/
|
|
47
|
+
'variable'?: boolean;
|
|
48
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Hanzo Cloud API
|
|
5
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hanzo Cloud API
|
|
3
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AiReceipt
|
|
16
|
+
*/
|
|
17
|
+
export interface AiReceipt {
|
|
18
|
+
/**
|
|
19
|
+
* Class is the model\'s class as billed: premium, ours or free (X-Hanzo-Usage-Class).
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AiReceipt
|
|
22
|
+
*/
|
|
23
|
+
'class'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Fallback is the model that answered in place of the one asked, in limited mode (X-Hanzo-Fallback).
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AiReceipt
|
|
28
|
+
*/
|
|
29
|
+
'fallback'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* PaidBy is plan, credits or free (X-Hanzo-Paid-By); absent when the answer named no payer, as a free model\'s does.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AiReceipt
|
|
34
|
+
*/
|
|
35
|
+
'paid_by'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Reason is the refusal code that sent the request to the fallback (X-Hanzo-Usage-Reason).
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AiReceipt
|
|
40
|
+
*/
|
|
41
|
+
'reason'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Routed is the model `auto` resolved to (X-Routed-Model).
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AiReceipt
|
|
46
|
+
*/
|
|
47
|
+
'routed'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Served is the model that answered (X-Hanzo-Served).
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AiReceipt
|
|
52
|
+
*/
|
|
53
|
+
'served'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Usage is where that class stands for the payer: ok, near or limited (X-Hanzo-Usage).
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof AiReceipt
|
|
58
|
+
*/
|
|
59
|
+
'usage'?: string;
|
|
60
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Hanzo Cloud API
|
|
5
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hanzo Cloud API
|
|
3
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AiRoutingRewardRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface AiRoutingRewardRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AiRoutingRewardRequest
|
|
22
|
+
*/
|
|
23
|
+
'rating'?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AiRoutingRewardRequest
|
|
28
|
+
*/
|
|
29
|
+
'request_id': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof AiRoutingRewardRequest
|
|
34
|
+
*/
|
|
35
|
+
'reward'?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AiRoutingRewardRequest
|
|
40
|
+
*/
|
|
41
|
+
'signal'?: AiRoutingRewardRequestSignalEnum;
|
|
42
|
+
}
|
|
43
|
+
export declare const AiRoutingRewardRequestSignalEnum: {
|
|
44
|
+
readonly Up: 'up';
|
|
45
|
+
readonly Accept: 'accept';
|
|
46
|
+
readonly Regenerate: 'regenerate';
|
|
47
|
+
readonly Down: 'down';
|
|
48
|
+
readonly Switch: 'switch';
|
|
49
|
+
readonly Abandon: 'abandon';
|
|
50
|
+
readonly Revert: 'revert';
|
|
51
|
+
readonly Rating: 'rating';
|
|
52
|
+
readonly Dismiss: 'dismiss';
|
|
53
|
+
};
|
|
54
|
+
export type AiRoutingRewardRequestSignalEnum = typeof AiRoutingRewardRequestSignalEnum[keyof typeof AiRoutingRewardRequestSignalEnum];
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Hanzo Cloud API
|
|
5
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export const AiRoutingRewardRequestSignalEnum = {
|
|
15
|
+
Up: 'up',
|
|
16
|
+
Accept: 'accept',
|
|
17
|
+
Regenerate: 'regenerate',
|
|
18
|
+
Down: 'down',
|
|
19
|
+
Switch: 'switch',
|
|
20
|
+
Abandon: 'abandon',
|
|
21
|
+
Revert: 'revert',
|
|
22
|
+
Rating: 'rating',
|
|
23
|
+
Dismiss: 'dismiss'
|
|
24
|
+
};
|
|
@@ -52,6 +52,12 @@ export interface AutoAutomationIn {
|
|
|
52
52
|
* @memberof AutoAutomationIn
|
|
53
53
|
*/
|
|
54
54
|
'permissions'?: string;
|
|
55
|
+
/**
|
|
56
|
+
* PostTo are the connected accounts each run\'s answer is posted to: x, linkedin, facebook. Absent posts nothing.
|
|
57
|
+
* @type {Array<string>}
|
|
58
|
+
* @memberof AutoAutomationIn
|
|
59
|
+
*/
|
|
60
|
+
'postTo'?: Array<string>;
|
|
55
61
|
/**
|
|
56
62
|
* Project is a Dev project\'s slug to work in. Optional.
|
|
57
63
|
* @type {string}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { AutoPostResult } from './auto-post-result';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -21,6 +22,12 @@ export interface AutoAutomationRun {
|
|
|
21
22
|
* @memberof AutoAutomationRun
|
|
22
23
|
*/
|
|
23
24
|
'at'?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Draft is the post the agent wrote, for an automation that posts; empty otherwise.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AutoAutomationRun
|
|
29
|
+
*/
|
|
30
|
+
'draft'?: string;
|
|
24
31
|
/**
|
|
25
32
|
*
|
|
26
33
|
* @type {string}
|
|
@@ -34,7 +41,13 @@ export interface AutoAutomationRun {
|
|
|
34
41
|
*/
|
|
35
42
|
'id'?: string;
|
|
36
43
|
/**
|
|
37
|
-
*
|
|
44
|
+
* Posts are where it went: one per account, its link or the platform\'s reason it did not go. Never null.
|
|
45
|
+
* @type {Array<AutoPostResult>}
|
|
46
|
+
* @memberof AutoAutomationRun
|
|
47
|
+
*/
|
|
48
|
+
'posts'?: Array<AutoPostResult>;
|
|
49
|
+
/**
|
|
50
|
+
* Status is succeeded, failed, running, queued, review for a post waiting for its person to post or discard it, skipped for a start that found the previous run still going, or refused for a run whose person is no longer a member of the org.
|
|
38
51
|
* @type {string}
|
|
39
52
|
* @memberof AutoAutomationRun
|
|
40
53
|
*/
|
|
@@ -83,6 +83,12 @@ export interface AutoAutomation {
|
|
|
83
83
|
* @memberof AutoAutomation
|
|
84
84
|
*/
|
|
85
85
|
'permissions'?: string;
|
|
86
|
+
/**
|
|
87
|
+
* PostTo are the connected accounts each run\'s answer is posted to — x, linkedin, facebook — after review when Permissions is ask (post.go). Never null.
|
|
88
|
+
* @type {Array<string>}
|
|
89
|
+
* @memberof AutoAutomation
|
|
90
|
+
*/
|
|
91
|
+
'postTo'?: Array<string>;
|
|
86
92
|
/**
|
|
87
93
|
* Project is the Dev project the run works in, by its slug; null for none.
|
|
88
94
|
* @type {string}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hanzo Cloud API
|
|
3
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AutoPostResult
|
|
16
|
+
*/
|
|
17
|
+
export interface AutoPostResult {
|
|
18
|
+
/**
|
|
19
|
+
* Error is the platform\'s reason it did not go; absent when it did.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AutoPostResult
|
|
22
|
+
*/
|
|
23
|
+
'error'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* To is the account\'s platform: x, linkedin or facebook.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AutoPostResult
|
|
28
|
+
*/
|
|
29
|
+
'to'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* URL opens the post; absent when it did not go.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AutoPostResult
|
|
34
|
+
*/
|
|
35
|
+
'url'?: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Hanzo Cloud API
|
|
5
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hanzo Cloud API
|
|
3
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AutoReviewIn
|
|
16
|
+
*/
|
|
17
|
+
export interface AutoReviewIn {
|
|
18
|
+
/**
|
|
19
|
+
* ID is the automation, and Run its run in review, from the path.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AutoReviewIn
|
|
22
|
+
*/
|
|
23
|
+
'id'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Post posts it when true and discards it when false.
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof AutoReviewIn
|
|
28
|
+
*/
|
|
29
|
+
'post'?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AutoReviewIn
|
|
34
|
+
*/
|
|
35
|
+
'run'?: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Hanzo Cloud API
|
|
5
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hanzo Cloud API
|
|
3
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GitWorkspaceView
|
|
16
|
+
*/
|
|
17
|
+
export interface GitWorkspaceView {
|
|
18
|
+
/**
|
|
19
|
+
* Login is the caller\'s forge account in a made workspace.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GitWorkspaceView
|
|
22
|
+
*/
|
|
23
|
+
'login'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Made says the platform made it for the org; false is the estate\'s.
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof GitWorkspaceView
|
|
28
|
+
*/
|
|
29
|
+
'made'?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Owner is the forge namespace.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GitWorkspaceView
|
|
34
|
+
*/
|
|
35
|
+
'owner'?: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Hanzo Cloud API
|
|
5
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -756,7 +756,7 @@ export interface IamUser {
|
|
|
756
756
|
*/
|
|
757
757
|
'name'?: string;
|
|
758
758
|
/**
|
|
759
|
-
*
|
|
759
|
+
* NameKey is Fold(Name), derived on every save (BeforeCreate, BeforeUpdate) and on every open for a row saved without it (store.Prepare): the indexed key a case-insensitive username lookup reads (store.GetUserByName). It is always written, empty or not, so a row that has been keyed is never mistaken for one that has not.
|
|
760
760
|
* @type {string}
|
|
761
761
|
* @memberof IamUser
|
|
762
762
|
*/
|
|
@@ -105,14 +105,16 @@ export * from './ai-anthropic-response';
|
|
|
105
105
|
export * from './ai-anthropic-tool';
|
|
106
106
|
export * from './ai-anthropic-usage';
|
|
107
107
|
export * from './ai-cache-writes';
|
|
108
|
+
export * from './ai-chat';
|
|
109
|
+
export * from './ai-chat-in';
|
|
108
110
|
export * from './ai-class';
|
|
109
111
|
export * from './ai-cost-stats';
|
|
112
|
+
export * from './ai-decide-in';
|
|
113
|
+
export * from './ai-decision';
|
|
110
114
|
export * from './ai-decision-sides';
|
|
111
|
-
export * from './ai-decision-sides-false';
|
|
112
115
|
export * from './ai-decisions-action';
|
|
113
116
|
export * from './ai-decisions-answer';
|
|
114
117
|
export * from './ai-decisions-choice';
|
|
115
|
-
export * from './ai-decisions-choice-criteria-value';
|
|
116
118
|
export * from './ai-decisions-noul';
|
|
117
119
|
export * from './ai-decisions-question';
|
|
118
120
|
export * from './ai-decisions-reason';
|
|
@@ -134,13 +136,16 @@ export * from './ai-limits';
|
|
|
134
136
|
export * from './ai-limits-set';
|
|
135
137
|
export * from './ai-mcpapp';
|
|
136
138
|
export * from './ai-mcpsurface';
|
|
139
|
+
export * from './ai-model';
|
|
137
140
|
export * from './ai-model-access-info';
|
|
138
141
|
export * from './ai-model-info';
|
|
139
142
|
export * from './ai-model-list';
|
|
140
143
|
export * from './ai-model-pricing-info';
|
|
141
144
|
export * from './ai-model-providers';
|
|
145
|
+
export * from './ai-models';
|
|
142
146
|
export * from './ai-panel-judge';
|
|
143
147
|
export * from './ai-paused';
|
|
148
|
+
export * from './ai-price';
|
|
144
149
|
export * from './ai-provider-usage';
|
|
145
150
|
export * from './ai-provider-usage-model-spend';
|
|
146
151
|
export * from './ai-provider-usage-series-point';
|
|
@@ -150,6 +155,7 @@ export * from './ai-rank-usage';
|
|
|
150
155
|
export * from './ai-ranked-doc';
|
|
151
156
|
export * from './ai-ranked-text';
|
|
152
157
|
export * from './ai-ranking';
|
|
158
|
+
export * from './ai-receipt';
|
|
153
159
|
export * from './ai-response';
|
|
154
160
|
export * from './ai-responses-input-details';
|
|
155
161
|
export * from './ai-responses-output-details';
|
|
@@ -162,6 +168,7 @@ export * from './ai-router-stats';
|
|
|
162
168
|
export * from './ai-routing-edit';
|
|
163
169
|
export * from './ai-routing-probe';
|
|
164
170
|
export * from './ai-routing-proposal';
|
|
171
|
+
export * from './ai-routing-reward-request';
|
|
165
172
|
export * from './ai-routing-reward-result';
|
|
166
173
|
export * from './ai-routing-view';
|
|
167
174
|
export * from './ai-stats-window';
|
|
@@ -217,7 +224,9 @@ export * from './auto-flow-version';
|
|
|
217
224
|
export * from './auto-last-run';
|
|
218
225
|
export * from './auto-patch-flow-in';
|
|
219
226
|
export * from './auto-populated-flow';
|
|
227
|
+
export * from './auto-post-result';
|
|
220
228
|
export * from './auto-prop-spec';
|
|
229
|
+
export * from './auto-review-in';
|
|
221
230
|
export * from './auto-run-handle';
|
|
222
231
|
export * from './auto-run-in';
|
|
223
232
|
export * from './auto-run-page';
|
|
@@ -919,6 +928,7 @@ export * from './git-workflow-list';
|
|
|
919
928
|
export * from './git-workflow-run';
|
|
920
929
|
export * from './git-workflow-runs';
|
|
921
930
|
export * from './git-workflow-view';
|
|
931
|
+
export * from './git-workspace-view';
|
|
922
932
|
export * from './grants';
|
|
923
933
|
export * from './graph';
|
|
924
934
|
export * from './graph-graph-answer-in';
|
|
@@ -2684,6 +2694,8 @@ export * from './sync-sync-view';
|
|
|
2684
2694
|
export * from './tag-config';
|
|
2685
2695
|
export * from './task';
|
|
2686
2696
|
export * from './task-board-view';
|
|
2697
|
+
export * from './task-comment';
|
|
2698
|
+
export * from './task-comment-list';
|
|
2687
2699
|
export * from './task-issue-edit';
|
|
2688
2700
|
export * from './task-issue-hit';
|
|
2689
2701
|
export * from './task-issue-hits';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -105,14 +105,16 @@ export * from './ai-anthropic-response';
|
|
|
105
105
|
export * from './ai-anthropic-tool';
|
|
106
106
|
export * from './ai-anthropic-usage';
|
|
107
107
|
export * from './ai-cache-writes';
|
|
108
|
+
export * from './ai-chat';
|
|
109
|
+
export * from './ai-chat-in';
|
|
108
110
|
export * from './ai-class';
|
|
109
111
|
export * from './ai-cost-stats';
|
|
112
|
+
export * from './ai-decide-in';
|
|
113
|
+
export * from './ai-decision';
|
|
110
114
|
export * from './ai-decision-sides';
|
|
111
|
-
export * from './ai-decision-sides-false';
|
|
112
115
|
export * from './ai-decisions-action';
|
|
113
116
|
export * from './ai-decisions-answer';
|
|
114
117
|
export * from './ai-decisions-choice';
|
|
115
|
-
export * from './ai-decisions-choice-criteria-value';
|
|
116
118
|
export * from './ai-decisions-noul';
|
|
117
119
|
export * from './ai-decisions-question';
|
|
118
120
|
export * from './ai-decisions-reason';
|
|
@@ -134,13 +136,16 @@ export * from './ai-limits';
|
|
|
134
136
|
export * from './ai-limits-set';
|
|
135
137
|
export * from './ai-mcpapp';
|
|
136
138
|
export * from './ai-mcpsurface';
|
|
139
|
+
export * from './ai-model';
|
|
137
140
|
export * from './ai-model-access-info';
|
|
138
141
|
export * from './ai-model-info';
|
|
139
142
|
export * from './ai-model-list';
|
|
140
143
|
export * from './ai-model-pricing-info';
|
|
141
144
|
export * from './ai-model-providers';
|
|
145
|
+
export * from './ai-models';
|
|
142
146
|
export * from './ai-panel-judge';
|
|
143
147
|
export * from './ai-paused';
|
|
148
|
+
export * from './ai-price';
|
|
144
149
|
export * from './ai-provider-usage';
|
|
145
150
|
export * from './ai-provider-usage-model-spend';
|
|
146
151
|
export * from './ai-provider-usage-series-point';
|
|
@@ -150,6 +155,7 @@ export * from './ai-rank-usage';
|
|
|
150
155
|
export * from './ai-ranked-doc';
|
|
151
156
|
export * from './ai-ranked-text';
|
|
152
157
|
export * from './ai-ranking';
|
|
158
|
+
export * from './ai-receipt';
|
|
153
159
|
export * from './ai-response';
|
|
154
160
|
export * from './ai-responses-input-details';
|
|
155
161
|
export * from './ai-responses-output-details';
|
|
@@ -162,6 +168,7 @@ export * from './ai-router-stats';
|
|
|
162
168
|
export * from './ai-routing-edit';
|
|
163
169
|
export * from './ai-routing-probe';
|
|
164
170
|
export * from './ai-routing-proposal';
|
|
171
|
+
export * from './ai-routing-reward-request';
|
|
165
172
|
export * from './ai-routing-reward-result';
|
|
166
173
|
export * from './ai-routing-view';
|
|
167
174
|
export * from './ai-stats-window';
|
|
@@ -217,7 +224,9 @@ export * from './auto-flow-version';
|
|
|
217
224
|
export * from './auto-last-run';
|
|
218
225
|
export * from './auto-patch-flow-in';
|
|
219
226
|
export * from './auto-populated-flow';
|
|
227
|
+
export * from './auto-post-result';
|
|
220
228
|
export * from './auto-prop-spec';
|
|
229
|
+
export * from './auto-review-in';
|
|
221
230
|
export * from './auto-run-handle';
|
|
222
231
|
export * from './auto-run-in';
|
|
223
232
|
export * from './auto-run-page';
|
|
@@ -919,6 +928,7 @@ export * from './git-workflow-list';
|
|
|
919
928
|
export * from './git-workflow-run';
|
|
920
929
|
export * from './git-workflow-runs';
|
|
921
930
|
export * from './git-workflow-view';
|
|
931
|
+
export * from './git-workspace-view';
|
|
922
932
|
export * from './grants';
|
|
923
933
|
export * from './graph';
|
|
924
934
|
export * from './graph-graph-answer-in';
|
|
@@ -2684,6 +2694,8 @@ export * from './sync-sync-view';
|
|
|
2684
2694
|
export * from './tag-config';
|
|
2685
2695
|
export * from './task';
|
|
2686
2696
|
export * from './task-board-view';
|
|
2697
|
+
export * from './task-comment';
|
|
2698
|
+
export * from './task-comment-list';
|
|
2687
2699
|
export * from './task-issue-edit';
|
|
2688
2700
|
export * from './task-issue-hit';
|
|
2689
2701
|
export * from './task-issue-hits';
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
* @interface ProviderGithubImportOut
|
|
16
16
|
*/
|
|
17
17
|
export interface ProviderGithubImportOut {
|
|
18
|
+
/**
|
|
19
|
+
* Codebases are the names they take in the org\'s code workspace, in the same order: poll GET /v1/git/repos for each to appear.
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof ProviderGithubImportOut
|
|
22
|
+
*/
|
|
23
|
+
'codebases'?: Array<string>;
|
|
18
24
|
/**
|
|
19
25
|
* Queued is how many repositories were handed to the background importer.
|
|
20
26
|
* @type {number}
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
* @interface ProviderGithubRepoItem
|
|
16
16
|
*/
|
|
17
17
|
export interface ProviderGithubRepoItem {
|
|
18
|
+
/**
|
|
19
|
+
* Codebase is the name it has in the org\'s code workspace once brought in (POST /v1/provider/github/repos/import): listed by GET /v1/git/repos when it is there.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ProviderGithubRepoItem
|
|
22
|
+
*/
|
|
23
|
+
'codebase'?: string;
|
|
18
24
|
/**
|
|
19
25
|
* DefaultBranch is the branch GitHub opens it on.
|
|
20
26
|
* @type {string}
|