hanzoai 2.0.5 → 2.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hanzoai",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "The official TypeScript library for the Hanzo API",
5
5
  "author": "Hanzo <dev@hanzo.ai>",
6
6
  "license": "Apache-2.0",
@@ -1,88 +0,0 @@
1
- /**
2
- * Hanzo Cloud — Unified API (V8 · Open Edition)
3
- * The single unified OpenAPI surface for ALL Hanzo services, aggregated from the per-service specs. Every route is https://api.hanzo.ai/v1/<service>/_*. Grouped by the canonical domains in capabilities.yaml (the ONE registry). cloud/openapi.yaml is hanzoai/cloud\'s own woven document, copied verbatim by sync.py, and it wins wherever it and a hand-written spec describe the same route. Regenerated by merge.py — edit the per-service <svc>/openapi.yaml + capabilities.yaml, not this file.
4
- *
5
- * The version of the OpenAPI document: 8.0.0
6
- * Contact: support@hanzo.ai
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Configuration } from '../configuration';
13
- import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
- import globalAxios from 'axios';
15
- import { type RequestArgs, BaseAPI } from '../base';
16
- import type { CloudEmbedStatusResp } from '../models';
17
- /**
18
- * EmbedStatusApi - axios parameter creator
19
- * @export
20
- */
21
- export declare const EmbedStatusApiAxiosParamCreator: (configuration?: Configuration) => {
22
- /**
23
- * EmbedStatus reports whether one of this brand\'s shared embedded apps (cms, erp, help) may be framed by the caller and is actually running, so a console module can choose between the embed and the provision panel. It answers two questions the browser cannot answer for itself. ENTITLEMENT is server-authoritative: each app is a single shared per-BRAND instance, so only a member of the owning brand org — or a SuperAdmin — is given the embed URL; every other caller gets phase \"not-entitled\" and no URL. REACHABILITY is a probe of that origin, which a cross-origin page cannot read for itself. The probed host is always <app>.<this deployment\'s own brand domain>: no part of it comes from the request, so this can never be steered into probing an arbitrary origin.
24
- * @summary EmbedStatus reports whether one of this brand\'s shared embedded apps (cms, erp, help) may be framed by the caller and is actually running, so a console module can choose between the embed and the provision panel.
25
- * @param {string} [app] App is the embedded app to report on: cms (Content Studio), erp or help.
26
- * @param {*} [options] Override http request option.
27
- * @throws {RequiredError}
28
- */
29
- cloudGetV1EmbedStatus: (app?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30
- };
31
- /**
32
- * EmbedStatusApi - functional programming interface
33
- * @export
34
- */
35
- export declare const EmbedStatusApiFp: (configuration?: Configuration) => {
36
- /**
37
- * EmbedStatus reports whether one of this brand\'s shared embedded apps (cms, erp, help) may be framed by the caller and is actually running, so a console module can choose between the embed and the provision panel. It answers two questions the browser cannot answer for itself. ENTITLEMENT is server-authoritative: each app is a single shared per-BRAND instance, so only a member of the owning brand org — or a SuperAdmin — is given the embed URL; every other caller gets phase \"not-entitled\" and no URL. REACHABILITY is a probe of that origin, which a cross-origin page cannot read for itself. The probed host is always <app>.<this deployment\'s own brand domain>: no part of it comes from the request, so this can never be steered into probing an arbitrary origin.
38
- * @summary EmbedStatus reports whether one of this brand\'s shared embedded apps (cms, erp, help) may be framed by the caller and is actually running, so a console module can choose between the embed and the provision panel.
39
- * @param {string} [app] App is the embedded app to report on: cms (Content Studio), erp or help.
40
- * @param {*} [options] Override http request option.
41
- * @throws {RequiredError}
42
- */
43
- cloudGetV1EmbedStatus(app?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CloudEmbedStatusResp>>;
44
- };
45
- /**
46
- * EmbedStatusApi - factory interface
47
- * @export
48
- */
49
- export declare const EmbedStatusApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
50
- /**
51
- * EmbedStatus reports whether one of this brand\'s shared embedded apps (cms, erp, help) may be framed by the caller and is actually running, so a console module can choose between the embed and the provision panel. It answers two questions the browser cannot answer for itself. ENTITLEMENT is server-authoritative: each app is a single shared per-BRAND instance, so only a member of the owning brand org — or a SuperAdmin — is given the embed URL; every other caller gets phase \"not-entitled\" and no URL. REACHABILITY is a probe of that origin, which a cross-origin page cannot read for itself. The probed host is always <app>.<this deployment\'s own brand domain>: no part of it comes from the request, so this can never be steered into probing an arbitrary origin.
52
- * @summary EmbedStatus reports whether one of this brand\'s shared embedded apps (cms, erp, help) may be framed by the caller and is actually running, so a console module can choose between the embed and the provision panel.
53
- * @param {EmbedStatusApiCloudGetV1EmbedStatusRequest} requestParameters Request parameters.
54
- * @param {*} [options] Override http request option.
55
- * @throws {RequiredError}
56
- */
57
- cloudGetV1EmbedStatus(requestParameters?: EmbedStatusApiCloudGetV1EmbedStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<CloudEmbedStatusResp>;
58
- };
59
- /**
60
- * Request parameters for cloudGetV1EmbedStatus operation in EmbedStatusApi.
61
- * @export
62
- * @interface EmbedStatusApiCloudGetV1EmbedStatusRequest
63
- */
64
- export interface EmbedStatusApiCloudGetV1EmbedStatusRequest {
65
- /**
66
- * App is the embedded app to report on: cms (Content Studio), erp or help.
67
- * @type {string}
68
- * @memberof EmbedStatusApiCloudGetV1EmbedStatus
69
- */
70
- readonly app?: string;
71
- }
72
- /**
73
- * EmbedStatusApi - object-oriented interface
74
- * @export
75
- * @class EmbedStatusApi
76
- * @extends {BaseAPI}
77
- */
78
- export declare class EmbedStatusApi extends BaseAPI {
79
- /**
80
- * EmbedStatus reports whether one of this brand\'s shared embedded apps (cms, erp, help) may be framed by the caller and is actually running, so a console module can choose between the embed and the provision panel. It answers two questions the browser cannot answer for itself. ENTITLEMENT is server-authoritative: each app is a single shared per-BRAND instance, so only a member of the owning brand org — or a SuperAdmin — is given the embed URL; every other caller gets phase \"not-entitled\" and no URL. REACHABILITY is a probe of that origin, which a cross-origin page cannot read for itself. The probed host is always <app>.<this deployment\'s own brand domain>: no part of it comes from the request, so this can never be steered into probing an arbitrary origin.
81
- * @summary EmbedStatus reports whether one of this brand\'s shared embedded apps (cms, erp, help) may be framed by the caller and is actually running, so a console module can choose between the embed and the provision panel.
82
- * @param {EmbedStatusApiCloudGetV1EmbedStatusRequest} requestParameters Request parameters.
83
- * @param {*} [options] Override http request option.
84
- * @throws {RequiredError}
85
- * @memberof EmbedStatusApi
86
- */
87
- cloudGetV1EmbedStatus(requestParameters?: EmbedStatusApiCloudGetV1EmbedStatusRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CloudEmbedStatusResp, any, {}>>;
88
- }
@@ -1,129 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Hanzo Cloud — Unified API (V8 · Open Edition)
6
- * The single unified OpenAPI surface for ALL Hanzo services, aggregated from the per-service specs. Every route is https://api.hanzo.ai/v1/<service>/_*. Grouped by the canonical domains in capabilities.yaml (the ONE registry). cloud/openapi.yaml is hanzoai/cloud\'s own woven document, copied verbatim by sync.py, and it wins wherever it and a hand-written spec describe the same route. Regenerated by merge.py — edit the per-service <svc>/openapi.yaml + capabilities.yaml, not this file.
7
- *
8
- * The version of the OpenAPI document: 8.0.0
9
- * Contact: support@hanzo.ai
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- var __importDefault = (this && this.__importDefault) || function (mod) {
16
- return (mod && mod.__esModule) ? mod : { "default": mod };
17
- };
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.EmbedStatusApi = exports.EmbedStatusApiFactory = exports.EmbedStatusApiFp = exports.EmbedStatusApiAxiosParamCreator = void 0;
20
- const axios_1 = __importDefault(require("axios"));
21
- // Some imports not used depending on template conditions
22
- // @ts-ignore
23
- const common_1 = require("../common");
24
- // @ts-ignore
25
- const base_1 = require("../base");
26
- /**
27
- * EmbedStatusApi - axios parameter creator
28
- * @export
29
- */
30
- const EmbedStatusApiAxiosParamCreator = function (configuration) {
31
- return {
32
- /**
33
- * EmbedStatus reports whether one of this brand\'s shared embedded apps (cms, erp, help) may be framed by the caller and is actually running, so a console module can choose between the embed and the provision panel. It answers two questions the browser cannot answer for itself. ENTITLEMENT is server-authoritative: each app is a single shared per-BRAND instance, so only a member of the owning brand org — or a SuperAdmin — is given the embed URL; every other caller gets phase \"not-entitled\" and no URL. REACHABILITY is a probe of that origin, which a cross-origin page cannot read for itself. The probed host is always <app>.<this deployment\'s own brand domain>: no part of it comes from the request, so this can never be steered into probing an arbitrary origin.
34
- * @summary EmbedStatus reports whether one of this brand\'s shared embedded apps (cms, erp, help) may be framed by the caller and is actually running, so a console module can choose between the embed and the provision panel.
35
- * @param {string} [app] App is the embedded app to report on: cms (Content Studio), erp or help.
36
- * @param {*} [options] Override http request option.
37
- * @throws {RequiredError}
38
- */
39
- cloudGetV1EmbedStatus: async (app, options = {}) => {
40
- const localVarPath = `/v1/embed-status`;
41
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
42
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
43
- let baseOptions;
44
- if (configuration) {
45
- baseOptions = configuration.baseOptions;
46
- }
47
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
48
- const localVarHeaderParameter = {};
49
- const localVarQueryParameter = {};
50
- // authentication bearerAuth required
51
- // http bearer authentication required
52
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
53
- if (app !== undefined) {
54
- localVarQueryParameter['app'] = app;
55
- }
56
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
57
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
58
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
59
- return {
60
- url: (0, common_1.toPathString)(localVarUrlObj),
61
- options: localVarRequestOptions,
62
- };
63
- },
64
- };
65
- };
66
- exports.EmbedStatusApiAxiosParamCreator = EmbedStatusApiAxiosParamCreator;
67
- /**
68
- * EmbedStatusApi - functional programming interface
69
- * @export
70
- */
71
- const EmbedStatusApiFp = function (configuration) {
72
- const localVarAxiosParamCreator = (0, exports.EmbedStatusApiAxiosParamCreator)(configuration);
73
- return {
74
- /**
75
- * EmbedStatus reports whether one of this brand\'s shared embedded apps (cms, erp, help) may be framed by the caller and is actually running, so a console module can choose between the embed and the provision panel. It answers two questions the browser cannot answer for itself. ENTITLEMENT is server-authoritative: each app is a single shared per-BRAND instance, so only a member of the owning brand org — or a SuperAdmin — is given the embed URL; every other caller gets phase \"not-entitled\" and no URL. REACHABILITY is a probe of that origin, which a cross-origin page cannot read for itself. The probed host is always <app>.<this deployment\'s own brand domain>: no part of it comes from the request, so this can never be steered into probing an arbitrary origin.
76
- * @summary EmbedStatus reports whether one of this brand\'s shared embedded apps (cms, erp, help) may be framed by the caller and is actually running, so a console module can choose between the embed and the provision panel.
77
- * @param {string} [app] App is the embedded app to report on: cms (Content Studio), erp or help.
78
- * @param {*} [options] Override http request option.
79
- * @throws {RequiredError}
80
- */
81
- async cloudGetV1EmbedStatus(app, options) {
82
- const localVarAxiosArgs = await localVarAxiosParamCreator.cloudGetV1EmbedStatus(app, options);
83
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
84
- const localVarOperationServerBasePath = base_1.operationServerMap['EmbedStatusApi.cloudGetV1EmbedStatus']?.[localVarOperationServerIndex]?.url;
85
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
86
- },
87
- };
88
- };
89
- exports.EmbedStatusApiFp = EmbedStatusApiFp;
90
- /**
91
- * EmbedStatusApi - factory interface
92
- * @export
93
- */
94
- const EmbedStatusApiFactory = function (configuration, basePath, axios) {
95
- const localVarFp = (0, exports.EmbedStatusApiFp)(configuration);
96
- return {
97
- /**
98
- * EmbedStatus reports whether one of this brand\'s shared embedded apps (cms, erp, help) may be framed by the caller and is actually running, so a console module can choose between the embed and the provision panel. It answers two questions the browser cannot answer for itself. ENTITLEMENT is server-authoritative: each app is a single shared per-BRAND instance, so only a member of the owning brand org — or a SuperAdmin — is given the embed URL; every other caller gets phase \"not-entitled\" and no URL. REACHABILITY is a probe of that origin, which a cross-origin page cannot read for itself. The probed host is always <app>.<this deployment\'s own brand domain>: no part of it comes from the request, so this can never be steered into probing an arbitrary origin.
99
- * @summary EmbedStatus reports whether one of this brand\'s shared embedded apps (cms, erp, help) may be framed by the caller and is actually running, so a console module can choose between the embed and the provision panel.
100
- * @param {EmbedStatusApiCloudGetV1EmbedStatusRequest} requestParameters Request parameters.
101
- * @param {*} [options] Override http request option.
102
- * @throws {RequiredError}
103
- */
104
- cloudGetV1EmbedStatus(requestParameters = {}, options) {
105
- return localVarFp.cloudGetV1EmbedStatus(requestParameters.app, options).then((request) => request(axios, basePath));
106
- },
107
- };
108
- };
109
- exports.EmbedStatusApiFactory = EmbedStatusApiFactory;
110
- /**
111
- * EmbedStatusApi - object-oriented interface
112
- * @export
113
- * @class EmbedStatusApi
114
- * @extends {BaseAPI}
115
- */
116
- class EmbedStatusApi extends base_1.BaseAPI {
117
- /**
118
- * EmbedStatus reports whether one of this brand\'s shared embedded apps (cms, erp, help) may be framed by the caller and is actually running, so a console module can choose between the embed and the provision panel. It answers two questions the browser cannot answer for itself. ENTITLEMENT is server-authoritative: each app is a single shared per-BRAND instance, so only a member of the owning brand org — or a SuperAdmin — is given the embed URL; every other caller gets phase \"not-entitled\" and no URL. REACHABILITY is a probe of that origin, which a cross-origin page cannot read for itself. The probed host is always <app>.<this deployment\'s own brand domain>: no part of it comes from the request, so this can never be steered into probing an arbitrary origin.
119
- * @summary EmbedStatus reports whether one of this brand\'s shared embedded apps (cms, erp, help) may be framed by the caller and is actually running, so a console module can choose between the embed and the provision panel.
120
- * @param {EmbedStatusApiCloudGetV1EmbedStatusRequest} requestParameters Request parameters.
121
- * @param {*} [options] Override http request option.
122
- * @throws {RequiredError}
123
- * @memberof EmbedStatusApi
124
- */
125
- cloudGetV1EmbedStatus(requestParameters = {}, options) {
126
- return (0, exports.EmbedStatusApiFp)(this.configuration).cloudGetV1EmbedStatus(requestParameters.app, options).then((request) => request(this.axios, this.basePath));
127
- }
128
- }
129
- exports.EmbedStatusApi = EmbedStatusApi;
@@ -1,76 +0,0 @@
1
- /**
2
- * Hanzo Cloud — Unified API (V8 · Open Edition)
3
- * The single unified OpenAPI surface for ALL Hanzo services, aggregated from the per-service specs. Every route is https://api.hanzo.ai/v1/<service>/_*. Grouped by the canonical domains in capabilities.yaml (the ONE registry). cloud/openapi.yaml is hanzoai/cloud\'s own woven document, copied verbatim by sync.py, and it wins wherever it and a hand-written spec describe the same route. Regenerated by merge.py — edit the per-service <svc>/openapi.yaml + capabilities.yaml, not this file.
4
- *
5
- * The version of the OpenAPI document: 8.0.0
6
- * Contact: support@hanzo.ai
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Configuration } from '../configuration';
13
- import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
- import globalAxios from 'axios';
15
- import { type RequestArgs, BaseAPI } from '../base';
16
- /**
17
- * PricingPolicyApi - axios parameter creator
18
- * @export
19
- */
20
- export declare const PricingPolicyApiAxiosParamCreator: (configuration?: Configuration) => {
21
- /**
22
- * GetPricingPolicyAlias returns the pricing policy document at its top-level address. It is the same document GET /v1/pricing/policy returns, byte for byte, at the shorter address the marketing surface links to.
23
- * @summary GetPricingPolicyAlias returns the pricing policy document at its top-level address.
24
- * @param {*} [options] Override http request option.
25
- * @throws {RequiredError}
26
- */
27
- cloudGetV1PricingPolicy: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28
- };
29
- /**
30
- * PricingPolicyApi - functional programming interface
31
- * @export
32
- */
33
- export declare const PricingPolicyApiFp: (configuration?: Configuration) => {
34
- /**
35
- * GetPricingPolicyAlias returns the pricing policy document at its top-level address. It is the same document GET /v1/pricing/policy returns, byte for byte, at the shorter address the marketing surface links to.
36
- * @summary GetPricingPolicyAlias returns the pricing policy document at its top-level address.
37
- * @param {*} [options] Override http request option.
38
- * @throws {RequiredError}
39
- */
40
- cloudGetV1PricingPolicy(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
41
- [key: string]: object;
42
- }>>;
43
- };
44
- /**
45
- * PricingPolicyApi - factory interface
46
- * @export
47
- */
48
- export declare const PricingPolicyApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
49
- /**
50
- * GetPricingPolicyAlias returns the pricing policy document at its top-level address. It is the same document GET /v1/pricing/policy returns, byte for byte, at the shorter address the marketing surface links to.
51
- * @summary GetPricingPolicyAlias returns the pricing policy document at its top-level address.
52
- * @param {*} [options] Override http request option.
53
- * @throws {RequiredError}
54
- */
55
- cloudGetV1PricingPolicy(options?: RawAxiosRequestConfig): AxiosPromise<{
56
- [key: string]: object;
57
- }>;
58
- };
59
- /**
60
- * PricingPolicyApi - object-oriented interface
61
- * @export
62
- * @class PricingPolicyApi
63
- * @extends {BaseAPI}
64
- */
65
- export declare class PricingPolicyApi extends BaseAPI {
66
- /**
67
- * GetPricingPolicyAlias returns the pricing policy document at its top-level address. It is the same document GET /v1/pricing/policy returns, byte for byte, at the shorter address the marketing surface links to.
68
- * @summary GetPricingPolicyAlias returns the pricing policy document at its top-level address.
69
- * @param {*} [options] Override http request option.
70
- * @throws {RequiredError}
71
- * @memberof PricingPolicyApi
72
- */
73
- cloudGetV1PricingPolicy(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<{
74
- [key: string]: object;
75
- }, any, {}>>;
76
- }
@@ -1,122 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Hanzo Cloud — Unified API (V8 · Open Edition)
6
- * The single unified OpenAPI surface for ALL Hanzo services, aggregated from the per-service specs. Every route is https://api.hanzo.ai/v1/<service>/_*. Grouped by the canonical domains in capabilities.yaml (the ONE registry). cloud/openapi.yaml is hanzoai/cloud\'s own woven document, copied verbatim by sync.py, and it wins wherever it and a hand-written spec describe the same route. Regenerated by merge.py — edit the per-service <svc>/openapi.yaml + capabilities.yaml, not this file.
7
- *
8
- * The version of the OpenAPI document: 8.0.0
9
- * Contact: support@hanzo.ai
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- var __importDefault = (this && this.__importDefault) || function (mod) {
16
- return (mod && mod.__esModule) ? mod : { "default": mod };
17
- };
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.PricingPolicyApi = exports.PricingPolicyApiFactory = exports.PricingPolicyApiFp = exports.PricingPolicyApiAxiosParamCreator = void 0;
20
- const axios_1 = __importDefault(require("axios"));
21
- // Some imports not used depending on template conditions
22
- // @ts-ignore
23
- const common_1 = require("../common");
24
- // @ts-ignore
25
- const base_1 = require("../base");
26
- /**
27
- * PricingPolicyApi - axios parameter creator
28
- * @export
29
- */
30
- const PricingPolicyApiAxiosParamCreator = function (configuration) {
31
- return {
32
- /**
33
- * GetPricingPolicyAlias returns the pricing policy document at its top-level address. It is the same document GET /v1/pricing/policy returns, byte for byte, at the shorter address the marketing surface links to.
34
- * @summary GetPricingPolicyAlias returns the pricing policy document at its top-level address.
35
- * @param {*} [options] Override http request option.
36
- * @throws {RequiredError}
37
- */
38
- cloudGetV1PricingPolicy: async (options = {}) => {
39
- const localVarPath = `/v1/pricing-policy`;
40
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
41
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
42
- let baseOptions;
43
- if (configuration) {
44
- baseOptions = configuration.baseOptions;
45
- }
46
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
47
- const localVarHeaderParameter = {};
48
- const localVarQueryParameter = {};
49
- // authentication bearerAuth required
50
- // http bearer authentication required
51
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
52
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
53
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
54
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
55
- return {
56
- url: (0, common_1.toPathString)(localVarUrlObj),
57
- options: localVarRequestOptions,
58
- };
59
- },
60
- };
61
- };
62
- exports.PricingPolicyApiAxiosParamCreator = PricingPolicyApiAxiosParamCreator;
63
- /**
64
- * PricingPolicyApi - functional programming interface
65
- * @export
66
- */
67
- const PricingPolicyApiFp = function (configuration) {
68
- const localVarAxiosParamCreator = (0, exports.PricingPolicyApiAxiosParamCreator)(configuration);
69
- return {
70
- /**
71
- * GetPricingPolicyAlias returns the pricing policy document at its top-level address. It is the same document GET /v1/pricing/policy returns, byte for byte, at the shorter address the marketing surface links to.
72
- * @summary GetPricingPolicyAlias returns the pricing policy document at its top-level address.
73
- * @param {*} [options] Override http request option.
74
- * @throws {RequiredError}
75
- */
76
- async cloudGetV1PricingPolicy(options) {
77
- const localVarAxiosArgs = await localVarAxiosParamCreator.cloudGetV1PricingPolicy(options);
78
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
79
- const localVarOperationServerBasePath = base_1.operationServerMap['PricingPolicyApi.cloudGetV1PricingPolicy']?.[localVarOperationServerIndex]?.url;
80
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
81
- },
82
- };
83
- };
84
- exports.PricingPolicyApiFp = PricingPolicyApiFp;
85
- /**
86
- * PricingPolicyApi - factory interface
87
- * @export
88
- */
89
- const PricingPolicyApiFactory = function (configuration, basePath, axios) {
90
- const localVarFp = (0, exports.PricingPolicyApiFp)(configuration);
91
- return {
92
- /**
93
- * GetPricingPolicyAlias returns the pricing policy document at its top-level address. It is the same document GET /v1/pricing/policy returns, byte for byte, at the shorter address the marketing surface links to.
94
- * @summary GetPricingPolicyAlias returns the pricing policy document at its top-level address.
95
- * @param {*} [options] Override http request option.
96
- * @throws {RequiredError}
97
- */
98
- cloudGetV1PricingPolicy(options) {
99
- return localVarFp.cloudGetV1PricingPolicy(options).then((request) => request(axios, basePath));
100
- },
101
- };
102
- };
103
- exports.PricingPolicyApiFactory = PricingPolicyApiFactory;
104
- /**
105
- * PricingPolicyApi - object-oriented interface
106
- * @export
107
- * @class PricingPolicyApi
108
- * @extends {BaseAPI}
109
- */
110
- class PricingPolicyApi extends base_1.BaseAPI {
111
- /**
112
- * GetPricingPolicyAlias returns the pricing policy document at its top-level address. It is the same document GET /v1/pricing/policy returns, byte for byte, at the shorter address the marketing surface links to.
113
- * @summary GetPricingPolicyAlias returns the pricing policy document at its top-level address.
114
- * @param {*} [options] Override http request option.
115
- * @throws {RequiredError}
116
- * @memberof PricingPolicyApi
117
- */
118
- cloudGetV1PricingPolicy(options) {
119
- return (0, exports.PricingPolicyApiFp)(this.configuration).cloudGetV1PricingPolicy(options).then((request) => request(this.axios, this.basePath));
120
- }
121
- }
122
- exports.PricingPolicyApi = PricingPolicyApi;
@@ -1,101 +0,0 @@
1
- /**
2
- * Hanzo Cloud — Unified API (V8 · Open Edition)
3
- * The single unified OpenAPI surface for ALL Hanzo services, aggregated from the per-service specs. Every route is https://api.hanzo.ai/v1/<service>/_*. Grouped by the canonical domains in capabilities.yaml (the ONE registry). cloud/openapi.yaml is hanzoai/cloud\'s own woven document, copied verbatim by sync.py, and it wins wherever it and a hand-written spec describe the same route. Regenerated by merge.py — edit the per-service <svc>/openapi.yaml + capabilities.yaml, not this file.
4
- *
5
- * The version of the OpenAPI document: 8.0.0
6
- * Contact: support@hanzo.ai
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Configuration } from '../configuration';
13
- import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
- import globalAxios from 'axios';
15
- import { type RequestArgs, BaseAPI } from '../base';
16
- import type { CloudSearchIndexList } from '../models';
17
- import type { CloudSearchStats } from '../models';
18
- /**
19
- * SearchDocsApi - axios parameter creator
20
- * @export
21
- */
22
- export declare const SearchDocsApiAxiosParamCreator: (configuration?: Configuration) => {
23
- /**
24
- * Lists the search indexes with their document counts and timestamps. It reads the in-cluster Meilisearch service and reshapes its /stats and /indexes replies into the rows the console\'s Search panel renders. The read is degrade-friendly by design: an unreachable Meilisearch answers 200 with an EMPTY list, so the panel shows an honest empty state instead of an error. createdAt falls back to now and lastIndexedAt to null when the index list is unavailable.
25
- * @summary Lists the search indexes with their document counts and timestamps.
26
- * @param {*} [options] Override http request option.
27
- * @throws {RequiredError}
28
- */
29
- cloudGetV1SearchDocsIndexes: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30
- /**
31
- * Totals the documents across every search index. totalDocuments is summed from Meilisearch\'s own per-index counts. The other three fields are structurally zero rather than estimated: Meilisearch keeps no query-history counters, so searches, sessions and the per-day series are not derivable from the index and this surface reports the honest zero instead of a fabricated number. An unreachable Meilisearch answers 200 with all zeros.
32
- * @summary Totals the documents across every search index.
33
- * @param {*} [options] Override http request option.
34
- * @throws {RequiredError}
35
- */
36
- cloudGetV1SearchDocsStats: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37
- };
38
- /**
39
- * SearchDocsApi - functional programming interface
40
- * @export
41
- */
42
- export declare const SearchDocsApiFp: (configuration?: Configuration) => {
43
- /**
44
- * Lists the search indexes with their document counts and timestamps. It reads the in-cluster Meilisearch service and reshapes its /stats and /indexes replies into the rows the console\'s Search panel renders. The read is degrade-friendly by design: an unreachable Meilisearch answers 200 with an EMPTY list, so the panel shows an honest empty state instead of an error. createdAt falls back to now and lastIndexedAt to null when the index list is unavailable.
45
- * @summary Lists the search indexes with their document counts and timestamps.
46
- * @param {*} [options] Override http request option.
47
- * @throws {RequiredError}
48
- */
49
- cloudGetV1SearchDocsIndexes(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CloudSearchIndexList>>;
50
- /**
51
- * Totals the documents across every search index. totalDocuments is summed from Meilisearch\'s own per-index counts. The other three fields are structurally zero rather than estimated: Meilisearch keeps no query-history counters, so searches, sessions and the per-day series are not derivable from the index and this surface reports the honest zero instead of a fabricated number. An unreachable Meilisearch answers 200 with all zeros.
52
- * @summary Totals the documents across every search index.
53
- * @param {*} [options] Override http request option.
54
- * @throws {RequiredError}
55
- */
56
- cloudGetV1SearchDocsStats(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CloudSearchStats>>;
57
- };
58
- /**
59
- * SearchDocsApi - factory interface
60
- * @export
61
- */
62
- export declare const SearchDocsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
63
- /**
64
- * Lists the search indexes with their document counts and timestamps. It reads the in-cluster Meilisearch service and reshapes its /stats and /indexes replies into the rows the console\'s Search panel renders. The read is degrade-friendly by design: an unreachable Meilisearch answers 200 with an EMPTY list, so the panel shows an honest empty state instead of an error. createdAt falls back to now and lastIndexedAt to null when the index list is unavailable.
65
- * @summary Lists the search indexes with their document counts and timestamps.
66
- * @param {*} [options] Override http request option.
67
- * @throws {RequiredError}
68
- */
69
- cloudGetV1SearchDocsIndexes(options?: RawAxiosRequestConfig): AxiosPromise<CloudSearchIndexList>;
70
- /**
71
- * Totals the documents across every search index. totalDocuments is summed from Meilisearch\'s own per-index counts. The other three fields are structurally zero rather than estimated: Meilisearch keeps no query-history counters, so searches, sessions and the per-day series are not derivable from the index and this surface reports the honest zero instead of a fabricated number. An unreachable Meilisearch answers 200 with all zeros.
72
- * @summary Totals the documents across every search index.
73
- * @param {*} [options] Override http request option.
74
- * @throws {RequiredError}
75
- */
76
- cloudGetV1SearchDocsStats(options?: RawAxiosRequestConfig): AxiosPromise<CloudSearchStats>;
77
- };
78
- /**
79
- * SearchDocsApi - object-oriented interface
80
- * @export
81
- * @class SearchDocsApi
82
- * @extends {BaseAPI}
83
- */
84
- export declare class SearchDocsApi extends BaseAPI {
85
- /**
86
- * Lists the search indexes with their document counts and timestamps. It reads the in-cluster Meilisearch service and reshapes its /stats and /indexes replies into the rows the console\'s Search panel renders. The read is degrade-friendly by design: an unreachable Meilisearch answers 200 with an EMPTY list, so the panel shows an honest empty state instead of an error. createdAt falls back to now and lastIndexedAt to null when the index list is unavailable.
87
- * @summary Lists the search indexes with their document counts and timestamps.
88
- * @param {*} [options] Override http request option.
89
- * @throws {RequiredError}
90
- * @memberof SearchDocsApi
91
- */
92
- cloudGetV1SearchDocsIndexes(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CloudSearchIndexList, any, {}>>;
93
- /**
94
- * Totals the documents across every search index. totalDocuments is summed from Meilisearch\'s own per-index counts. The other three fields are structurally zero rather than estimated: Meilisearch keeps no query-history counters, so searches, sessions and the per-day series are not derivable from the index and this surface reports the honest zero instead of a fabricated number. An unreachable Meilisearch answers 200 with all zeros.
95
- * @summary Totals the documents across every search index.
96
- * @param {*} [options] Override http request option.
97
- * @throws {RequiredError}
98
- * @memberof SearchDocsApi
99
- */
100
- cloudGetV1SearchDocsStats(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CloudSearchStats, any, {}>>;
101
- }