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
package/dist/api/auto-api.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ import type { AutoAutomation } from '../models';
|
|
|
17
17
|
import type { AutoAutomationIn } from '../models';
|
|
18
18
|
import type { AutoAutomationPage } from '../models';
|
|
19
19
|
import type { AutoAutomationPatch } from '../models';
|
|
20
|
+
import type { AutoAutomationRun } from '../models';
|
|
20
21
|
import type { AutoAutomationRunPage } from '../models';
|
|
21
22
|
import type { AutoCatalog } from '../models';
|
|
22
23
|
import type { AutoCreateFlowReq } from '../models';
|
|
@@ -27,6 +28,7 @@ import type { AutoFlowRun } from '../models';
|
|
|
27
28
|
import type { AutoFlowVersion } from '../models';
|
|
28
29
|
import type { AutoPatchFlowIn } from '../models';
|
|
29
30
|
import type { AutoPopulatedFlow } from '../models';
|
|
31
|
+
import type { AutoReviewIn } from '../models';
|
|
30
32
|
import type { AutoRunIn } from '../models';
|
|
31
33
|
import type { AutoRunPage } from '../models';
|
|
32
34
|
import type { AutoRunResp } from '../models';
|
|
@@ -170,6 +172,16 @@ export declare const AutoApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
170
172
|
* @throws {RequiredError}
|
|
171
173
|
*/
|
|
172
174
|
postAutoAutomationsByIdRun: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
175
|
+
/**
|
|
176
|
+
* 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.
|
|
177
|
+
* @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.
|
|
178
|
+
* @param {string} id ID is the automation, and Run its run in review, from the path.
|
|
179
|
+
* @param {string} run
|
|
180
|
+
* @param {AutoReviewIn} autoReviewIn
|
|
181
|
+
* @param {*} [options] Override http request option.
|
|
182
|
+
* @throws {RequiredError}
|
|
183
|
+
*/
|
|
184
|
+
postAutoAutomationsByIdRunsByRunReview: (id: string, run: string, autoReviewIn: AutoReviewIn, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
173
185
|
/**
|
|
174
186
|
* 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.
|
|
175
187
|
* @summary Creates an automation and its initial DRAFT version in one call.
|
|
@@ -383,6 +395,16 @@ export declare const AutoApiFp: (configuration?: Configuration) => {
|
|
|
383
395
|
* @throws {RequiredError}
|
|
384
396
|
*/
|
|
385
397
|
postAutoAutomationsByIdRun(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoRunStarted>>;
|
|
398
|
+
/**
|
|
399
|
+
* 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.
|
|
400
|
+
* @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.
|
|
401
|
+
* @param {string} id ID is the automation, and Run its run in review, from the path.
|
|
402
|
+
* @param {string} run
|
|
403
|
+
* @param {AutoReviewIn} autoReviewIn
|
|
404
|
+
* @param {*} [options] Override http request option.
|
|
405
|
+
* @throws {RequiredError}
|
|
406
|
+
*/
|
|
407
|
+
postAutoAutomationsByIdRunsByRunReview(id: string, run: string, autoReviewIn: AutoReviewIn, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoAutomationRun>>;
|
|
386
408
|
/**
|
|
387
409
|
* 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.
|
|
388
410
|
* @summary Creates an automation and its initial DRAFT version in one call.
|
|
@@ -590,6 +612,14 @@ export declare const AutoApiFactory: (configuration?: Configuration, basePath?:
|
|
|
590
612
|
* @throws {RequiredError}
|
|
591
613
|
*/
|
|
592
614
|
postAutoAutomationsByIdRun(requestParameters: AutoApiPostAutoAutomationsByIdRunRequest, options?: RawAxiosRequestConfig): AxiosPromise<AutoRunStarted>;
|
|
615
|
+
/**
|
|
616
|
+
* 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.
|
|
617
|
+
* @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.
|
|
618
|
+
* @param {AutoApiPostAutoAutomationsByIdRunsByRunReviewRequest} requestParameters Request parameters.
|
|
619
|
+
* @param {*} [options] Override http request option.
|
|
620
|
+
* @throws {RequiredError}
|
|
621
|
+
*/
|
|
622
|
+
postAutoAutomationsByIdRunsByRunReview(requestParameters: AutoApiPostAutoAutomationsByIdRunsByRunReviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<AutoAutomationRun>;
|
|
593
623
|
/**
|
|
594
624
|
* 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.
|
|
595
625
|
* @summary Creates an automation and its initial DRAFT version in one call.
|
|
@@ -881,6 +911,31 @@ export interface AutoApiPostAutoAutomationsByIdRunRequest {
|
|
|
881
911
|
*/
|
|
882
912
|
readonly id: string;
|
|
883
913
|
}
|
|
914
|
+
/**
|
|
915
|
+
* Request parameters for postAutoAutomationsByIdRunsByRunReview operation in AutoApi.
|
|
916
|
+
* @export
|
|
917
|
+
* @interface AutoApiPostAutoAutomationsByIdRunsByRunReviewRequest
|
|
918
|
+
*/
|
|
919
|
+
export interface AutoApiPostAutoAutomationsByIdRunsByRunReviewRequest {
|
|
920
|
+
/**
|
|
921
|
+
* ID is the automation, and Run its run in review, from the path.
|
|
922
|
+
* @type {string}
|
|
923
|
+
* @memberof AutoApiPostAutoAutomationsByIdRunsByRunReview
|
|
924
|
+
*/
|
|
925
|
+
readonly id: string;
|
|
926
|
+
/**
|
|
927
|
+
*
|
|
928
|
+
* @type {string}
|
|
929
|
+
* @memberof AutoApiPostAutoAutomationsByIdRunsByRunReview
|
|
930
|
+
*/
|
|
931
|
+
readonly run: string;
|
|
932
|
+
/**
|
|
933
|
+
*
|
|
934
|
+
* @type {AutoReviewIn}
|
|
935
|
+
* @memberof AutoApiPostAutoAutomationsByIdRunsByRunReview
|
|
936
|
+
*/
|
|
937
|
+
readonly autoReviewIn: AutoReviewIn;
|
|
938
|
+
}
|
|
884
939
|
/**
|
|
885
940
|
* Request parameters for postAutoFlows operation in AutoApi.
|
|
886
941
|
* @export
|
|
@@ -1165,6 +1220,15 @@ export declare class AutoApi extends BaseAPI {
|
|
|
1165
1220
|
* @memberof AutoApi
|
|
1166
1221
|
*/
|
|
1167
1222
|
postAutoAutomationsByIdRun(requestParameters: AutoApiPostAutoAutomationsByIdRunRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<AutoRunStarted, any, {}>>;
|
|
1223
|
+
/**
|
|
1224
|
+
* 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.
|
|
1225
|
+
* @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.
|
|
1226
|
+
* @param {AutoApiPostAutoAutomationsByIdRunsByRunReviewRequest} requestParameters Request parameters.
|
|
1227
|
+
* @param {*} [options] Override http request option.
|
|
1228
|
+
* @throws {RequiredError}
|
|
1229
|
+
* @memberof AutoApi
|
|
1230
|
+
*/
|
|
1231
|
+
postAutoAutomationsByIdRunsByRunReview(requestParameters: AutoApiPostAutoAutomationsByIdRunsByRunReviewRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<AutoAutomationRun, any, {}>>;
|
|
1168
1232
|
/**
|
|
1169
1233
|
* 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.
|
|
1170
1234
|
* @summary Creates an automation and its initial DRAFT version in one call.
|
package/dist/api/auto-api.js
CHANGED
|
@@ -560,6 +560,47 @@ const AutoApiAxiosParamCreator = function (configuration) {
|
|
|
560
560
|
options: localVarRequestOptions,
|
|
561
561
|
};
|
|
562
562
|
},
|
|
563
|
+
/**
|
|
564
|
+
* 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.
|
|
565
|
+
* @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.
|
|
566
|
+
* @param {string} id ID is the automation, and Run its run in review, from the path.
|
|
567
|
+
* @param {string} run
|
|
568
|
+
* @param {AutoReviewIn} autoReviewIn
|
|
569
|
+
* @param {*} [options] Override http request option.
|
|
570
|
+
* @throws {RequiredError}
|
|
571
|
+
*/
|
|
572
|
+
postAutoAutomationsByIdRunsByRunReview: async (id, run, autoReviewIn, options = {}) => {
|
|
573
|
+
// verify required parameter 'id' is not null or undefined
|
|
574
|
+
(0, common_1.assertParamExists)('postAutoAutomationsByIdRunsByRunReview', 'id', id);
|
|
575
|
+
// verify required parameter 'run' is not null or undefined
|
|
576
|
+
(0, common_1.assertParamExists)('postAutoAutomationsByIdRunsByRunReview', 'run', run);
|
|
577
|
+
// verify required parameter 'autoReviewIn' is not null or undefined
|
|
578
|
+
(0, common_1.assertParamExists)('postAutoAutomationsByIdRunsByRunReview', 'autoReviewIn', autoReviewIn);
|
|
579
|
+
const localVarPath = `/v1/auto/automations/{id}/runs/{run}/review`
|
|
580
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
581
|
+
.replace(`{${"run"}}`, encodeURIComponent(String(run)));
|
|
582
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
583
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
584
|
+
let baseOptions;
|
|
585
|
+
if (configuration) {
|
|
586
|
+
baseOptions = configuration.baseOptions;
|
|
587
|
+
}
|
|
588
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
589
|
+
const localVarHeaderParameter = {};
|
|
590
|
+
const localVarQueryParameter = {};
|
|
591
|
+
// authentication bearer required
|
|
592
|
+
// http bearer authentication required
|
|
593
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
594
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
595
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
596
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
597
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
598
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(autoReviewIn, localVarRequestOptions, configuration);
|
|
599
|
+
return {
|
|
600
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
601
|
+
options: localVarRequestOptions,
|
|
602
|
+
};
|
|
603
|
+
},
|
|
563
604
|
/**
|
|
564
605
|
* 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.
|
|
565
606
|
* @summary Creates an automation and its initial DRAFT version in one call.
|
|
@@ -1085,6 +1126,21 @@ const AutoApiFp = function (configuration) {
|
|
|
1085
1126
|
const localVarOperationServerBasePath = base_1.operationServerMap['AutoApi.postAutoAutomationsByIdRun']?.[localVarOperationServerIndex]?.url;
|
|
1086
1127
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1087
1128
|
},
|
|
1129
|
+
/**
|
|
1130
|
+
* 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.
|
|
1131
|
+
* @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.
|
|
1132
|
+
* @param {string} id ID is the automation, and Run its run in review, from the path.
|
|
1133
|
+
* @param {string} run
|
|
1134
|
+
* @param {AutoReviewIn} autoReviewIn
|
|
1135
|
+
* @param {*} [options] Override http request option.
|
|
1136
|
+
* @throws {RequiredError}
|
|
1137
|
+
*/
|
|
1138
|
+
async postAutoAutomationsByIdRunsByRunReview(id, run, autoReviewIn, options) {
|
|
1139
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postAutoAutomationsByIdRunsByRunReview(id, run, autoReviewIn, options);
|
|
1140
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1141
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['AutoApi.postAutoAutomationsByIdRunsByRunReview']?.[localVarOperationServerIndex]?.url;
|
|
1142
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1143
|
+
},
|
|
1088
1144
|
/**
|
|
1089
1145
|
* 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.
|
|
1090
1146
|
* @summary Creates an automation and its initial DRAFT version in one call.
|
|
@@ -1373,6 +1429,16 @@ const AutoApiFactory = function (configuration, basePath, axios) {
|
|
|
1373
1429
|
postAutoAutomationsByIdRun(requestParameters, options) {
|
|
1374
1430
|
return localVarFp.postAutoAutomationsByIdRun(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1375
1431
|
},
|
|
1432
|
+
/**
|
|
1433
|
+
* 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.
|
|
1434
|
+
* @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.
|
|
1435
|
+
* @param {AutoApiPostAutoAutomationsByIdRunsByRunReviewRequest} requestParameters Request parameters.
|
|
1436
|
+
* @param {*} [options] Override http request option.
|
|
1437
|
+
* @throws {RequiredError}
|
|
1438
|
+
*/
|
|
1439
|
+
postAutoAutomationsByIdRunsByRunReview(requestParameters, options) {
|
|
1440
|
+
return localVarFp.postAutoAutomationsByIdRunsByRunReview(requestParameters.id, requestParameters.run, requestParameters.autoReviewIn, options).then((request) => request(axios, basePath));
|
|
1441
|
+
},
|
|
1376
1442
|
/**
|
|
1377
1443
|
* 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.
|
|
1378
1444
|
* @summary Creates an automation and its initial DRAFT version in one call.
|
|
@@ -1647,6 +1713,17 @@ class AutoApi extends base_1.BaseAPI {
|
|
|
1647
1713
|
postAutoAutomationsByIdRun(requestParameters, options) {
|
|
1648
1714
|
return (0, exports.AutoApiFp)(this.configuration).postAutoAutomationsByIdRun(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1649
1715
|
}
|
|
1716
|
+
/**
|
|
1717
|
+
* 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.
|
|
1718
|
+
* @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.
|
|
1719
|
+
* @param {AutoApiPostAutoAutomationsByIdRunsByRunReviewRequest} requestParameters Request parameters.
|
|
1720
|
+
* @param {*} [options] Override http request option.
|
|
1721
|
+
* @throws {RequiredError}
|
|
1722
|
+
* @memberof AutoApi
|
|
1723
|
+
*/
|
|
1724
|
+
postAutoAutomationsByIdRunsByRunReview(requestParameters, options) {
|
|
1725
|
+
return (0, exports.AutoApiFp)(this.configuration).postAutoAutomationsByIdRunsByRunReview(requestParameters.id, requestParameters.run, requestParameters.autoReviewIn, options).then((request) => request(this.axios, this.basePath));
|
|
1726
|
+
}
|
|
1650
1727
|
/**
|
|
1651
1728
|
* 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.
|
|
1652
1729
|
* @summary Creates an automation and its initial DRAFT version in one call.
|
|
@@ -130,7 +130,7 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
|
|
|
130
130
|
*/
|
|
131
131
|
getBillingAlertsAuthorize: (project?: string, service?: string, amount?: string, pv?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
132
132
|
/**
|
|
133
|
-
* 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.
|
|
133
|
+
* 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.
|
|
134
134
|
* @summary Prepaid credit the caller\'s org can still spend
|
|
135
135
|
* @param {*} [options] Override http request option.
|
|
136
136
|
* @throws {RequiredError}
|
|
@@ -519,7 +519,7 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
|
|
|
519
519
|
*/
|
|
520
520
|
getBillingAlertsAuthorize(project?: string, service?: string, amount?: string, pv?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingCapVerdict>>;
|
|
521
521
|
/**
|
|
522
|
-
* 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.
|
|
522
|
+
* 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.
|
|
523
523
|
* @summary Prepaid credit the caller\'s org can still spend
|
|
524
524
|
* @param {*} [options] Override http request option.
|
|
525
525
|
* @throws {RequiredError}
|
|
@@ -904,7 +904,7 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
|
|
|
904
904
|
*/
|
|
905
905
|
getBillingAlertsAuthorize(requestParameters?: BillingApiGetBillingAlertsAuthorizeRequest, options?: RawAxiosRequestConfig): AxiosPromise<BillingCapVerdict>;
|
|
906
906
|
/**
|
|
907
|
-
* 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.
|
|
907
|
+
* 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.
|
|
908
908
|
* @summary Prepaid credit the caller\'s org can still spend
|
|
909
909
|
* @param {*} [options] Override http request option.
|
|
910
910
|
* @throws {RequiredError}
|
|
@@ -1712,7 +1712,7 @@ export declare class BillingApi extends BaseAPI {
|
|
|
1712
1712
|
*/
|
|
1713
1713
|
getBillingAlertsAuthorize(requestParameters?: BillingApiGetBillingAlertsAuthorizeRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BillingCapVerdict, any, {}>>;
|
|
1714
1714
|
/**
|
|
1715
|
-
* 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.
|
|
1715
|
+
* 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.
|
|
1716
1716
|
* @summary Prepaid credit the caller\'s org can still spend
|
|
1717
1717
|
* @param {*} [options] Override http request option.
|
|
1718
1718
|
* @throws {RequiredError}
|
package/dist/api/billing-api.js
CHANGED
|
@@ -327,7 +327,7 @@ const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
327
327
|
};
|
|
328
328
|
},
|
|
329
329
|
/**
|
|
330
|
-
* 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.
|
|
330
|
+
* 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.
|
|
331
331
|
* @summary Prepaid credit the caller\'s org can still spend
|
|
332
332
|
* @param {*} [options] Override http request option.
|
|
333
333
|
* @throws {RequiredError}
|
|
@@ -1702,7 +1702,7 @@ const BillingApiFp = function (configuration) {
|
|
|
1702
1702
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1703
1703
|
},
|
|
1704
1704
|
/**
|
|
1705
|
-
* 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.
|
|
1705
|
+
* 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.
|
|
1706
1706
|
* @summary Prepaid credit the caller\'s org can still spend
|
|
1707
1707
|
* @param {*} [options] Override http request option.
|
|
1708
1708
|
* @throws {RequiredError}
|
|
@@ -2309,7 +2309,7 @@ const BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
2309
2309
|
return localVarFp.getBillingAlertsAuthorize(requestParameters.project, requestParameters.service, requestParameters.amount, requestParameters.pv, options).then((request) => request(axios, basePath));
|
|
2310
2310
|
},
|
|
2311
2311
|
/**
|
|
2312
|
-
* 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.
|
|
2312
|
+
* 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.
|
|
2313
2313
|
* @summary Prepaid credit the caller\'s org can still spend
|
|
2314
2314
|
* @param {*} [options] Override http request option.
|
|
2315
2315
|
* @throws {RequiredError}
|
|
@@ -2795,7 +2795,7 @@ class BillingApi extends base_1.BaseAPI {
|
|
|
2795
2795
|
return (0, exports.BillingApiFp)(this.configuration).getBillingAlertsAuthorize(requestParameters.project, requestParameters.service, requestParameters.amount, requestParameters.pv, options).then((request) => request(this.axios, this.basePath));
|
|
2796
2796
|
}
|
|
2797
2797
|
/**
|
|
2798
|
-
* 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.
|
|
2798
|
+
* 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.
|
|
2799
2799
|
* @summary Prepaid credit the caller\'s org can still spend
|
|
2800
2800
|
* @param {*} [options] Override http request option.
|
|
2801
2801
|
* @throws {RequiredError}
|
package/dist/api/git-api.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ import type { GitUsageView } from '../models';
|
|
|
48
48
|
import type { GitWorkflowList } from '../models';
|
|
49
49
|
import type { GitWorkflowRun } from '../models';
|
|
50
50
|
import type { GitWorkflowRuns } from '../models';
|
|
51
|
+
import type { GitWorkspaceView } from '../models';
|
|
51
52
|
import type { RunnerDeclareIn } from '../models';
|
|
52
53
|
import type { RunnerDeclareOut } from '../models';
|
|
53
54
|
import type { RunnerLogIn } from '../models';
|
|
@@ -461,6 +462,13 @@ export declare const GitApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
461
462
|
* @throws {RequiredError}
|
|
462
463
|
*/
|
|
463
464
|
postGitWebhook: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
465
|
+
/**
|
|
466
|
+
* 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.
|
|
467
|
+
* @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.
|
|
468
|
+
* @param {*} [options] Override http request option.
|
|
469
|
+
* @throws {RequiredError}
|
|
470
|
+
*/
|
|
471
|
+
postGitWorkspace: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
464
472
|
/**
|
|
465
473
|
* Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
466
474
|
* @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.
|
|
@@ -913,6 +921,13 @@ export declare const GitApiFp: (configuration?: Configuration) => {
|
|
|
913
921
|
* @throws {RequiredError}
|
|
914
922
|
*/
|
|
915
923
|
postGitWebhook(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
924
|
+
/**
|
|
925
|
+
* 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.
|
|
926
|
+
* @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.
|
|
927
|
+
* @param {*} [options] Override http request option.
|
|
928
|
+
* @throws {RequiredError}
|
|
929
|
+
*/
|
|
930
|
+
postGitWorkspace(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitWorkspaceView>>;
|
|
916
931
|
/**
|
|
917
932
|
* Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
918
933
|
* @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.
|
|
@@ -1327,6 +1342,13 @@ export declare const GitApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
1327
1342
|
* @throws {RequiredError}
|
|
1328
1343
|
*/
|
|
1329
1344
|
postGitWebhook(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1345
|
+
/**
|
|
1346
|
+
* 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.
|
|
1347
|
+
* @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.
|
|
1348
|
+
* @param {*} [options] Override http request option.
|
|
1349
|
+
* @throws {RequiredError}
|
|
1350
|
+
*/
|
|
1351
|
+
postGitWorkspace(options?: RawAxiosRequestConfig): AxiosPromise<GitWorkspaceView>;
|
|
1330
1352
|
/**
|
|
1331
1353
|
* Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
1332
1354
|
* @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.
|
|
@@ -2616,6 +2638,14 @@ export declare class GitApi extends BaseAPI {
|
|
|
2616
2638
|
* @memberof GitApi
|
|
2617
2639
|
*/
|
|
2618
2640
|
postGitWebhook(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
|
|
2641
|
+
/**
|
|
2642
|
+
* 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.
|
|
2643
|
+
* @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.
|
|
2644
|
+
* @param {*} [options] Override http request option.
|
|
2645
|
+
* @throws {RequiredError}
|
|
2646
|
+
* @memberof GitApi
|
|
2647
|
+
*/
|
|
2648
|
+
postGitWorkspace(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GitWorkspaceView, any, {}>>;
|
|
2619
2649
|
/**
|
|
2620
2650
|
* Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
2621
2651
|
* @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/api/git-api.js
CHANGED
|
@@ -1627,6 +1627,34 @@ const GitApiAxiosParamCreator = function (configuration) {
|
|
|
1627
1627
|
options: localVarRequestOptions,
|
|
1628
1628
|
};
|
|
1629
1629
|
},
|
|
1630
|
+
/**
|
|
1631
|
+
* 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.
|
|
1632
|
+
* @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.
|
|
1633
|
+
* @param {*} [options] Override http request option.
|
|
1634
|
+
* @throws {RequiredError}
|
|
1635
|
+
*/
|
|
1636
|
+
postGitWorkspace: async (options = {}) => {
|
|
1637
|
+
const localVarPath = `/v1/git/workspace`;
|
|
1638
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1639
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1640
|
+
let baseOptions;
|
|
1641
|
+
if (configuration) {
|
|
1642
|
+
baseOptions = configuration.baseOptions;
|
|
1643
|
+
}
|
|
1644
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1645
|
+
const localVarHeaderParameter = {};
|
|
1646
|
+
const localVarQueryParameter = {};
|
|
1647
|
+
// authentication bearer required
|
|
1648
|
+
// http bearer authentication required
|
|
1649
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1650
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1651
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1652
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1653
|
+
return {
|
|
1654
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1655
|
+
options: localVarRequestOptions,
|
|
1656
|
+
};
|
|
1657
|
+
},
|
|
1630
1658
|
/**
|
|
1631
1659
|
* Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
1632
1660
|
* @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.
|
|
@@ -2462,6 +2490,18 @@ const GitApiFp = function (configuration) {
|
|
|
2462
2490
|
const localVarOperationServerBasePath = base_1.operationServerMap['GitApi.postGitWebhook']?.[localVarOperationServerIndex]?.url;
|
|
2463
2491
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2464
2492
|
},
|
|
2493
|
+
/**
|
|
2494
|
+
* 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.
|
|
2495
|
+
* @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.
|
|
2496
|
+
* @param {*} [options] Override http request option.
|
|
2497
|
+
* @throws {RequiredError}
|
|
2498
|
+
*/
|
|
2499
|
+
async postGitWorkspace(options) {
|
|
2500
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGitWorkspace(options);
|
|
2501
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2502
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['GitApi.postGitWorkspace']?.[localVarOperationServerIndex]?.url;
|
|
2503
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2504
|
+
},
|
|
2465
2505
|
/**
|
|
2466
2506
|
* Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
2467
2507
|
* @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.
|
|
@@ -2997,6 +3037,15 @@ const GitApiFactory = function (configuration, basePath, axios) {
|
|
|
2997
3037
|
postGitWebhook(options) {
|
|
2998
3038
|
return localVarFp.postGitWebhook(options).then((request) => request(axios, basePath));
|
|
2999
3039
|
},
|
|
3040
|
+
/**
|
|
3041
|
+
* 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.
|
|
3042
|
+
* @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.
|
|
3043
|
+
* @param {*} [options] Override http request option.
|
|
3044
|
+
* @throws {RequiredError}
|
|
3045
|
+
*/
|
|
3046
|
+
postGitWorkspace(options) {
|
|
3047
|
+
return localVarFp.postGitWorkspace(options).then((request) => request(axios, basePath));
|
|
3048
|
+
},
|
|
3000
3049
|
/**
|
|
3001
3050
|
* Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
3002
3051
|
* @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.
|
|
@@ -3555,6 +3604,16 @@ class GitApi extends base_1.BaseAPI {
|
|
|
3555
3604
|
postGitWebhook(options) {
|
|
3556
3605
|
return (0, exports.GitApiFp)(this.configuration).postGitWebhook(options).then((request) => request(this.axios, this.basePath));
|
|
3557
3606
|
}
|
|
3607
|
+
/**
|
|
3608
|
+
* 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.
|
|
3609
|
+
* @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.
|
|
3610
|
+
* @param {*} [options] Override http request option.
|
|
3611
|
+
* @throws {RequiredError}
|
|
3612
|
+
* @memberof GitApi
|
|
3613
|
+
*/
|
|
3614
|
+
postGitWorkspace(options) {
|
|
3615
|
+
return (0, exports.GitApiFp)(this.configuration).postGitWorkspace(options).then((request) => request(this.axios, this.basePath));
|
|
3616
|
+
}
|
|
3558
3617
|
/**
|
|
3559
3618
|
* Republishes what a registered runner can do, and answers with what this side understands, so the two learn about each other from one exchange.
|
|
3560
3619
|
* @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/api/task-api.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
14
14
|
import globalAxios from 'axios';
|
|
15
15
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
16
16
|
import type { TaskBoardView } from '../models';
|
|
17
|
+
import type { TaskCommentList } from '../models';
|
|
17
18
|
import type { TaskIssueEdit } from '../models';
|
|
18
19
|
import type { TaskIssueHit } from '../models';
|
|
19
20
|
import type { TaskIssueHits } from '../models';
|
|
@@ -101,6 +102,15 @@ export declare const TaskApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
101
102
|
* @throws {RequiredError}
|
|
102
103
|
*/
|
|
103
104
|
getTaskProjectsByKeyIssuesByNum: (key: string, num: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
105
|
+
/**
|
|
106
|
+
* Is one issue\'s conversation, oldest first, read as the caller. An issue that lives on GitHub names its home and is read there.
|
|
107
|
+
* @summary Is one issue\'s conversation, oldest first, read as the caller.
|
|
108
|
+
* @param {string} key Key is the board — the repository name, or an index board\'s key.
|
|
109
|
+
* @param {number} num Num is the issue\'s number on that board.
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
getTaskProjectsByKeyIssuesByNumComments: (key: string, num: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
104
114
|
/**
|
|
105
115
|
* 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.
|
|
106
116
|
* @summary Summarises one room\'s work.
|
|
@@ -234,6 +244,15 @@ export declare const TaskApiFp: (configuration?: Configuration) => {
|
|
|
234
244
|
* @throws {RequiredError}
|
|
235
245
|
*/
|
|
236
246
|
getTaskProjectsByKeyIssuesByNum(key: string, num: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskIssueView>>;
|
|
247
|
+
/**
|
|
248
|
+
* Is one issue\'s conversation, oldest first, read as the caller. An issue that lives on GitHub names its home and is read there.
|
|
249
|
+
* @summary Is one issue\'s conversation, oldest first, read as the caller.
|
|
250
|
+
* @param {string} key Key is the board — the repository name, or an index board\'s key.
|
|
251
|
+
* @param {number} num Num is the issue\'s number on that board.
|
|
252
|
+
* @param {*} [options] Override http request option.
|
|
253
|
+
* @throws {RequiredError}
|
|
254
|
+
*/
|
|
255
|
+
getTaskProjectsByKeyIssuesByNumComments(key: string, num: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskCommentList>>;
|
|
237
256
|
/**
|
|
238
257
|
* 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.
|
|
239
258
|
* @summary Summarises one room\'s work.
|
|
@@ -346,6 +365,14 @@ export declare const TaskApiFactory: (configuration?: Configuration, basePath?:
|
|
|
346
365
|
* @throws {RequiredError}
|
|
347
366
|
*/
|
|
348
367
|
getTaskProjectsByKeyIssuesByNum(requestParameters: TaskApiGetTaskProjectsByKeyIssuesByNumRequest, options?: RawAxiosRequestConfig): AxiosPromise<TaskIssueView>;
|
|
368
|
+
/**
|
|
369
|
+
* Is one issue\'s conversation, oldest first, read as the caller. An issue that lives on GitHub names its home and is read there.
|
|
370
|
+
* @summary Is one issue\'s conversation, oldest first, read as the caller.
|
|
371
|
+
* @param {TaskApiGetTaskProjectsByKeyIssuesByNumCommentsRequest} requestParameters Request parameters.
|
|
372
|
+
* @param {*} [options] Override http request option.
|
|
373
|
+
* @throws {RequiredError}
|
|
374
|
+
*/
|
|
375
|
+
getTaskProjectsByKeyIssuesByNumComments(requestParameters: TaskApiGetTaskProjectsByKeyIssuesByNumCommentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<TaskCommentList>;
|
|
349
376
|
/**
|
|
350
377
|
* 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.
|
|
351
378
|
* @summary Summarises one room\'s work.
|
|
@@ -598,6 +625,25 @@ export interface TaskApiGetTaskProjectsByKeyIssuesByNumRequest {
|
|
|
598
625
|
*/
|
|
599
626
|
readonly num: number;
|
|
600
627
|
}
|
|
628
|
+
/**
|
|
629
|
+
* Request parameters for getTaskProjectsByKeyIssuesByNumComments operation in TaskApi.
|
|
630
|
+
* @export
|
|
631
|
+
* @interface TaskApiGetTaskProjectsByKeyIssuesByNumCommentsRequest
|
|
632
|
+
*/
|
|
633
|
+
export interface TaskApiGetTaskProjectsByKeyIssuesByNumCommentsRequest {
|
|
634
|
+
/**
|
|
635
|
+
* Key is the board — the repository name, or an index board\'s key.
|
|
636
|
+
* @type {string}
|
|
637
|
+
* @memberof TaskApiGetTaskProjectsByKeyIssuesByNumComments
|
|
638
|
+
*/
|
|
639
|
+
readonly key: string;
|
|
640
|
+
/**
|
|
641
|
+
* Num is the issue\'s number on that board.
|
|
642
|
+
* @type {number}
|
|
643
|
+
* @memberof TaskApiGetTaskProjectsByKeyIssuesByNumComments
|
|
644
|
+
*/
|
|
645
|
+
readonly num: number;
|
|
646
|
+
}
|
|
601
647
|
/**
|
|
602
648
|
* Request parameters for getTaskRoomsByRoom operation in TaskApi.
|
|
603
649
|
* @export
|
|
@@ -756,6 +802,15 @@ export declare class TaskApi extends BaseAPI {
|
|
|
756
802
|
* @memberof TaskApi
|
|
757
803
|
*/
|
|
758
804
|
getTaskProjectsByKeyIssuesByNum(requestParameters: TaskApiGetTaskProjectsByKeyIssuesByNumRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TaskIssueView, any, {}>>;
|
|
805
|
+
/**
|
|
806
|
+
* Is one issue\'s conversation, oldest first, read as the caller. An issue that lives on GitHub names its home and is read there.
|
|
807
|
+
* @summary Is one issue\'s conversation, oldest first, read as the caller.
|
|
808
|
+
* @param {TaskApiGetTaskProjectsByKeyIssuesByNumCommentsRequest} requestParameters Request parameters.
|
|
809
|
+
* @param {*} [options] Override http request option.
|
|
810
|
+
* @throws {RequiredError}
|
|
811
|
+
* @memberof TaskApi
|
|
812
|
+
*/
|
|
813
|
+
getTaskProjectsByKeyIssuesByNumComments(requestParameters: TaskApiGetTaskProjectsByKeyIssuesByNumCommentsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TaskCommentList, any, {}>>;
|
|
759
814
|
/**
|
|
760
815
|
* 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.
|
|
761
816
|
* @summary Summarises one room\'s work.
|