hanzoai 8.5.715 → 8.5.717

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.
Files changed (79) hide show
  1. package/dist/api/beta-api.d.ts +119 -0
  2. package/dist/api/beta-api.js +189 -0
  3. package/dist/api/pricing-api.d.ts +8 -8
  4. package/dist/api/pricing-api.js +8 -8
  5. package/dist/api/websearch-api.d.ts +223 -44
  6. package/dist/api/websearch-api.js +308 -44
  7. package/dist/api.d.ts +1 -0
  8. package/dist/api.js +1 -0
  9. package/dist/esm/api/beta-api.d.ts +118 -0
  10. package/dist/esm/api/beta-api.js +179 -0
  11. package/dist/esm/api/pricing-api.d.ts +8 -8
  12. package/dist/esm/api/pricing-api.js +8 -8
  13. package/dist/esm/api/websearch-api.d.ts +223 -44
  14. package/dist/esm/api/websearch-api.js +308 -44
  15. package/dist/esm/api.d.ts +1 -0
  16. package/dist/esm/api.js +1 -0
  17. package/dist/esm/models/beta-beta-application.d.ts +42 -0
  18. package/dist/esm/models/beta-beta-application.js +14 -0
  19. package/dist/esm/models/beta-beta-apply.d.ts +26 -0
  20. package/dist/esm/models/beta-beta-apply.js +14 -0
  21. package/dist/esm/models/beta-beta-status.d.ts +61 -0
  22. package/dist/esm/models/beta-beta-status.js +14 -0
  23. package/dist/esm/models/index.d.ts +10 -0
  24. package/dist/esm/models/index.js +10 -0
  25. package/dist/esm/models/pricing-user-enablement-item.d.ts +1 -1
  26. package/dist/esm/models/websearch-search-engine-key.d.ts +30 -0
  27. package/dist/esm/models/websearch-search-engine-key.js +14 -0
  28. package/dist/esm/models/websearch-search-engine-keyed.d.ts +30 -0
  29. package/dist/esm/models/websearch-search-engine-keyed.js +14 -0
  30. package/dist/esm/models/websearch-search-engine-option.d.ts +48 -0
  31. package/dist/esm/models/websearch-search-engine-option.js +14 -0
  32. package/dist/esm/models/websearch-search-engine-options.d.ts +36 -0
  33. package/dist/esm/models/websearch-search-engine-options.js +14 -0
  34. package/dist/esm/models/websearch-search-engine.d.ts +74 -0
  35. package/dist/esm/models/websearch-search-engine.js +14 -0
  36. package/dist/esm/models/websearch-search-engines-set.d.ts +33 -0
  37. package/dist/esm/models/websearch-search-engines-set.js +14 -0
  38. package/dist/esm/models/websearch-search-engines.d.ts +31 -0
  39. package/dist/esm/models/websearch-search-engines.js +14 -0
  40. package/dist/models/beta-beta-application.d.ts +42 -0
  41. package/dist/models/beta-beta-application.js +15 -0
  42. package/dist/models/beta-beta-apply.d.ts +26 -0
  43. package/dist/models/beta-beta-apply.js +15 -0
  44. package/dist/models/beta-beta-status.d.ts +61 -0
  45. package/dist/models/beta-beta-status.js +15 -0
  46. package/dist/models/index.d.ts +10 -0
  47. package/dist/models/index.js +10 -0
  48. package/dist/models/pricing-user-enablement-item.d.ts +1 -1
  49. package/dist/models/websearch-search-engine-key.d.ts +30 -0
  50. package/dist/models/websearch-search-engine-key.js +15 -0
  51. package/dist/models/websearch-search-engine-keyed.d.ts +30 -0
  52. package/dist/models/websearch-search-engine-keyed.js +15 -0
  53. package/dist/models/websearch-search-engine-option.d.ts +48 -0
  54. package/dist/models/websearch-search-engine-option.js +15 -0
  55. package/dist/models/websearch-search-engine-options.d.ts +36 -0
  56. package/dist/models/websearch-search-engine-options.js +15 -0
  57. package/dist/models/websearch-search-engine.d.ts +74 -0
  58. package/dist/models/websearch-search-engine.js +15 -0
  59. package/dist/models/websearch-search-engines-set.d.ts +33 -0
  60. package/dist/models/websearch-search-engines-set.js +15 -0
  61. package/dist/models/websearch-search-engines.d.ts +31 -0
  62. package/dist/models/websearch-search-engines.js +15 -0
  63. package/package.json +1 -1
  64. package/src/api/beta-api.ts +223 -0
  65. package/src/api/pricing-api.ts +8 -8
  66. package/src/api/websearch-api.ts +395 -44
  67. package/src/api.ts +1 -0
  68. package/src/models/beta-beta-application.ts +48 -0
  69. package/src/models/beta-beta-apply.ts +30 -0
  70. package/src/models/beta-beta-status.ts +69 -0
  71. package/src/models/index.ts +10 -0
  72. package/src/models/pricing-user-enablement-item.ts +1 -1
  73. package/src/models/websearch-search-engine-key.ts +36 -0
  74. package/src/models/websearch-search-engine-keyed.ts +36 -0
  75. package/src/models/websearch-search-engine-option.ts +54 -0
  76. package/src/models/websearch-search-engine-options.ts +42 -0
  77. package/src/models/websearch-search-engine.ts +84 -0
  78. package/src/models/websearch-search-engines-set.ts +39 -0
  79. package/src/models/websearch-search-engines.ts +39 -0
@@ -0,0 +1,119 @@
1
+ /**
2
+ * Hanzo Cloud API
3
+ * The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ 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 { BetaBetaApplication } from '../models';
17
+ import type { BetaBetaApply } from '../models';
18
+ import type { BetaBetaStatus } from '../models';
19
+ /**
20
+ * BetaApi - axios parameter creator
21
+ * @export
22
+ */
23
+ export declare const BetaApiAxiosParamCreator: (configuration?: Configuration) => {
24
+ /**
25
+ * Answers where the caller stands with the beta program in the org they act in: their own application, if they filed one, and whether they may apply now and why. Eligibility is judged here from billing, never from anything the caller sends: the org must be on a plan at $100 a month or more (a Max plan, a catalog plan priced there, or enterprise) or hold $100 of paid and granted credit, and the caller must own or administer it. The shared sign-up organization never applies. `granted` says whether the org already holds the program\'s grant, which is what turns betas on; a declined application may be followed by a new one.
26
+ * @summary Answers where the caller stands with the beta program in the org they act in: their own application, if they filed one, and whether they may apply now and why.
27
+ * @param {*} [options] Override http request option.
28
+ * @throws {RequiredError}
29
+ */
30
+ getBeta: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
+ /**
32
+ * Files the caller\'s application to the beta program, for the org they act in. The body is the answers alone; the person, their email and the organization come from the validated principal and X-Org-Id. It is refused unless the caller owns or administers that organization and it stands at the floor — a plan at $100 a month or more, or $100 of paid and granted credit — and never in the shared sign-up organization; when billing cannot say, it is 503 and worth retrying. One application at a time per person and organization: a repeat while one is pending, or approved and still granted, answers 200 with it and changes nothing, so a second tab or a retry cannot file twice; after a decline or a revoked grant, a new filing is a new application (201). A body larger than 128 KiB is 413; an unknown field or answer, or an answer that breaks its question\'s rule, is 400 naming it.
33
+ * @summary Files the caller\'s application to the beta program, for the org they act in.
34
+ * @param {BetaBetaApply} betaBetaApply
35
+ * @param {*} [options] Override http request option.
36
+ * @throws {RequiredError}
37
+ */
38
+ postBetaApply: (betaBetaApply: BetaBetaApply, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
39
+ };
40
+ /**
41
+ * BetaApi - functional programming interface
42
+ * @export
43
+ */
44
+ export declare const BetaApiFp: (configuration?: Configuration) => {
45
+ /**
46
+ * Answers where the caller stands with the beta program in the org they act in: their own application, if they filed one, and whether they may apply now and why. Eligibility is judged here from billing, never from anything the caller sends: the org must be on a plan at $100 a month or more (a Max plan, a catalog plan priced there, or enterprise) or hold $100 of paid and granted credit, and the caller must own or administer it. The shared sign-up organization never applies. `granted` says whether the org already holds the program\'s grant, which is what turns betas on; a declined application may be followed by a new one.
47
+ * @summary Answers where the caller stands with the beta program in the org they act in: their own application, if they filed one, and whether they may apply now and why.
48
+ * @param {*} [options] Override http request option.
49
+ * @throws {RequiredError}
50
+ */
51
+ getBeta(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BetaBetaStatus>>;
52
+ /**
53
+ * Files the caller\'s application to the beta program, for the org they act in. The body is the answers alone; the person, their email and the organization come from the validated principal and X-Org-Id. It is refused unless the caller owns or administers that organization and it stands at the floor — a plan at $100 a month or more, or $100 of paid and granted credit — and never in the shared sign-up organization; when billing cannot say, it is 503 and worth retrying. One application at a time per person and organization: a repeat while one is pending, or approved and still granted, answers 200 with it and changes nothing, so a second tab or a retry cannot file twice; after a decline or a revoked grant, a new filing is a new application (201). A body larger than 128 KiB is 413; an unknown field or answer, or an answer that breaks its question\'s rule, is 400 naming it.
54
+ * @summary Files the caller\'s application to the beta program, for the org they act in.
55
+ * @param {BetaBetaApply} betaBetaApply
56
+ * @param {*} [options] Override http request option.
57
+ * @throws {RequiredError}
58
+ */
59
+ postBetaApply(betaBetaApply: BetaBetaApply, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BetaBetaApplication>>;
60
+ };
61
+ /**
62
+ * BetaApi - factory interface
63
+ * @export
64
+ */
65
+ export declare const BetaApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
66
+ /**
67
+ * Answers where the caller stands with the beta program in the org they act in: their own application, if they filed one, and whether they may apply now and why. Eligibility is judged here from billing, never from anything the caller sends: the org must be on a plan at $100 a month or more (a Max plan, a catalog plan priced there, or enterprise) or hold $100 of paid and granted credit, and the caller must own or administer it. The shared sign-up organization never applies. `granted` says whether the org already holds the program\'s grant, which is what turns betas on; a declined application may be followed by a new one.
68
+ * @summary Answers where the caller stands with the beta program in the org they act in: their own application, if they filed one, and whether they may apply now and why.
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ */
72
+ getBeta(options?: RawAxiosRequestConfig): AxiosPromise<BetaBetaStatus>;
73
+ /**
74
+ * Files the caller\'s application to the beta program, for the org they act in. The body is the answers alone; the person, their email and the organization come from the validated principal and X-Org-Id. It is refused unless the caller owns or administers that organization and it stands at the floor — a plan at $100 a month or more, or $100 of paid and granted credit — and never in the shared sign-up organization; when billing cannot say, it is 503 and worth retrying. One application at a time per person and organization: a repeat while one is pending, or approved and still granted, answers 200 with it and changes nothing, so a second tab or a retry cannot file twice; after a decline or a revoked grant, a new filing is a new application (201). A body larger than 128 KiB is 413; an unknown field or answer, or an answer that breaks its question\'s rule, is 400 naming it.
75
+ * @summary Files the caller\'s application to the beta program, for the org they act in.
76
+ * @param {BetaApiPostBetaApplyRequest} requestParameters Request parameters.
77
+ * @param {*} [options] Override http request option.
78
+ * @throws {RequiredError}
79
+ */
80
+ postBetaApply(requestParameters: BetaApiPostBetaApplyRequest, options?: RawAxiosRequestConfig): AxiosPromise<BetaBetaApplication>;
81
+ };
82
+ /**
83
+ * Request parameters for postBetaApply operation in BetaApi.
84
+ * @export
85
+ * @interface BetaApiPostBetaApplyRequest
86
+ */
87
+ export interface BetaApiPostBetaApplyRequest {
88
+ /**
89
+ *
90
+ * @type {BetaBetaApply}
91
+ * @memberof BetaApiPostBetaApply
92
+ */
93
+ readonly betaBetaApply: BetaBetaApply;
94
+ }
95
+ /**
96
+ * BetaApi - object-oriented interface
97
+ * @export
98
+ * @class BetaApi
99
+ * @extends {BaseAPI}
100
+ */
101
+ export declare class BetaApi extends BaseAPI {
102
+ /**
103
+ * Answers where the caller stands with the beta program in the org they act in: their own application, if they filed one, and whether they may apply now and why. Eligibility is judged here from billing, never from anything the caller sends: the org must be on a plan at $100 a month or more (a Max plan, a catalog plan priced there, or enterprise) or hold $100 of paid and granted credit, and the caller must own or administer it. The shared sign-up organization never applies. `granted` says whether the org already holds the program\'s grant, which is what turns betas on; a declined application may be followed by a new one.
104
+ * @summary Answers where the caller stands with the beta program in the org they act in: their own application, if they filed one, and whether they may apply now and why.
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ * @memberof BetaApi
108
+ */
109
+ getBeta(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BetaBetaStatus, any, {}>>;
110
+ /**
111
+ * Files the caller\'s application to the beta program, for the org they act in. The body is the answers alone; the person, their email and the organization come from the validated principal and X-Org-Id. It is refused unless the caller owns or administers that organization and it stands at the floor — a plan at $100 a month or more, or $100 of paid and granted credit — and never in the shared sign-up organization; when billing cannot say, it is 503 and worth retrying. One application at a time per person and organization: a repeat while one is pending, or approved and still granted, answers 200 with it and changes nothing, so a second tab or a retry cannot file twice; after a decline or a revoked grant, a new filing is a new application (201). A body larger than 128 KiB is 413; an unknown field or answer, or an answer that breaks its question\'s rule, is 400 naming it.
112
+ * @summary Files the caller\'s application to the beta program, for the org they act in.
113
+ * @param {BetaApiPostBetaApplyRequest} requestParameters Request parameters.
114
+ * @param {*} [options] Override http request option.
115
+ * @throws {RequiredError}
116
+ * @memberof BetaApi
117
+ */
118
+ postBetaApply(requestParameters: BetaApiPostBetaApplyRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BetaBetaApplication, any, {}>>;
119
+ }
@@ -0,0 +1,189 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Hanzo Cloud API
6
+ * The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
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.BetaApi = exports.BetaApiFactory = exports.BetaApiFp = exports.BetaApiAxiosParamCreator = 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
+ * BetaApi - axios parameter creator
28
+ * @export
29
+ */
30
+ const BetaApiAxiosParamCreator = function (configuration) {
31
+ return {
32
+ /**
33
+ * Answers where the caller stands with the beta program in the org they act in: their own application, if they filed one, and whether they may apply now and why. Eligibility is judged here from billing, never from anything the caller sends: the org must be on a plan at $100 a month or more (a Max plan, a catalog plan priced there, or enterprise) or hold $100 of paid and granted credit, and the caller must own or administer it. The shared sign-up organization never applies. `granted` says whether the org already holds the program\'s grant, which is what turns betas on; a declined application may be followed by a new one.
34
+ * @summary Answers where the caller stands with the beta program in the org they act in: their own application, if they filed one, and whether they may apply now and why.
35
+ * @param {*} [options] Override http request option.
36
+ * @throws {RequiredError}
37
+ */
38
+ getBeta: async (options = {}) => {
39
+ const localVarPath = `/v1/beta`;
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 bearer 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
+ * Files the caller\'s application to the beta program, for the org they act in. The body is the answers alone; the person, their email and the organization come from the validated principal and X-Org-Id. It is refused unless the caller owns or administers that organization and it stands at the floor — a plan at $100 a month or more, or $100 of paid and granted credit — and never in the shared sign-up organization; when billing cannot say, it is 503 and worth retrying. One application at a time per person and organization: a repeat while one is pending, or approved and still granted, answers 200 with it and changes nothing, so a second tab or a retry cannot file twice; after a decline or a revoked grant, a new filing is a new application (201). A body larger than 128 KiB is 413; an unknown field or answer, or an answer that breaks its question\'s rule, is 400 naming it.
62
+ * @summary Files the caller\'s application to the beta program, for the org they act in.
63
+ * @param {BetaBetaApply} betaBetaApply
64
+ * @param {*} [options] Override http request option.
65
+ * @throws {RequiredError}
66
+ */
67
+ postBetaApply: async (betaBetaApply, options = {}) => {
68
+ // verify required parameter 'betaBetaApply' is not null or undefined
69
+ (0, common_1.assertParamExists)('postBetaApply', 'betaBetaApply', betaBetaApply);
70
+ const localVarPath = `/v1/beta/apply`;
71
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
72
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
73
+ let baseOptions;
74
+ if (configuration) {
75
+ baseOptions = configuration.baseOptions;
76
+ }
77
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
78
+ const localVarHeaderParameter = {};
79
+ const localVarQueryParameter = {};
80
+ // authentication bearer required
81
+ // http bearer authentication required
82
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
83
+ localVarHeaderParameter['Content-Type'] = 'application/json';
84
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
85
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
86
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
87
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(betaBetaApply, localVarRequestOptions, configuration);
88
+ return {
89
+ url: (0, common_1.toPathString)(localVarUrlObj),
90
+ options: localVarRequestOptions,
91
+ };
92
+ },
93
+ };
94
+ };
95
+ exports.BetaApiAxiosParamCreator = BetaApiAxiosParamCreator;
96
+ /**
97
+ * BetaApi - functional programming interface
98
+ * @export
99
+ */
100
+ const BetaApiFp = function (configuration) {
101
+ const localVarAxiosParamCreator = (0, exports.BetaApiAxiosParamCreator)(configuration);
102
+ return {
103
+ /**
104
+ * Answers where the caller stands with the beta program in the org they act in: their own application, if they filed one, and whether they may apply now and why. Eligibility is judged here from billing, never from anything the caller sends: the org must be on a plan at $100 a month or more (a Max plan, a catalog plan priced there, or enterprise) or hold $100 of paid and granted credit, and the caller must own or administer it. The shared sign-up organization never applies. `granted` says whether the org already holds the program\'s grant, which is what turns betas on; a declined application may be followed by a new one.
105
+ * @summary Answers where the caller stands with the beta program in the org they act in: their own application, if they filed one, and whether they may apply now and why.
106
+ * @param {*} [options] Override http request option.
107
+ * @throws {RequiredError}
108
+ */
109
+ async getBeta(options) {
110
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBeta(options);
111
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
112
+ const localVarOperationServerBasePath = base_1.operationServerMap['BetaApi.getBeta']?.[localVarOperationServerIndex]?.url;
113
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
114
+ },
115
+ /**
116
+ * Files the caller\'s application to the beta program, for the org they act in. The body is the answers alone; the person, their email and the organization come from the validated principal and X-Org-Id. It is refused unless the caller owns or administers that organization and it stands at the floor — a plan at $100 a month or more, or $100 of paid and granted credit — and never in the shared sign-up organization; when billing cannot say, it is 503 and worth retrying. One application at a time per person and organization: a repeat while one is pending, or approved and still granted, answers 200 with it and changes nothing, so a second tab or a retry cannot file twice; after a decline or a revoked grant, a new filing is a new application (201). A body larger than 128 KiB is 413; an unknown field or answer, or an answer that breaks its question\'s rule, is 400 naming it.
117
+ * @summary Files the caller\'s application to the beta program, for the org they act in.
118
+ * @param {BetaBetaApply} betaBetaApply
119
+ * @param {*} [options] Override http request option.
120
+ * @throws {RequiredError}
121
+ */
122
+ async postBetaApply(betaBetaApply, options) {
123
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postBetaApply(betaBetaApply, options);
124
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
125
+ const localVarOperationServerBasePath = base_1.operationServerMap['BetaApi.postBetaApply']?.[localVarOperationServerIndex]?.url;
126
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
127
+ },
128
+ };
129
+ };
130
+ exports.BetaApiFp = BetaApiFp;
131
+ /**
132
+ * BetaApi - factory interface
133
+ * @export
134
+ */
135
+ const BetaApiFactory = function (configuration, basePath, axios) {
136
+ const localVarFp = (0, exports.BetaApiFp)(configuration);
137
+ return {
138
+ /**
139
+ * Answers where the caller stands with the beta program in the org they act in: their own application, if they filed one, and whether they may apply now and why. Eligibility is judged here from billing, never from anything the caller sends: the org must be on a plan at $100 a month or more (a Max plan, a catalog plan priced there, or enterprise) or hold $100 of paid and granted credit, and the caller must own or administer it. The shared sign-up organization never applies. `granted` says whether the org already holds the program\'s grant, which is what turns betas on; a declined application may be followed by a new one.
140
+ * @summary Answers where the caller stands with the beta program in the org they act in: their own application, if they filed one, and whether they may apply now and why.
141
+ * @param {*} [options] Override http request option.
142
+ * @throws {RequiredError}
143
+ */
144
+ getBeta(options) {
145
+ return localVarFp.getBeta(options).then((request) => request(axios, basePath));
146
+ },
147
+ /**
148
+ * Files the caller\'s application to the beta program, for the org they act in. The body is the answers alone; the person, their email and the organization come from the validated principal and X-Org-Id. It is refused unless the caller owns or administers that organization and it stands at the floor — a plan at $100 a month or more, or $100 of paid and granted credit — and never in the shared sign-up organization; when billing cannot say, it is 503 and worth retrying. One application at a time per person and organization: a repeat while one is pending, or approved and still granted, answers 200 with it and changes nothing, so a second tab or a retry cannot file twice; after a decline or a revoked grant, a new filing is a new application (201). A body larger than 128 KiB is 413; an unknown field or answer, or an answer that breaks its question\'s rule, is 400 naming it.
149
+ * @summary Files the caller\'s application to the beta program, for the org they act in.
150
+ * @param {BetaApiPostBetaApplyRequest} requestParameters Request parameters.
151
+ * @param {*} [options] Override http request option.
152
+ * @throws {RequiredError}
153
+ */
154
+ postBetaApply(requestParameters, options) {
155
+ return localVarFp.postBetaApply(requestParameters.betaBetaApply, options).then((request) => request(axios, basePath));
156
+ },
157
+ };
158
+ };
159
+ exports.BetaApiFactory = BetaApiFactory;
160
+ /**
161
+ * BetaApi - object-oriented interface
162
+ * @export
163
+ * @class BetaApi
164
+ * @extends {BaseAPI}
165
+ */
166
+ class BetaApi extends base_1.BaseAPI {
167
+ /**
168
+ * Answers where the caller stands with the beta program in the org they act in: their own application, if they filed one, and whether they may apply now and why. Eligibility is judged here from billing, never from anything the caller sends: the org must be on a plan at $100 a month or more (a Max plan, a catalog plan priced there, or enterprise) or hold $100 of paid and granted credit, and the caller must own or administer it. The shared sign-up organization never applies. `granted` says whether the org already holds the program\'s grant, which is what turns betas on; a declined application may be followed by a new one.
169
+ * @summary Answers where the caller stands with the beta program in the org they act in: their own application, if they filed one, and whether they may apply now and why.
170
+ * @param {*} [options] Override http request option.
171
+ * @throws {RequiredError}
172
+ * @memberof BetaApi
173
+ */
174
+ getBeta(options) {
175
+ return (0, exports.BetaApiFp)(this.configuration).getBeta(options).then((request) => request(this.axios, this.basePath));
176
+ }
177
+ /**
178
+ * Files the caller\'s application to the beta program, for the org they act in. The body is the answers alone; the person, their email and the organization come from the validated principal and X-Org-Id. It is refused unless the caller owns or administers that organization and it stands at the floor — a plan at $100 a month or more, or $100 of paid and granted credit — and never in the shared sign-up organization; when billing cannot say, it is 503 and worth retrying. One application at a time per person and organization: a repeat while one is pending, or approved and still granted, answers 200 with it and changes nothing, so a second tab or a retry cannot file twice; after a decline or a revoked grant, a new filing is a new application (201). A body larger than 128 KiB is 413; an unknown field or answer, or an answer that breaks its question\'s rule, is 400 naming it.
179
+ * @summary Files the caller\'s application to the beta program, for the org they act in.
180
+ * @param {BetaApiPostBetaApplyRequest} requestParameters Request parameters.
181
+ * @param {*} [options] Override http request option.
182
+ * @throws {RequiredError}
183
+ * @memberof BetaApi
184
+ */
185
+ postBetaApply(requestParameters, options) {
186
+ return (0, exports.BetaApiFp)(this.configuration).postBetaApply(requestParameters.betaBetaApply, options).then((request) => request(this.axios, this.basePath));
187
+ }
188
+ }
189
+ exports.BetaApi = BetaApi;
@@ -214,7 +214,7 @@ export declare const PricingApiAxiosParamCreator: (configuration?: Configuration
214
214
  */
215
215
  getPricingTools: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
216
216
  /**
217
- * Opts the caller\'s OWN org into a beta item. The org is the caller\'s validated one, so this can never target another org, and the registry refuses anything not in beta — so it can neither re-open an item an operator turned off nor touch one that is already generally available. Requires a signed-in caller with an org.
217
+ * Opts the caller\'s OWN org into a beta item. The org is the caller\'s validated one, so this can never target another org, and the registry refuses anything not in beta — so it can neither re-open an item an operator turned off nor touch one that is already generally available. The org must be entitled to betas — it holds the beta program\'s grant, from an approved application or an operator — or the opt-in is 403; when the program cannot be asked it is 503, and worth retrying. Requires a signed-in owner or admin of the org (403 for a member).
218
218
  * @summary Opts the caller\'s OWN org into a beta item.
219
219
  * @param {PricingEnablementOptRef} pricingEnablementOptRef
220
220
  * @param {*} [options] Override http request option.
@@ -222,7 +222,7 @@ export declare const PricingApiAxiosParamCreator: (configuration?: Configuration
222
222
  */
223
223
  postPricingEnablementOptin: (pricingEnablementOptRef: PricingEnablementOptRef, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
224
224
  /**
225
- * Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent. The org is the caller\'s validated one, so this can never revoke another org\'s grant. Requires a signed-in caller with an org.
225
+ * Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent. The org is the caller\'s validated one, so this can never revoke another org\'s grant. Requires a signed-in owner or admin of the org (403 for a member).
226
226
  * @summary Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent.
227
227
  * @param {PricingEnablementOptRef} pricingEnablementOptRef
228
228
  * @param {*} [options] Override http request option.
@@ -437,7 +437,7 @@ export declare const PricingApiFp: (configuration?: Configuration) => {
437
437
  */
438
438
  getPricingTools(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PricingPricingToolList>>;
439
439
  /**
440
- * Opts the caller\'s OWN org into a beta item. The org is the caller\'s validated one, so this can never target another org, and the registry refuses anything not in beta — so it can neither re-open an item an operator turned off nor touch one that is already generally available. Requires a signed-in caller with an org.
440
+ * Opts the caller\'s OWN org into a beta item. The org is the caller\'s validated one, so this can never target another org, and the registry refuses anything not in beta — so it can neither re-open an item an operator turned off nor touch one that is already generally available. The org must be entitled to betas — it holds the beta program\'s grant, from an approved application or an operator — or the opt-in is 403; when the program cannot be asked it is 503, and worth retrying. Requires a signed-in owner or admin of the org (403 for a member).
441
441
  * @summary Opts the caller\'s OWN org into a beta item.
442
442
  * @param {PricingEnablementOptRef} pricingEnablementOptRef
443
443
  * @param {*} [options] Override http request option.
@@ -445,7 +445,7 @@ export declare const PricingApiFp: (configuration?: Configuration) => {
445
445
  */
446
446
  postPricingEnablementOptin(pricingEnablementOptRef: PricingEnablementOptRef, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PricingUserEnablementItem>>;
447
447
  /**
448
- * Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent. The org is the caller\'s validated one, so this can never revoke another org\'s grant. Requires a signed-in caller with an org.
448
+ * Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent. The org is the caller\'s validated one, so this can never revoke another org\'s grant. Requires a signed-in owner or admin of the org (403 for a member).
449
449
  * @summary Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent.
450
450
  * @param {PricingEnablementOptRef} pricingEnablementOptRef
451
451
  * @param {*} [options] Override http request option.
@@ -660,7 +660,7 @@ export declare const PricingApiFactory: (configuration?: Configuration, basePath
660
660
  */
661
661
  getPricingTools(options?: RawAxiosRequestConfig): AxiosPromise<PricingPricingToolList>;
662
662
  /**
663
- * Opts the caller\'s OWN org into a beta item. The org is the caller\'s validated one, so this can never target another org, and the registry refuses anything not in beta — so it can neither re-open an item an operator turned off nor touch one that is already generally available. Requires a signed-in caller with an org.
663
+ * Opts the caller\'s OWN org into a beta item. The org is the caller\'s validated one, so this can never target another org, and the registry refuses anything not in beta — so it can neither re-open an item an operator turned off nor touch one that is already generally available. The org must be entitled to betas — it holds the beta program\'s grant, from an approved application or an operator — or the opt-in is 403; when the program cannot be asked it is 503, and worth retrying. Requires a signed-in owner or admin of the org (403 for a member).
664
664
  * @summary Opts the caller\'s OWN org into a beta item.
665
665
  * @param {PricingApiPostPricingEnablementOptinRequest} requestParameters Request parameters.
666
666
  * @param {*} [options] Override http request option.
@@ -668,7 +668,7 @@ export declare const PricingApiFactory: (configuration?: Configuration, basePath
668
668
  */
669
669
  postPricingEnablementOptin(requestParameters: PricingApiPostPricingEnablementOptinRequest, options?: RawAxiosRequestConfig): AxiosPromise<PricingUserEnablementItem>;
670
670
  /**
671
- * Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent. The org is the caller\'s validated one, so this can never revoke another org\'s grant. Requires a signed-in caller with an org.
671
+ * Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent. The org is the caller\'s validated one, so this can never revoke another org\'s grant. Requires a signed-in owner or admin of the org (403 for a member).
672
672
  * @summary Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent.
673
673
  * @param {PricingApiPostPricingEnablementOptoutRequest} requestParameters Request parameters.
674
674
  * @param {*} [options] Override http request option.
@@ -950,7 +950,7 @@ export declare class PricingApi extends BaseAPI {
950
950
  */
951
951
  getPricingTools(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<PricingPricingToolList, any, {}>>;
952
952
  /**
953
- * Opts the caller\'s OWN org into a beta item. The org is the caller\'s validated one, so this can never target another org, and the registry refuses anything not in beta — so it can neither re-open an item an operator turned off nor touch one that is already generally available. Requires a signed-in caller with an org.
953
+ * Opts the caller\'s OWN org into a beta item. The org is the caller\'s validated one, so this can never target another org, and the registry refuses anything not in beta — so it can neither re-open an item an operator turned off nor touch one that is already generally available. The org must be entitled to betas — it holds the beta program\'s grant, from an approved application or an operator — or the opt-in is 403; when the program cannot be asked it is 503, and worth retrying. Requires a signed-in owner or admin of the org (403 for a member).
954
954
  * @summary Opts the caller\'s OWN org into a beta item.
955
955
  * @param {PricingApiPostPricingEnablementOptinRequest} requestParameters Request parameters.
956
956
  * @param {*} [options] Override http request option.
@@ -959,7 +959,7 @@ export declare class PricingApi extends BaseAPI {
959
959
  */
960
960
  postPricingEnablementOptin(requestParameters: PricingApiPostPricingEnablementOptinRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<PricingUserEnablementItem, any, {}>>;
961
961
  /**
962
- * Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent. The org is the caller\'s validated one, so this can never revoke another org\'s grant. Requires a signed-in caller with an org.
962
+ * Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent. The org is the caller\'s validated one, so this can never revoke another org\'s grant. Requires a signed-in owner or admin of the org (403 for a member).
963
963
  * @summary Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent.
964
964
  * @param {PricingApiPostPricingEnablementOptoutRequest} requestParameters Request parameters.
965
965
  * @param {*} [options] Override http request option.
@@ -762,7 +762,7 @@ const PricingApiAxiosParamCreator = function (configuration) {
762
762
  };
763
763
  },
764
764
  /**
765
- * Opts the caller\'s OWN org into a beta item. The org is the caller\'s validated one, so this can never target another org, and the registry refuses anything not in beta — so it can neither re-open an item an operator turned off nor touch one that is already generally available. Requires a signed-in caller with an org.
765
+ * Opts the caller\'s OWN org into a beta item. The org is the caller\'s validated one, so this can never target another org, and the registry refuses anything not in beta — so it can neither re-open an item an operator turned off nor touch one that is already generally available. The org must be entitled to betas — it holds the beta program\'s grant, from an approved application or an operator — or the opt-in is 403; when the program cannot be asked it is 503, and worth retrying. Requires a signed-in owner or admin of the org (403 for a member).
766
766
  * @summary Opts the caller\'s OWN org into a beta item.
767
767
  * @param {PricingEnablementOptRef} pricingEnablementOptRef
768
768
  * @param {*} [options] Override http request option.
@@ -795,7 +795,7 @@ const PricingApiAxiosParamCreator = function (configuration) {
795
795
  };
796
796
  },
797
797
  /**
798
- * Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent. The org is the caller\'s validated one, so this can never revoke another org\'s grant. Requires a signed-in caller with an org.
798
+ * Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent. The org is the caller\'s validated one, so this can never revoke another org\'s grant. Requires a signed-in owner or admin of the org (403 for a member).
799
799
  * @summary Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent.
800
800
  * @param {PricingEnablementOptRef} pricingEnablementOptRef
801
801
  * @param {*} [options] Override http request option.
@@ -1151,7 +1151,7 @@ const PricingApiFp = function (configuration) {
1151
1151
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1152
1152
  },
1153
1153
  /**
1154
- * Opts the caller\'s OWN org into a beta item. The org is the caller\'s validated one, so this can never target another org, and the registry refuses anything not in beta — so it can neither re-open an item an operator turned off nor touch one that is already generally available. Requires a signed-in caller with an org.
1154
+ * Opts the caller\'s OWN org into a beta item. The org is the caller\'s validated one, so this can never target another org, and the registry refuses anything not in beta — so it can neither re-open an item an operator turned off nor touch one that is already generally available. The org must be entitled to betas — it holds the beta program\'s grant, from an approved application or an operator — or the opt-in is 403; when the program cannot be asked it is 503, and worth retrying. Requires a signed-in owner or admin of the org (403 for a member).
1155
1155
  * @summary Opts the caller\'s OWN org into a beta item.
1156
1156
  * @param {PricingEnablementOptRef} pricingEnablementOptRef
1157
1157
  * @param {*} [options] Override http request option.
@@ -1164,7 +1164,7 @@ const PricingApiFp = function (configuration) {
1164
1164
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1165
1165
  },
1166
1166
  /**
1167
- * Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent. The org is the caller\'s validated one, so this can never revoke another org\'s grant. Requires a signed-in caller with an org.
1167
+ * Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent. The org is the caller\'s validated one, so this can never revoke another org\'s grant. Requires a signed-in owner or admin of the org (403 for a member).
1168
1168
  * @summary Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent.
1169
1169
  * @param {PricingEnablementOptRef} pricingEnablementOptRef
1170
1170
  * @param {*} [options] Override http request option.
@@ -1422,7 +1422,7 @@ const PricingApiFactory = function (configuration, basePath, axios) {
1422
1422
  return localVarFp.getPricingTools(options).then((request) => request(axios, basePath));
1423
1423
  },
1424
1424
  /**
1425
- * Opts the caller\'s OWN org into a beta item. The org is the caller\'s validated one, so this can never target another org, and the registry refuses anything not in beta — so it can neither re-open an item an operator turned off nor touch one that is already generally available. Requires a signed-in caller with an org.
1425
+ * Opts the caller\'s OWN org into a beta item. The org is the caller\'s validated one, so this can never target another org, and the registry refuses anything not in beta — so it can neither re-open an item an operator turned off nor touch one that is already generally available. The org must be entitled to betas — it holds the beta program\'s grant, from an approved application or an operator — or the opt-in is 403; when the program cannot be asked it is 503, and worth retrying. Requires a signed-in owner or admin of the org (403 for a member).
1426
1426
  * @summary Opts the caller\'s OWN org into a beta item.
1427
1427
  * @param {PricingApiPostPricingEnablementOptinRequest} requestParameters Request parameters.
1428
1428
  * @param {*} [options] Override http request option.
@@ -1432,7 +1432,7 @@ const PricingApiFactory = function (configuration, basePath, axios) {
1432
1432
  return localVarFp.postPricingEnablementOptin(requestParameters.pricingEnablementOptRef, options).then((request) => request(axios, basePath));
1433
1433
  },
1434
1434
  /**
1435
- * Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent. The org is the caller\'s validated one, so this can never revoke another org\'s grant. Requires a signed-in caller with an org.
1435
+ * Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent. The org is the caller\'s validated one, so this can never revoke another org\'s grant. Requires a signed-in owner or admin of the org (403 for a member).
1436
1436
  * @summary Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent.
1437
1437
  * @param {PricingApiPostPricingEnablementOptoutRequest} requestParameters Request parameters.
1438
1438
  * @param {*} [options] Override http request option.
@@ -1713,7 +1713,7 @@ class PricingApi extends base_1.BaseAPI {
1713
1713
  return (0, exports.PricingApiFp)(this.configuration).getPricingTools(options).then((request) => request(this.axios, this.basePath));
1714
1714
  }
1715
1715
  /**
1716
- * Opts the caller\'s OWN org into a beta item. The org is the caller\'s validated one, so this can never target another org, and the registry refuses anything not in beta — so it can neither re-open an item an operator turned off nor touch one that is already generally available. Requires a signed-in caller with an org.
1716
+ * Opts the caller\'s OWN org into a beta item. The org is the caller\'s validated one, so this can never target another org, and the registry refuses anything not in beta — so it can neither re-open an item an operator turned off nor touch one that is already generally available. The org must be entitled to betas — it holds the beta program\'s grant, from an approved application or an operator — or the opt-in is 403; when the program cannot be asked it is 503, and worth retrying. Requires a signed-in owner or admin of the org (403 for a member).
1717
1717
  * @summary Opts the caller\'s OWN org into a beta item.
1718
1718
  * @param {PricingApiPostPricingEnablementOptinRequest} requestParameters Request parameters.
1719
1719
  * @param {*} [options] Override http request option.
@@ -1724,7 +1724,7 @@ class PricingApi extends base_1.BaseAPI {
1724
1724
  return (0, exports.PricingApiFp)(this.configuration).postPricingEnablementOptin(requestParameters.pricingEnablementOptRef, options).then((request) => request(this.axios, this.basePath));
1725
1725
  }
1726
1726
  /**
1727
- * Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent. The org is the caller\'s validated one, so this can never revoke another org\'s grant. Requires a signed-in caller with an org.
1727
+ * Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent. The org is the caller\'s validated one, so this can never revoke another org\'s grant. Requires a signed-in owner or admin of the org (403 for a member).
1728
1728
  * @summary Removes the caller\'s OWN org from a beta item\'s grant list, the reverse of OptIntoBeta and idempotent.
1729
1729
  * @param {PricingApiPostPricingEnablementOptoutRequest} requestParameters Request parameters.
1730
1730
  * @param {*} [options] Override http request option.