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
|
@@ -16,6 +16,7 @@ import type { AutoAutomation } from '../models';
|
|
|
16
16
|
import type { AutoAutomationIn } from '../models';
|
|
17
17
|
import type { AutoAutomationPage } from '../models';
|
|
18
18
|
import type { AutoAutomationPatch } from '../models';
|
|
19
|
+
import type { AutoAutomationRun } from '../models';
|
|
19
20
|
import type { AutoAutomationRunPage } from '../models';
|
|
20
21
|
import type { AutoCatalog } from '../models';
|
|
21
22
|
import type { AutoCreateFlowReq } from '../models';
|
|
@@ -26,6 +27,7 @@ import type { AutoFlowRun } from '../models';
|
|
|
26
27
|
import type { AutoFlowVersion } from '../models';
|
|
27
28
|
import type { AutoPatchFlowIn } from '../models';
|
|
28
29
|
import type { AutoPopulatedFlow } from '../models';
|
|
30
|
+
import type { AutoReviewIn } from '../models';
|
|
29
31
|
import type { AutoRunIn } from '../models';
|
|
30
32
|
import type { AutoRunPage } from '../models';
|
|
31
33
|
import type { AutoRunResp } from '../models';
|
|
@@ -169,6 +171,16 @@ export declare const AutoApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
169
171
|
* @throws {RequiredError}
|
|
170
172
|
*/
|
|
171
173
|
postAutoAutomationsByIdRun: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
174
|
+
/**
|
|
175
|
+
* Answers a run that holds a post for review, for the person the automation runs as or an admin of the org: `post` true posts it to the automation\'s accounts and answers the run while it posts; false discards it. A run not in review answers 409; one held longer than a day is not posted.
|
|
176
|
+
* @summary Answers a run that holds a post for review, for the person the automation runs as or an admin of the org: `post` true posts it to the automation\'s accounts and answers the run while it posts; false discards it.
|
|
177
|
+
* @param {string} id ID is the automation, and Run its run in review, from the path.
|
|
178
|
+
* @param {string} run
|
|
179
|
+
* @param {AutoReviewIn} autoReviewIn
|
|
180
|
+
* @param {*} [options] Override http request option.
|
|
181
|
+
* @throws {RequiredError}
|
|
182
|
+
*/
|
|
183
|
+
postAutoAutomationsByIdRunsByRunReview: (id: string, run: string, autoReviewIn: AutoReviewIn, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
172
184
|
/**
|
|
173
185
|
* Creates an automation and its initial DRAFT version in one call. The new flow is DISABLED — creating it does not arm its trigger; POST /v1/auto/flows/{id}/enable does that.
|
|
174
186
|
* @summary Creates an automation and its initial DRAFT version in one call.
|
|
@@ -382,6 +394,16 @@ export declare const AutoApiFp: (configuration?: Configuration) => {
|
|
|
382
394
|
* @throws {RequiredError}
|
|
383
395
|
*/
|
|
384
396
|
postAutoAutomationsByIdRun(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoRunStarted>>;
|
|
397
|
+
/**
|
|
398
|
+
* Answers a run that holds a post for review, for the person the automation runs as or an admin of the org: `post` true posts it to the automation\'s accounts and answers the run while it posts; false discards it. A run not in review answers 409; one held longer than a day is not posted.
|
|
399
|
+
* @summary Answers a run that holds a post for review, for the person the automation runs as or an admin of the org: `post` true posts it to the automation\'s accounts and answers the run while it posts; false discards it.
|
|
400
|
+
* @param {string} id ID is the automation, and Run its run in review, from the path.
|
|
401
|
+
* @param {string} run
|
|
402
|
+
* @param {AutoReviewIn} autoReviewIn
|
|
403
|
+
* @param {*} [options] Override http request option.
|
|
404
|
+
* @throws {RequiredError}
|
|
405
|
+
*/
|
|
406
|
+
postAutoAutomationsByIdRunsByRunReview(id: string, run: string, autoReviewIn: AutoReviewIn, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoAutomationRun>>;
|
|
385
407
|
/**
|
|
386
408
|
* Creates an automation and its initial DRAFT version in one call. The new flow is DISABLED — creating it does not arm its trigger; POST /v1/auto/flows/{id}/enable does that.
|
|
387
409
|
* @summary Creates an automation and its initial DRAFT version in one call.
|
|
@@ -589,6 +611,14 @@ export declare const AutoApiFactory: (configuration?: Configuration, basePath?:
|
|
|
589
611
|
* @throws {RequiredError}
|
|
590
612
|
*/
|
|
591
613
|
postAutoAutomationsByIdRun(requestParameters: AutoApiPostAutoAutomationsByIdRunRequest, options?: RawAxiosRequestConfig): AxiosPromise<AutoRunStarted>;
|
|
614
|
+
/**
|
|
615
|
+
* Answers a run that holds a post for review, for the person the automation runs as or an admin of the org: `post` true posts it to the automation\'s accounts and answers the run while it posts; false discards it. A run not in review answers 409; one held longer than a day is not posted.
|
|
616
|
+
* @summary Answers a run that holds a post for review, for the person the automation runs as or an admin of the org: `post` true posts it to the automation\'s accounts and answers the run while it posts; false discards it.
|
|
617
|
+
* @param {AutoApiPostAutoAutomationsByIdRunsByRunReviewRequest} requestParameters Request parameters.
|
|
618
|
+
* @param {*} [options] Override http request option.
|
|
619
|
+
* @throws {RequiredError}
|
|
620
|
+
*/
|
|
621
|
+
postAutoAutomationsByIdRunsByRunReview(requestParameters: AutoApiPostAutoAutomationsByIdRunsByRunReviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<AutoAutomationRun>;
|
|
592
622
|
/**
|
|
593
623
|
* Creates an automation and its initial DRAFT version in one call. The new flow is DISABLED — creating it does not arm its trigger; POST /v1/auto/flows/{id}/enable does that.
|
|
594
624
|
* @summary Creates an automation and its initial DRAFT version in one call.
|
|
@@ -880,6 +910,31 @@ export interface AutoApiPostAutoAutomationsByIdRunRequest {
|
|
|
880
910
|
*/
|
|
881
911
|
readonly id: string;
|
|
882
912
|
}
|
|
913
|
+
/**
|
|
914
|
+
* Request parameters for postAutoAutomationsByIdRunsByRunReview operation in AutoApi.
|
|
915
|
+
* @export
|
|
916
|
+
* @interface AutoApiPostAutoAutomationsByIdRunsByRunReviewRequest
|
|
917
|
+
*/
|
|
918
|
+
export interface AutoApiPostAutoAutomationsByIdRunsByRunReviewRequest {
|
|
919
|
+
/**
|
|
920
|
+
* ID is the automation, and Run its run in review, from the path.
|
|
921
|
+
* @type {string}
|
|
922
|
+
* @memberof AutoApiPostAutoAutomationsByIdRunsByRunReview
|
|
923
|
+
*/
|
|
924
|
+
readonly id: string;
|
|
925
|
+
/**
|
|
926
|
+
*
|
|
927
|
+
* @type {string}
|
|
928
|
+
* @memberof AutoApiPostAutoAutomationsByIdRunsByRunReview
|
|
929
|
+
*/
|
|
930
|
+
readonly run: string;
|
|
931
|
+
/**
|
|
932
|
+
*
|
|
933
|
+
* @type {AutoReviewIn}
|
|
934
|
+
* @memberof AutoApiPostAutoAutomationsByIdRunsByRunReview
|
|
935
|
+
*/
|
|
936
|
+
readonly autoReviewIn: AutoReviewIn;
|
|
937
|
+
}
|
|
883
938
|
/**
|
|
884
939
|
* Request parameters for postAutoFlows operation in AutoApi.
|
|
885
940
|
* @export
|
|
@@ -1164,6 +1219,15 @@ export declare class AutoApi extends BaseAPI {
|
|
|
1164
1219
|
* @memberof AutoApi
|
|
1165
1220
|
*/
|
|
1166
1221
|
postAutoAutomationsByIdRun(requestParameters: AutoApiPostAutoAutomationsByIdRunRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoRunStarted, any, {}>>;
|
|
1222
|
+
/**
|
|
1223
|
+
* Answers a run that holds a post for review, for the person the automation runs as or an admin of the org: `post` true posts it to the automation\'s accounts and answers the run while it posts; false discards it. A run not in review answers 409; one held longer than a day is not posted.
|
|
1224
|
+
* @summary Answers a run that holds a post for review, for the person the automation runs as or an admin of the org: `post` true posts it to the automation\'s accounts and answers the run while it posts; false discards it.
|
|
1225
|
+
* @param {AutoApiPostAutoAutomationsByIdRunsByRunReviewRequest} requestParameters Request parameters.
|
|
1226
|
+
* @param {*} [options] Override http request option.
|
|
1227
|
+
* @throws {RequiredError}
|
|
1228
|
+
* @memberof AutoApi
|
|
1229
|
+
*/
|
|
1230
|
+
postAutoAutomationsByIdRunsByRunReview(requestParameters: AutoApiPostAutoAutomationsByIdRunsByRunReviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoAutomationRun, any, {}>>;
|
|
1167
1231
|
/**
|
|
1168
1232
|
* Creates an automation and its initial DRAFT version in one call. The new flow is DISABLED — creating it does not arm its trigger; POST /v1/auto/flows/{id}/enable does that.
|
|
1169
1233
|
* @summary Creates an automation and its initial DRAFT version in one call.
|
package/dist/esm/api/auto-api.js
CHANGED
|
@@ -554,6 +554,47 @@ export const AutoApiAxiosParamCreator = function (configuration) {
|
|
|
554
554
|
options: localVarRequestOptions,
|
|
555
555
|
};
|
|
556
556
|
},
|
|
557
|
+
/**
|
|
558
|
+
* Answers a run that holds a post for review, for the person the automation runs as or an admin of the org: `post` true posts it to the automation\'s accounts and answers the run while it posts; false discards it. A run not in review answers 409; one held longer than a day is not posted.
|
|
559
|
+
* @summary Answers a run that holds a post for review, for the person the automation runs as or an admin of the org: `post` true posts it to the automation\'s accounts and answers the run while it posts; false discards it.
|
|
560
|
+
* @param {string} id ID is the automation, and Run its run in review, from the path.
|
|
561
|
+
* @param {string} run
|
|
562
|
+
* @param {AutoReviewIn} autoReviewIn
|
|
563
|
+
* @param {*} [options] Override http request option.
|
|
564
|
+
* @throws {RequiredError}
|
|
565
|
+
*/
|
|
566
|
+
postAutoAutomationsByIdRunsByRunReview: async (id, run, autoReviewIn, options = {}) => {
|
|
567
|
+
// verify required parameter 'id' is not null or undefined
|
|
568
|
+
assertParamExists('postAutoAutomationsByIdRunsByRunReview', 'id', id);
|
|
569
|
+
// verify required parameter 'run' is not null or undefined
|
|
570
|
+
assertParamExists('postAutoAutomationsByIdRunsByRunReview', 'run', run);
|
|
571
|
+
// verify required parameter 'autoReviewIn' is not null or undefined
|
|
572
|
+
assertParamExists('postAutoAutomationsByIdRunsByRunReview', 'autoReviewIn', autoReviewIn);
|
|
573
|
+
const localVarPath = `/v1/auto/automations/{id}/runs/{run}/review`
|
|
574
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
575
|
+
.replace(`{${"run"}}`, encodeURIComponent(String(run)));
|
|
576
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
577
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
578
|
+
let baseOptions;
|
|
579
|
+
if (configuration) {
|
|
580
|
+
baseOptions = configuration.baseOptions;
|
|
581
|
+
}
|
|
582
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
583
|
+
const localVarHeaderParameter = {};
|
|
584
|
+
const localVarQueryParameter = {};
|
|
585
|
+
// authentication bearer required
|
|
586
|
+
// http bearer authentication required
|
|
587
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
588
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
589
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
590
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
591
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
592
|
+
localVarRequestOptions.data = serializeDataIfNeeded(autoReviewIn, localVarRequestOptions, configuration);
|
|
593
|
+
return {
|
|
594
|
+
url: toPathString(localVarUrlObj),
|
|
595
|
+
options: localVarRequestOptions,
|
|
596
|
+
};
|
|
597
|
+
},
|
|
557
598
|
/**
|
|
558
599
|
* Creates an automation and its initial DRAFT version in one call. The new flow is DISABLED — creating it does not arm its trigger; POST /v1/auto/flows/{id}/enable does that.
|
|
559
600
|
* @summary Creates an automation and its initial DRAFT version in one call.
|
|
@@ -1078,6 +1119,21 @@ export const AutoApiFp = function (configuration) {
|
|
|
1078
1119
|
const localVarOperationServerBasePath = operationServerMap['AutoApi.postAutoAutomationsByIdRun']?.[localVarOperationServerIndex]?.url;
|
|
1079
1120
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1080
1121
|
},
|
|
1122
|
+
/**
|
|
1123
|
+
* Answers a run that holds a post for review, for the person the automation runs as or an admin of the org: `post` true posts it to the automation\'s accounts and answers the run while it posts; false discards it. A run not in review answers 409; one held longer than a day is not posted.
|
|
1124
|
+
* @summary Answers a run that holds a post for review, for the person the automation runs as or an admin of the org: `post` true posts it to the automation\'s accounts and answers the run while it posts; false discards it.
|
|
1125
|
+
* @param {string} id ID is the automation, and Run its run in review, from the path.
|
|
1126
|
+
* @param {string} run
|
|
1127
|
+
* @param {AutoReviewIn} autoReviewIn
|
|
1128
|
+
* @param {*} [options] Override http request option.
|
|
1129
|
+
* @throws {RequiredError}
|
|
1130
|
+
*/
|
|
1131
|
+
async postAutoAutomationsByIdRunsByRunReview(id, run, autoReviewIn, options) {
|
|
1132
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postAutoAutomationsByIdRunsByRunReview(id, run, autoReviewIn, options);
|
|
1133
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1134
|
+
const localVarOperationServerBasePath = operationServerMap['AutoApi.postAutoAutomationsByIdRunsByRunReview']?.[localVarOperationServerIndex]?.url;
|
|
1135
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1136
|
+
},
|
|
1081
1137
|
/**
|
|
1082
1138
|
* Creates an automation and its initial DRAFT version in one call. The new flow is DISABLED — creating it does not arm its trigger; POST /v1/auto/flows/{id}/enable does that.
|
|
1083
1139
|
* @summary Creates an automation and its initial DRAFT version in one call.
|
|
@@ -1365,6 +1421,16 @@ export const AutoApiFactory = function (configuration, basePath, axios) {
|
|
|
1365
1421
|
postAutoAutomationsByIdRun(requestParameters, options) {
|
|
1366
1422
|
return localVarFp.postAutoAutomationsByIdRun(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1367
1423
|
},
|
|
1424
|
+
/**
|
|
1425
|
+
* Answers a run that holds a post for review, for the person the automation runs as or an admin of the org: `post` true posts it to the automation\'s accounts and answers the run while it posts; false discards it. A run not in review answers 409; one held longer than a day is not posted.
|
|
1426
|
+
* @summary Answers a run that holds a post for review, for the person the automation runs as or an admin of the org: `post` true posts it to the automation\'s accounts and answers the run while it posts; false discards it.
|
|
1427
|
+
* @param {AutoApiPostAutoAutomationsByIdRunsByRunReviewRequest} requestParameters Request parameters.
|
|
1428
|
+
* @param {*} [options] Override http request option.
|
|
1429
|
+
* @throws {RequiredError}
|
|
1430
|
+
*/
|
|
1431
|
+
postAutoAutomationsByIdRunsByRunReview(requestParameters, options) {
|
|
1432
|
+
return localVarFp.postAutoAutomationsByIdRunsByRunReview(requestParameters.id, requestParameters.run, requestParameters.autoReviewIn, options).then((request) => request(axios, basePath));
|
|
1433
|
+
},
|
|
1368
1434
|
/**
|
|
1369
1435
|
* Creates an automation and its initial DRAFT version in one call. The new flow is DISABLED — creating it does not arm its trigger; POST /v1/auto/flows/{id}/enable does that.
|
|
1370
1436
|
* @summary Creates an automation and its initial DRAFT version in one call.
|
|
@@ -1638,6 +1704,17 @@ export class AutoApi extends BaseAPI {
|
|
|
1638
1704
|
postAutoAutomationsByIdRun(requestParameters, options) {
|
|
1639
1705
|
return AutoApiFp(this.configuration).postAutoAutomationsByIdRun(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1640
1706
|
}
|
|
1707
|
+
/**
|
|
1708
|
+
* Answers a run that holds a post for review, for the person the automation runs as or an admin of the org: `post` true posts it to the automation\'s accounts and answers the run while it posts; false discards it. A run not in review answers 409; one held longer than a day is not posted.
|
|
1709
|
+
* @summary Answers a run that holds a post for review, for the person the automation runs as or an admin of the org: `post` true posts it to the automation\'s accounts and answers the run while it posts; false discards it.
|
|
1710
|
+
* @param {AutoApiPostAutoAutomationsByIdRunsByRunReviewRequest} requestParameters Request parameters.
|
|
1711
|
+
* @param {*} [options] Override http request option.
|
|
1712
|
+
* @throws {RequiredError}
|
|
1713
|
+
* @memberof AutoApi
|
|
1714
|
+
*/
|
|
1715
|
+
postAutoAutomationsByIdRunsByRunReview(requestParameters, options) {
|
|
1716
|
+
return AutoApiFp(this.configuration).postAutoAutomationsByIdRunsByRunReview(requestParameters.id, requestParameters.run, requestParameters.autoReviewIn, options).then((request) => request(this.axios, this.basePath));
|
|
1717
|
+
}
|
|
1641
1718
|
/**
|
|
1642
1719
|
* Creates an automation and its initial DRAFT version in one call. The new flow is DISABLED — creating it does not arm its trigger; POST /v1/auto/flows/{id}/enable does that.
|
|
1643
1720
|
* @summary Creates an automation and its initial DRAFT version in one call.
|
|
@@ -129,7 +129,7 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
|
|
|
129
129
|
*/
|
|
130
130
|
getBillingAlertsAuthorize: (project?: string, service?: string, amount?: string, pv?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
131
131
|
/**
|
|
132
|
-
* Answers the spendable prepaid balance of the wallet this caller bills from — the same wallet the AI prepaid gate reads before admitting a paid request, the edge meter debits, and a top-up credits. The wallet is an ADDRESS, not an org: `account` echoes the key resolved within the ledger — the org\'s shared pool for a tenant org, a personal account for a member of the shared signup org. The echo is the point. A browser could only GUESS its own payer by decoding its own token, and a guess that disagrees with the server is how money lands in an account the gate never reads. `balance`, `holds` and `available` are whole USD cents, ROUNDED from the ledger\'s exact 18-decimal value. On the co-resident ledger `holds` is 0 and `available` equals `balance`: the gate\'s reservations live in its own pod and are never posted, so the settled balance IS the spendable one. `cash` and `credit` say where `available` came from, and add up to it. `cash` is money the customer paid — a settled card payment or a recorded wire. `credit` is money Hanzo minted: signup and promotional credit, admin grants.
|
|
132
|
+
* Answers the spendable prepaid balance of the wallet this caller bills from — the same wallet the AI prepaid gate reads before admitting a paid request, the edge meter debits, and a top-up credits. The wallet is an ADDRESS, not an org: `account` echoes the key resolved within the ledger — the org\'s shared pool for a tenant org, a personal account for a member of the shared signup org. The echo is the point. A browser could only GUESS its own payer by decoding its own token, and a guess that disagrees with the server is how money lands in an account the gate never reads. `balance`, `holds` and `available` are whole USD cents, ROUNDED from the ledger\'s exact 18-decimal value. On the co-resident ledger `holds` is 0 and `available` equals `balance`: the gate\'s reservations live in its own pod and are never posted, so the settled balance IS the spendable one. `cash`, `line` and `credit` say where `available` came from, and add up to it. `cash` is money the customer paid — a settled card payment or a recorded wire. `credit` is money Hanzo minted: signup and promotional credit, admin grants. `line` is what is left of the org\'s postpaid credit line (`creditLimit`), and `due` what the account owes on it: usage the line paid for, invoiced, and paid down first by the next payment. A debit draws cash, then the line, then credit; granted credit never pays what is due. The three line fields are absent when the ledger did not report them. The ledger is the caller\'s own org, taken from the VALIDATED IAM owner claim and never from a client header. No validated principal is 401. A balance that cannot be READ is 502, never 0: unknown is not broke.
|
|
133
133
|
* @summary Prepaid credit the caller\'s org can still spend
|
|
134
134
|
* @param {*} [options] Override http request option.
|
|
135
135
|
* @throws {RequiredError}
|
|
@@ -518,7 +518,7 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
|
|
|
518
518
|
*/
|
|
519
519
|
getBillingAlertsAuthorize(project?: string, service?: string, amount?: string, pv?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingCapVerdict>>;
|
|
520
520
|
/**
|
|
521
|
-
* Answers the spendable prepaid balance of the wallet this caller bills from — the same wallet the AI prepaid gate reads before admitting a paid request, the edge meter debits, and a top-up credits. The wallet is an ADDRESS, not an org: `account` echoes the key resolved within the ledger — the org\'s shared pool for a tenant org, a personal account for a member of the shared signup org. The echo is the point. A browser could only GUESS its own payer by decoding its own token, and a guess that disagrees with the server is how money lands in an account the gate never reads. `balance`, `holds` and `available` are whole USD cents, ROUNDED from the ledger\'s exact 18-decimal value. On the co-resident ledger `holds` is 0 and `available` equals `balance`: the gate\'s reservations live in its own pod and are never posted, so the settled balance IS the spendable one. `cash` and `credit` say where `available` came from, and add up to it. `cash` is money the customer paid — a settled card payment or a recorded wire. `credit` is money Hanzo minted: signup and promotional credit, admin grants.
|
|
521
|
+
* Answers the spendable prepaid balance of the wallet this caller bills from — the same wallet the AI prepaid gate reads before admitting a paid request, the edge meter debits, and a top-up credits. The wallet is an ADDRESS, not an org: `account` echoes the key resolved within the ledger — the org\'s shared pool for a tenant org, a personal account for a member of the shared signup org. The echo is the point. A browser could only GUESS its own payer by decoding its own token, and a guess that disagrees with the server is how money lands in an account the gate never reads. `balance`, `holds` and `available` are whole USD cents, ROUNDED from the ledger\'s exact 18-decimal value. On the co-resident ledger `holds` is 0 and `available` equals `balance`: the gate\'s reservations live in its own pod and are never posted, so the settled balance IS the spendable one. `cash`, `line` and `credit` say where `available` came from, and add up to it. `cash` is money the customer paid — a settled card payment or a recorded wire. `credit` is money Hanzo minted: signup and promotional credit, admin grants. `line` is what is left of the org\'s postpaid credit line (`creditLimit`), and `due` what the account owes on it: usage the line paid for, invoiced, and paid down first by the next payment. A debit draws cash, then the line, then credit; granted credit never pays what is due. The three line fields are absent when the ledger did not report them. The ledger is the caller\'s own org, taken from the VALIDATED IAM owner claim and never from a client header. No validated principal is 401. A balance that cannot be READ is 502, never 0: unknown is not broke.
|
|
522
522
|
* @summary Prepaid credit the caller\'s org can still spend
|
|
523
523
|
* @param {*} [options] Override http request option.
|
|
524
524
|
* @throws {RequiredError}
|
|
@@ -903,7 +903,7 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
|
|
|
903
903
|
*/
|
|
904
904
|
getBillingAlertsAuthorize(requestParameters?: BillingApiGetBillingAlertsAuthorizeRequest, options?: RawAxiosRequestConfig): AxiosPromise<BillingCapVerdict>;
|
|
905
905
|
/**
|
|
906
|
-
* Answers the spendable prepaid balance of the wallet this caller bills from — the same wallet the AI prepaid gate reads before admitting a paid request, the edge meter debits, and a top-up credits. The wallet is an ADDRESS, not an org: `account` echoes the key resolved within the ledger — the org\'s shared pool for a tenant org, a personal account for a member of the shared signup org. The echo is the point. A browser could only GUESS its own payer by decoding its own token, and a guess that disagrees with the server is how money lands in an account the gate never reads. `balance`, `holds` and `available` are whole USD cents, ROUNDED from the ledger\'s exact 18-decimal value. On the co-resident ledger `holds` is 0 and `available` equals `balance`: the gate\'s reservations live in its own pod and are never posted, so the settled balance IS the spendable one. `cash` and `credit` say where `available` came from, and add up to it. `cash` is money the customer paid — a settled card payment or a recorded wire. `credit` is money Hanzo minted: signup and promotional credit, admin grants.
|
|
906
|
+
* Answers the spendable prepaid balance of the wallet this caller bills from — the same wallet the AI prepaid gate reads before admitting a paid request, the edge meter debits, and a top-up credits. The wallet is an ADDRESS, not an org: `account` echoes the key resolved within the ledger — the org\'s shared pool for a tenant org, a personal account for a member of the shared signup org. The echo is the point. A browser could only GUESS its own payer by decoding its own token, and a guess that disagrees with the server is how money lands in an account the gate never reads. `balance`, `holds` and `available` are whole USD cents, ROUNDED from the ledger\'s exact 18-decimal value. On the co-resident ledger `holds` is 0 and `available` equals `balance`: the gate\'s reservations live in its own pod and are never posted, so the settled balance IS the spendable one. `cash`, `line` and `credit` say where `available` came from, and add up to it. `cash` is money the customer paid — a settled card payment or a recorded wire. `credit` is money Hanzo minted: signup and promotional credit, admin grants. `line` is what is left of the org\'s postpaid credit line (`creditLimit`), and `due` what the account owes on it: usage the line paid for, invoiced, and paid down first by the next payment. A debit draws cash, then the line, then credit; granted credit never pays what is due. The three line fields are absent when the ledger did not report them. The ledger is the caller\'s own org, taken from the VALIDATED IAM owner claim and never from a client header. No validated principal is 401. A balance that cannot be READ is 502, never 0: unknown is not broke.
|
|
907
907
|
* @summary Prepaid credit the caller\'s org can still spend
|
|
908
908
|
* @param {*} [options] Override http request option.
|
|
909
909
|
* @throws {RequiredError}
|
|
@@ -1711,7 +1711,7 @@ export declare class BillingApi extends BaseAPI {
|
|
|
1711
1711
|
*/
|
|
1712
1712
|
getBillingAlertsAuthorize(requestParameters?: BillingApiGetBillingAlertsAuthorizeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingCapVerdict, any, {}>>;
|
|
1713
1713
|
/**
|
|
1714
|
-
* Answers the spendable prepaid balance of the wallet this caller bills from — the same wallet the AI prepaid gate reads before admitting a paid request, the edge meter debits, and a top-up credits. The wallet is an ADDRESS, not an org: `account` echoes the key resolved within the ledger — the org\'s shared pool for a tenant org, a personal account for a member of the shared signup org. The echo is the point. A browser could only GUESS its own payer by decoding its own token, and a guess that disagrees with the server is how money lands in an account the gate never reads. `balance`, `holds` and `available` are whole USD cents, ROUNDED from the ledger\'s exact 18-decimal value. On the co-resident ledger `holds` is 0 and `available` equals `balance`: the gate\'s reservations live in its own pod and are never posted, so the settled balance IS the spendable one. `cash` and `credit` say where `available` came from, and add up to it. `cash` is money the customer paid — a settled card payment or a recorded wire. `credit` is money Hanzo minted: signup and promotional credit, admin grants.
|
|
1714
|
+
* Answers the spendable prepaid balance of the wallet this caller bills from — the same wallet the AI prepaid gate reads before admitting a paid request, the edge meter debits, and a top-up credits. The wallet is an ADDRESS, not an org: `account` echoes the key resolved within the ledger — the org\'s shared pool for a tenant org, a personal account for a member of the shared signup org. The echo is the point. A browser could only GUESS its own payer by decoding its own token, and a guess that disagrees with the server is how money lands in an account the gate never reads. `balance`, `holds` and `available` are whole USD cents, ROUNDED from the ledger\'s exact 18-decimal value. On the co-resident ledger `holds` is 0 and `available` equals `balance`: the gate\'s reservations live in its own pod and are never posted, so the settled balance IS the spendable one. `cash`, `line` and `credit` say where `available` came from, and add up to it. `cash` is money the customer paid — a settled card payment or a recorded wire. `credit` is money Hanzo minted: signup and promotional credit, admin grants. `line` is what is left of the org\'s postpaid credit line (`creditLimit`), and `due` what the account owes on it: usage the line paid for, invoiced, and paid down first by the next payment. A debit draws cash, then the line, then credit; granted credit never pays what is due. The three line fields are absent when the ledger did not report them. The ledger is the caller\'s own org, taken from the VALIDATED IAM owner claim and never from a client header. No validated principal is 401. A balance that cannot be READ is 502, never 0: unknown is not broke.
|
|
1715
1715
|
* @summary Prepaid credit the caller\'s org can still spend
|
|
1716
1716
|
* @param {*} [options] Override http request option.
|
|
1717
1717
|
* @throws {RequiredError}
|
|
@@ -321,7 +321,7 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
321
321
|
};
|
|
322
322
|
},
|
|
323
323
|
/**
|
|
324
|
-
* Answers the spendable prepaid balance of the wallet this caller bills from — the same wallet the AI prepaid gate reads before admitting a paid request, the edge meter debits, and a top-up credits. The wallet is an ADDRESS, not an org: `account` echoes the key resolved within the ledger — the org\'s shared pool for a tenant org, a personal account for a member of the shared signup org. The echo is the point. A browser could only GUESS its own payer by decoding its own token, and a guess that disagrees with the server is how money lands in an account the gate never reads. `balance`, `holds` and `available` are whole USD cents, ROUNDED from the ledger\'s exact 18-decimal value. On the co-resident ledger `holds` is 0 and `available` equals `balance`: the gate\'s reservations live in its own pod and are never posted, so the settled balance IS the spendable one. `cash` and `credit` say where `available` came from, and add up to it. `cash` is money the customer paid — a settled card payment or a recorded wire. `credit` is money Hanzo minted: signup and promotional credit, admin grants.
|
|
324
|
+
* Answers the spendable prepaid balance of the wallet this caller bills from — the same wallet the AI prepaid gate reads before admitting a paid request, the edge meter debits, and a top-up credits. The wallet is an ADDRESS, not an org: `account` echoes the key resolved within the ledger — the org\'s shared pool for a tenant org, a personal account for a member of the shared signup org. The echo is the point. A browser could only GUESS its own payer by decoding its own token, and a guess that disagrees with the server is how money lands in an account the gate never reads. `balance`, `holds` and `available` are whole USD cents, ROUNDED from the ledger\'s exact 18-decimal value. On the co-resident ledger `holds` is 0 and `available` equals `balance`: the gate\'s reservations live in its own pod and are never posted, so the settled balance IS the spendable one. `cash`, `line` and `credit` say where `available` came from, and add up to it. `cash` is money the customer paid — a settled card payment or a recorded wire. `credit` is money Hanzo minted: signup and promotional credit, admin grants. `line` is what is left of the org\'s postpaid credit line (`creditLimit`), and `due` what the account owes on it: usage the line paid for, invoiced, and paid down first by the next payment. A debit draws cash, then the line, then credit; granted credit never pays what is due. The three line fields are absent when the ledger did not report them. The ledger is the caller\'s own org, taken from the VALIDATED IAM owner claim and never from a client header. No validated principal is 401. A balance that cannot be READ is 502, never 0: unknown is not broke.
|
|
325
325
|
* @summary Prepaid credit the caller\'s org can still spend
|
|
326
326
|
* @param {*} [options] Override http request option.
|
|
327
327
|
* @throws {RequiredError}
|
|
@@ -1695,7 +1695,7 @@ export const BillingApiFp = function (configuration) {
|
|
|
1695
1695
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1696
1696
|
},
|
|
1697
1697
|
/**
|
|
1698
|
-
* Answers the spendable prepaid balance of the wallet this caller bills from — the same wallet the AI prepaid gate reads before admitting a paid request, the edge meter debits, and a top-up credits. The wallet is an ADDRESS, not an org: `account` echoes the key resolved within the ledger — the org\'s shared pool for a tenant org, a personal account for a member of the shared signup org. The echo is the point. A browser could only GUESS its own payer by decoding its own token, and a guess that disagrees with the server is how money lands in an account the gate never reads. `balance`, `holds` and `available` are whole USD cents, ROUNDED from the ledger\'s exact 18-decimal value. On the co-resident ledger `holds` is 0 and `available` equals `balance`: the gate\'s reservations live in its own pod and are never posted, so the settled balance IS the spendable one. `cash` and `credit` say where `available` came from, and add up to it. `cash` is money the customer paid — a settled card payment or a recorded wire. `credit` is money Hanzo minted: signup and promotional credit, admin grants.
|
|
1698
|
+
* Answers the spendable prepaid balance of the wallet this caller bills from — the same wallet the AI prepaid gate reads before admitting a paid request, the edge meter debits, and a top-up credits. The wallet is an ADDRESS, not an org: `account` echoes the key resolved within the ledger — the org\'s shared pool for a tenant org, a personal account for a member of the shared signup org. The echo is the point. A browser could only GUESS its own payer by decoding its own token, and a guess that disagrees with the server is how money lands in an account the gate never reads. `balance`, `holds` and `available` are whole USD cents, ROUNDED from the ledger\'s exact 18-decimal value. On the co-resident ledger `holds` is 0 and `available` equals `balance`: the gate\'s reservations live in its own pod and are never posted, so the settled balance IS the spendable one. `cash`, `line` and `credit` say where `available` came from, and add up to it. `cash` is money the customer paid — a settled card payment or a recorded wire. `credit` is money Hanzo minted: signup and promotional credit, admin grants. `line` is what is left of the org\'s postpaid credit line (`creditLimit`), and `due` what the account owes on it: usage the line paid for, invoiced, and paid down first by the next payment. A debit draws cash, then the line, then credit; granted credit never pays what is due. The three line fields are absent when the ledger did not report them. The ledger is the caller\'s own org, taken from the VALIDATED IAM owner claim and never from a client header. No validated principal is 401. A balance that cannot be READ is 502, never 0: unknown is not broke.
|
|
1699
1699
|
* @summary Prepaid credit the caller\'s org can still spend
|
|
1700
1700
|
* @param {*} [options] Override http request option.
|
|
1701
1701
|
* @throws {RequiredError}
|
|
@@ -2301,7 +2301,7 @@ export const BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
2301
2301
|
return localVarFp.getBillingAlertsAuthorize(requestParameters.project, requestParameters.service, requestParameters.amount, requestParameters.pv, options).then((request) => request(axios, basePath));
|
|
2302
2302
|
},
|
|
2303
2303
|
/**
|
|
2304
|
-
* Answers the spendable prepaid balance of the wallet this caller bills from — the same wallet the AI prepaid gate reads before admitting a paid request, the edge meter debits, and a top-up credits. The wallet is an ADDRESS, not an org: `account` echoes the key resolved within the ledger — the org\'s shared pool for a tenant org, a personal account for a member of the shared signup org. The echo is the point. A browser could only GUESS its own payer by decoding its own token, and a guess that disagrees with the server is how money lands in an account the gate never reads. `balance`, `holds` and `available` are whole USD cents, ROUNDED from the ledger\'s exact 18-decimal value. On the co-resident ledger `holds` is 0 and `available` equals `balance`: the gate\'s reservations live in its own pod and are never posted, so the settled balance IS the spendable one. `cash` and `credit` say where `available` came from, and add up to it. `cash` is money the customer paid — a settled card payment or a recorded wire. `credit` is money Hanzo minted: signup and promotional credit, admin grants.
|
|
2304
|
+
* Answers the spendable prepaid balance of the wallet this caller bills from — the same wallet the AI prepaid gate reads before admitting a paid request, the edge meter debits, and a top-up credits. The wallet is an ADDRESS, not an org: `account` echoes the key resolved within the ledger — the org\'s shared pool for a tenant org, a personal account for a member of the shared signup org. The echo is the point. A browser could only GUESS its own payer by decoding its own token, and a guess that disagrees with the server is how money lands in an account the gate never reads. `balance`, `holds` and `available` are whole USD cents, ROUNDED from the ledger\'s exact 18-decimal value. On the co-resident ledger `holds` is 0 and `available` equals `balance`: the gate\'s reservations live in its own pod and are never posted, so the settled balance IS the spendable one. `cash`, `line` and `credit` say where `available` came from, and add up to it. `cash` is money the customer paid — a settled card payment or a recorded wire. `credit` is money Hanzo minted: signup and promotional credit, admin grants. `line` is what is left of the org\'s postpaid credit line (`creditLimit`), and `due` what the account owes on it: usage the line paid for, invoiced, and paid down first by the next payment. A debit draws cash, then the line, then credit; granted credit never pays what is due. The three line fields are absent when the ledger did not report them. The ledger is the caller\'s own org, taken from the VALIDATED IAM owner claim and never from a client header. No validated principal is 401. A balance that cannot be READ is 502, never 0: unknown is not broke.
|
|
2305
2305
|
* @summary Prepaid credit the caller\'s org can still spend
|
|
2306
2306
|
* @param {*} [options] Override http request option.
|
|
2307
2307
|
* @throws {RequiredError}
|
|
@@ -2786,7 +2786,7 @@ export class BillingApi extends BaseAPI {
|
|
|
2786
2786
|
return BillingApiFp(this.configuration).getBillingAlertsAuthorize(requestParameters.project, requestParameters.service, requestParameters.amount, requestParameters.pv, options).then((request) => request(this.axios, this.basePath));
|
|
2787
2787
|
}
|
|
2788
2788
|
/**
|
|
2789
|
-
* Answers the spendable prepaid balance of the wallet this caller bills from — the same wallet the AI prepaid gate reads before admitting a paid request, the edge meter debits, and a top-up credits. The wallet is an ADDRESS, not an org: `account` echoes the key resolved within the ledger — the org\'s shared pool for a tenant org, a personal account for a member of the shared signup org. The echo is the point. A browser could only GUESS its own payer by decoding its own token, and a guess that disagrees with the server is how money lands in an account the gate never reads. `balance`, `holds` and `available` are whole USD cents, ROUNDED from the ledger\'s exact 18-decimal value. On the co-resident ledger `holds` is 0 and `available` equals `balance`: the gate\'s reservations live in its own pod and are never posted, so the settled balance IS the spendable one. `cash` and `credit` say where `available` came from, and add up to it. `cash` is money the customer paid — a settled card payment or a recorded wire. `credit` is money Hanzo minted: signup and promotional credit, admin grants.
|
|
2789
|
+
* Answers the spendable prepaid balance of the wallet this caller bills from — the same wallet the AI prepaid gate reads before admitting a paid request, the edge meter debits, and a top-up credits. The wallet is an ADDRESS, not an org: `account` echoes the key resolved within the ledger — the org\'s shared pool for a tenant org, a personal account for a member of the shared signup org. The echo is the point. A browser could only GUESS its own payer by decoding its own token, and a guess that disagrees with the server is how money lands in an account the gate never reads. `balance`, `holds` and `available` are whole USD cents, ROUNDED from the ledger\'s exact 18-decimal value. On the co-resident ledger `holds` is 0 and `available` equals `balance`: the gate\'s reservations live in its own pod and are never posted, so the settled balance IS the spendable one. `cash`, `line` and `credit` say where `available` came from, and add up to it. `cash` is money the customer paid — a settled card payment or a recorded wire. `credit` is money Hanzo minted: signup and promotional credit, admin grants. `line` is what is left of the org\'s postpaid credit line (`creditLimit`), and `due` what the account owes on it: usage the line paid for, invoiced, and paid down first by the next payment. A debit draws cash, then the line, then credit; granted credit never pays what is due. The three line fields are absent when the ledger did not report them. The ledger is the caller\'s own org, taken from the VALIDATED IAM owner claim and never from a client header. No validated principal is 401. A balance that cannot be READ is 502, never 0: unknown is not broke.
|
|
2790
2790
|
* @summary Prepaid credit the caller\'s org can still spend
|
|
2791
2791
|
* @param {*} [options] Override http request option.
|
|
2792
2792
|
* @throws {RequiredError}
|
|
@@ -47,6 +47,7 @@ import type { GitUsageView } from '../models';
|
|
|
47
47
|
import type { GitWorkflowList } from '../models';
|
|
48
48
|
import type { GitWorkflowRun } from '../models';
|
|
49
49
|
import type { GitWorkflowRuns } from '../models';
|
|
50
|
+
import type { GitWorkspaceView } from '../models';
|
|
50
51
|
import type { RunnerDeclareIn } from '../models';
|
|
51
52
|
import type { RunnerDeclareOut } from '../models';
|
|
52
53
|
import type { RunnerLogIn } from '../models';
|
|
@@ -460,6 +461,13 @@ export declare const GitApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
460
461
|
* @throws {RequiredError}
|
|
461
462
|
*/
|
|
462
463
|
postGitWebhook: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
464
|
+
/**
|
|
465
|
+
* Sets the org\'s code workspace up for the caller and answers it: the namespace, made when the org has none, and the caller\'s forge account and seat there. Idempotent. The estate\'s namespace is answered from the closed table and nobody is enrolled in it. A seat is a person\'s: an API key or an application is refused, and a SuperAdmin acting in another org reads the workspace as it is and makes nothing.
|
|
466
|
+
* @summary Sets the org\'s code workspace up for the caller and answers it: the namespace, made when the org has none, and the caller\'s forge account and seat there.
|
|
467
|
+
* @param {*} [options] Override http request option.
|
|
468
|
+
* @throws {RequiredError}
|
|
469
|
+
*/
|
|
470
|
+
postGitWorkspace: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
463
471
|
/**
|
|
464
472
|
* Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
465
473
|
* @summary Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
@@ -912,6 +920,13 @@ export declare const GitApiFp: (configuration?: Configuration) => {
|
|
|
912
920
|
* @throws {RequiredError}
|
|
913
921
|
*/
|
|
914
922
|
postGitWebhook(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
923
|
+
/**
|
|
924
|
+
* Sets the org\'s code workspace up for the caller and answers it: the namespace, made when the org has none, and the caller\'s forge account and seat there. Idempotent. The estate\'s namespace is answered from the closed table and nobody is enrolled in it. A seat is a person\'s: an API key or an application is refused, and a SuperAdmin acting in another org reads the workspace as it is and makes nothing.
|
|
925
|
+
* @summary Sets the org\'s code workspace up for the caller and answers it: the namespace, made when the org has none, and the caller\'s forge account and seat there.
|
|
926
|
+
* @param {*} [options] Override http request option.
|
|
927
|
+
* @throws {RequiredError}
|
|
928
|
+
*/
|
|
929
|
+
postGitWorkspace(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitWorkspaceView>>;
|
|
915
930
|
/**
|
|
916
931
|
* Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
917
932
|
* @summary Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
@@ -1326,6 +1341,13 @@ export declare const GitApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
1326
1341
|
* @throws {RequiredError}
|
|
1327
1342
|
*/
|
|
1328
1343
|
postGitWebhook(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1344
|
+
/**
|
|
1345
|
+
* Sets the org\'s code workspace up for the caller and answers it: the namespace, made when the org has none, and the caller\'s forge account and seat there. Idempotent. The estate\'s namespace is answered from the closed table and nobody is enrolled in it. A seat is a person\'s: an API key or an application is refused, and a SuperAdmin acting in another org reads the workspace as it is and makes nothing.
|
|
1346
|
+
* @summary Sets the org\'s code workspace up for the caller and answers it: the namespace, made when the org has none, and the caller\'s forge account and seat there.
|
|
1347
|
+
* @param {*} [options] Override http request option.
|
|
1348
|
+
* @throws {RequiredError}
|
|
1349
|
+
*/
|
|
1350
|
+
postGitWorkspace(options?: RawAxiosRequestConfig): AxiosPromise<GitWorkspaceView>;
|
|
1329
1351
|
/**
|
|
1330
1352
|
* Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
1331
1353
|
* @summary Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
@@ -2615,6 +2637,14 @@ export declare class GitApi extends BaseAPI {
|
|
|
2615
2637
|
* @memberof GitApi
|
|
2616
2638
|
*/
|
|
2617
2639
|
postGitWebhook(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
2640
|
+
/**
|
|
2641
|
+
* Sets the org\'s code workspace up for the caller and answers it: the namespace, made when the org has none, and the caller\'s forge account and seat there. Idempotent. The estate\'s namespace is answered from the closed table and nobody is enrolled in it. A seat is a person\'s: an API key or an application is refused, and a SuperAdmin acting in another org reads the workspace as it is and makes nothing.
|
|
2642
|
+
* @summary Sets the org\'s code workspace up for the caller and answers it: the namespace, made when the org has none, and the caller\'s forge account and seat there.
|
|
2643
|
+
* @param {*} [options] Override http request option.
|
|
2644
|
+
* @throws {RequiredError}
|
|
2645
|
+
* @memberof GitApi
|
|
2646
|
+
*/
|
|
2647
|
+
postGitWorkspace(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GitWorkspaceView, any, {}>>;
|
|
2618
2648
|
/**
|
|
2619
2649
|
* Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
2620
2650
|
* @summary Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
package/dist/esm/api/git-api.js
CHANGED
|
@@ -1621,6 +1621,34 @@ export const GitApiAxiosParamCreator = function (configuration) {
|
|
|
1621
1621
|
options: localVarRequestOptions,
|
|
1622
1622
|
};
|
|
1623
1623
|
},
|
|
1624
|
+
/**
|
|
1625
|
+
* Sets the org\'s code workspace up for the caller and answers it: the namespace, made when the org has none, and the caller\'s forge account and seat there. Idempotent. The estate\'s namespace is answered from the closed table and nobody is enrolled in it. A seat is a person\'s: an API key or an application is refused, and a SuperAdmin acting in another org reads the workspace as it is and makes nothing.
|
|
1626
|
+
* @summary Sets the org\'s code workspace up for the caller and answers it: the namespace, made when the org has none, and the caller\'s forge account and seat there.
|
|
1627
|
+
* @param {*} [options] Override http request option.
|
|
1628
|
+
* @throws {RequiredError}
|
|
1629
|
+
*/
|
|
1630
|
+
postGitWorkspace: async (options = {}) => {
|
|
1631
|
+
const localVarPath = `/v1/git/workspace`;
|
|
1632
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1633
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1634
|
+
let baseOptions;
|
|
1635
|
+
if (configuration) {
|
|
1636
|
+
baseOptions = configuration.baseOptions;
|
|
1637
|
+
}
|
|
1638
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1639
|
+
const localVarHeaderParameter = {};
|
|
1640
|
+
const localVarQueryParameter = {};
|
|
1641
|
+
// authentication bearer required
|
|
1642
|
+
// http bearer authentication required
|
|
1643
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1644
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1645
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1646
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1647
|
+
return {
|
|
1648
|
+
url: toPathString(localVarUrlObj),
|
|
1649
|
+
options: localVarRequestOptions,
|
|
1650
|
+
};
|
|
1651
|
+
},
|
|
1624
1652
|
/**
|
|
1625
1653
|
* Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
1626
1654
|
* @summary Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
@@ -2455,6 +2483,18 @@ export const GitApiFp = function (configuration) {
|
|
|
2455
2483
|
const localVarOperationServerBasePath = operationServerMap['GitApi.postGitWebhook']?.[localVarOperationServerIndex]?.url;
|
|
2456
2484
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2457
2485
|
},
|
|
2486
|
+
/**
|
|
2487
|
+
* Sets the org\'s code workspace up for the caller and answers it: the namespace, made when the org has none, and the caller\'s forge account and seat there. Idempotent. The estate\'s namespace is answered from the closed table and nobody is enrolled in it. A seat is a person\'s: an API key or an application is refused, and a SuperAdmin acting in another org reads the workspace as it is and makes nothing.
|
|
2488
|
+
* @summary Sets the org\'s code workspace up for the caller and answers it: the namespace, made when the org has none, and the caller\'s forge account and seat there.
|
|
2489
|
+
* @param {*} [options] Override http request option.
|
|
2490
|
+
* @throws {RequiredError}
|
|
2491
|
+
*/
|
|
2492
|
+
async postGitWorkspace(options) {
|
|
2493
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGitWorkspace(options);
|
|
2494
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2495
|
+
const localVarOperationServerBasePath = operationServerMap['GitApi.postGitWorkspace']?.[localVarOperationServerIndex]?.url;
|
|
2496
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2497
|
+
},
|
|
2458
2498
|
/**
|
|
2459
2499
|
* Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
2460
2500
|
* @summary Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
@@ -2989,6 +3029,15 @@ export const GitApiFactory = function (configuration, basePath, axios) {
|
|
|
2989
3029
|
postGitWebhook(options) {
|
|
2990
3030
|
return localVarFp.postGitWebhook(options).then((request) => request(axios, basePath));
|
|
2991
3031
|
},
|
|
3032
|
+
/**
|
|
3033
|
+
* Sets the org\'s code workspace up for the caller and answers it: the namespace, made when the org has none, and the caller\'s forge account and seat there. Idempotent. The estate\'s namespace is answered from the closed table and nobody is enrolled in it. A seat is a person\'s: an API key or an application is refused, and a SuperAdmin acting in another org reads the workspace as it is and makes nothing.
|
|
3034
|
+
* @summary Sets the org\'s code workspace up for the caller and answers it: the namespace, made when the org has none, and the caller\'s forge account and seat there.
|
|
3035
|
+
* @param {*} [options] Override http request option.
|
|
3036
|
+
* @throws {RequiredError}
|
|
3037
|
+
*/
|
|
3038
|
+
postGitWorkspace(options) {
|
|
3039
|
+
return localVarFp.postGitWorkspace(options).then((request) => request(axios, basePath));
|
|
3040
|
+
},
|
|
2992
3041
|
/**
|
|
2993
3042
|
* Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
2994
3043
|
* @summary Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
@@ -3546,6 +3595,16 @@ export class GitApi extends BaseAPI {
|
|
|
3546
3595
|
postGitWebhook(options) {
|
|
3547
3596
|
return GitApiFp(this.configuration).postGitWebhook(options).then((request) => request(this.axios, this.basePath));
|
|
3548
3597
|
}
|
|
3598
|
+
/**
|
|
3599
|
+
* Sets the org\'s code workspace up for the caller and answers it: the namespace, made when the org has none, and the caller\'s forge account and seat there. Idempotent. The estate\'s namespace is answered from the closed table and nobody is enrolled in it. A seat is a person\'s: an API key or an application is refused, and a SuperAdmin acting in another org reads the workspace as it is and makes nothing.
|
|
3600
|
+
* @summary Sets the org\'s code workspace up for the caller and answers it: the namespace, made when the org has none, and the caller\'s forge account and seat there.
|
|
3601
|
+
* @param {*} [options] Override http request option.
|
|
3602
|
+
* @throws {RequiredError}
|
|
3603
|
+
* @memberof GitApi
|
|
3604
|
+
*/
|
|
3605
|
+
postGitWorkspace(options) {
|
|
3606
|
+
return GitApiFp(this.configuration).postGitWorkspace(options).then((request) => request(this.axios, this.basePath));
|
|
3607
|
+
}
|
|
3549
3608
|
/**
|
|
3550
3609
|
* Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
3551
3610
|
* @summary Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { TaskBoardView } from '../models';
|
|
16
|
+
import type { TaskCommentList } from '../models';
|
|
16
17
|
import type { TaskIssueEdit } from '../models';
|
|
17
18
|
import type { TaskIssueHit } from '../models';
|
|
18
19
|
import type { TaskIssueHits } from '../models';
|
|
@@ -100,6 +101,15 @@ export declare const TaskApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
100
101
|
* @throws {RequiredError}
|
|
101
102
|
*/
|
|
102
103
|
getTaskProjectsByKeyIssuesByNum: (key: string, num: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
104
|
+
/**
|
|
105
|
+
* Is one issue\'s conversation, oldest first, read as the caller. An issue that lives on GitHub names its home and is read there.
|
|
106
|
+
* @summary Is one issue\'s conversation, oldest first, read as the caller.
|
|
107
|
+
* @param {string} key Key is the board — the repository name, or an index board\'s key.
|
|
108
|
+
* @param {number} num Num is the issue\'s number on that board.
|
|
109
|
+
* @param {*} [options] Override http request option.
|
|
110
|
+
* @throws {RequiredError}
|
|
111
|
+
*/
|
|
112
|
+
getTaskProjectsByKeyIssuesByNumComments: (key: string, num: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
103
113
|
/**
|
|
104
114
|
* Summarises one room\'s work. The room is opaque here and is deliberately not resolved: this package cannot say whether a room exists — apps/team owns that document — so an unknown room answers an EMPTY board rather than a 404. That is the honest answer and the useful one: a channel that has never had an item filed in it and a channel id that was mistyped both have no work, and inventing a distinction would require this surface to hold a second copy of the room list (HIP-0523 §2 forbids it, and it would drift the first time a room was renamed). Tenancy is the validated principal\'s org and nothing else, so a caller cannot read another tenant\'s channel by naming its room.
|
|
105
115
|
* @summary Summarises one room\'s work.
|
|
@@ -233,6 +243,15 @@ export declare const TaskApiFp: (configuration?: Configuration) => {
|
|
|
233
243
|
* @throws {RequiredError}
|
|
234
244
|
*/
|
|
235
245
|
getTaskProjectsByKeyIssuesByNum(key: string, num: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskIssueView>>;
|
|
246
|
+
/**
|
|
247
|
+
* Is one issue\'s conversation, oldest first, read as the caller. An issue that lives on GitHub names its home and is read there.
|
|
248
|
+
* @summary Is one issue\'s conversation, oldest first, read as the caller.
|
|
249
|
+
* @param {string} key Key is the board — the repository name, or an index board\'s key.
|
|
250
|
+
* @param {number} num Num is the issue\'s number on that board.
|
|
251
|
+
* @param {*} [options] Override http request option.
|
|
252
|
+
* @throws {RequiredError}
|
|
253
|
+
*/
|
|
254
|
+
getTaskProjectsByKeyIssuesByNumComments(key: string, num: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskCommentList>>;
|
|
236
255
|
/**
|
|
237
256
|
* Summarises one room\'s work. The room is opaque here and is deliberately not resolved: this package cannot say whether a room exists — apps/team owns that document — so an unknown room answers an EMPTY board rather than a 404. That is the honest answer and the useful one: a channel that has never had an item filed in it and a channel id that was mistyped both have no work, and inventing a distinction would require this surface to hold a second copy of the room list (HIP-0523 §2 forbids it, and it would drift the first time a room was renamed). Tenancy is the validated principal\'s org and nothing else, so a caller cannot read another tenant\'s channel by naming its room.
|
|
238
257
|
* @summary Summarises one room\'s work.
|
|
@@ -345,6 +364,14 @@ export declare const TaskApiFactory: (configuration?: Configuration, basePath?:
|
|
|
345
364
|
* @throws {RequiredError}
|
|
346
365
|
*/
|
|
347
366
|
getTaskProjectsByKeyIssuesByNum(requestParameters: TaskApiGetTaskProjectsByKeyIssuesByNumRequest, options?: RawAxiosRequestConfig): AxiosPromise<TaskIssueView>;
|
|
367
|
+
/**
|
|
368
|
+
* Is one issue\'s conversation, oldest first, read as the caller. An issue that lives on GitHub names its home and is read there.
|
|
369
|
+
* @summary Is one issue\'s conversation, oldest first, read as the caller.
|
|
370
|
+
* @param {TaskApiGetTaskProjectsByKeyIssuesByNumCommentsRequest} requestParameters Request parameters.
|
|
371
|
+
* @param {*} [options] Override http request option.
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
*/
|
|
374
|
+
getTaskProjectsByKeyIssuesByNumComments(requestParameters: TaskApiGetTaskProjectsByKeyIssuesByNumCommentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<TaskCommentList>;
|
|
348
375
|
/**
|
|
349
376
|
* Summarises one room\'s work. The room is opaque here and is deliberately not resolved: this package cannot say whether a room exists — apps/team owns that document — so an unknown room answers an EMPTY board rather than a 404. That is the honest answer and the useful one: a channel that has never had an item filed in it and a channel id that was mistyped both have no work, and inventing a distinction would require this surface to hold a second copy of the room list (HIP-0523 §2 forbids it, and it would drift the first time a room was renamed). Tenancy is the validated principal\'s org and nothing else, so a caller cannot read another tenant\'s channel by naming its room.
|
|
350
377
|
* @summary Summarises one room\'s work.
|
|
@@ -597,6 +624,25 @@ export interface TaskApiGetTaskProjectsByKeyIssuesByNumRequest {
|
|
|
597
624
|
*/
|
|
598
625
|
readonly num: number;
|
|
599
626
|
}
|
|
627
|
+
/**
|
|
628
|
+
* Request parameters for getTaskProjectsByKeyIssuesByNumComments operation in TaskApi.
|
|
629
|
+
* @export
|
|
630
|
+
* @interface TaskApiGetTaskProjectsByKeyIssuesByNumCommentsRequest
|
|
631
|
+
*/
|
|
632
|
+
export interface TaskApiGetTaskProjectsByKeyIssuesByNumCommentsRequest {
|
|
633
|
+
/**
|
|
634
|
+
* Key is the board — the repository name, or an index board\'s key.
|
|
635
|
+
* @type {string}
|
|
636
|
+
* @memberof TaskApiGetTaskProjectsByKeyIssuesByNumComments
|
|
637
|
+
*/
|
|
638
|
+
readonly key: string;
|
|
639
|
+
/**
|
|
640
|
+
* Num is the issue\'s number on that board.
|
|
641
|
+
* @type {number}
|
|
642
|
+
* @memberof TaskApiGetTaskProjectsByKeyIssuesByNumComments
|
|
643
|
+
*/
|
|
644
|
+
readonly num: number;
|
|
645
|
+
}
|
|
600
646
|
/**
|
|
601
647
|
* Request parameters for getTaskRoomsByRoom operation in TaskApi.
|
|
602
648
|
* @export
|
|
@@ -755,6 +801,15 @@ export declare class TaskApi extends BaseAPI {
|
|
|
755
801
|
* @memberof TaskApi
|
|
756
802
|
*/
|
|
757
803
|
getTaskProjectsByKeyIssuesByNum(requestParameters: TaskApiGetTaskProjectsByKeyIssuesByNumRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskIssueView, any, {}>>;
|
|
804
|
+
/**
|
|
805
|
+
* Is one issue\'s conversation, oldest first, read as the caller. An issue that lives on GitHub names its home and is read there.
|
|
806
|
+
* @summary Is one issue\'s conversation, oldest first, read as the caller.
|
|
807
|
+
* @param {TaskApiGetTaskProjectsByKeyIssuesByNumCommentsRequest} requestParameters Request parameters.
|
|
808
|
+
* @param {*} [options] Override http request option.
|
|
809
|
+
* @throws {RequiredError}
|
|
810
|
+
* @memberof TaskApi
|
|
811
|
+
*/
|
|
812
|
+
getTaskProjectsByKeyIssuesByNumComments(requestParameters: TaskApiGetTaskProjectsByKeyIssuesByNumCommentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskCommentList, any, {}>>;
|
|
758
813
|
/**
|
|
759
814
|
* Summarises one room\'s work. The room is opaque here and is deliberately not resolved: this package cannot say whether a room exists — apps/team owns that document — so an unknown room answers an EMPTY board rather than a 404. That is the honest answer and the useful one: a channel that has never had an item filed in it and a channel id that was mistyped both have no work, and inventing a distinction would require this surface to hold a second copy of the room list (HIP-0523 §2 forbids it, and it would drift the first time a room was renamed). Tenancy is the validated principal\'s org and nothing else, so a caller cannot read another tenant\'s channel by naming its room.
|
|
760
815
|
* @summary Summarises one room\'s work.
|