@griffin-app/griffin-hub-sdk 1.0.0 → 1.0.1
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/.openapi-generator/FILES +15 -20
- package/README.md +18 -24
- package/api.ts +389 -617
- package/dist/api.d.ts +221 -356
- package/dist/api.js +281 -473
- package/dist/esm/api.d.ts +221 -356
- package/dist/esm/api.js +272 -460
- package/dist/openapi-ts.config.d.ts +2 -0
- package/dist/openapi-ts.config.js +14 -0
- package/dist/openapi-ts.config.js.map +1 -0
- package/dist/src/client/client/client.gen.d.ts +2 -0
- package/dist/src/client/client/client.gen.js +199 -0
- package/dist/src/client/client/client.gen.js.map +1 -0
- package/dist/src/client/client/index.d.ts +8 -0
- package/dist/src/client/client/index.js +6 -0
- package/dist/src/client/client/index.js.map +1 -0
- package/dist/src/client/client/types.gen.d.ts +68 -0
- package/dist/src/client/client/types.gen.js +2 -0
- package/dist/src/client/client/types.gen.js.map +1 -0
- package/dist/src/client/client/utils.gen.d.ts +30 -0
- package/dist/src/client/client/utils.gen.js +232 -0
- package/dist/src/client/client/utils.gen.js.map +1 -0
- package/dist/src/client/client.gen.d.ts +4 -0
- package/dist/src/client/client.gen.js +3 -0
- package/dist/src/client/client.gen.js.map +1 -0
- package/dist/src/client/core/auth.gen.d.ts +8 -0
- package/dist/src/client/core/auth.gen.js +23 -0
- package/dist/src/client/core/auth.gen.js.map +1 -0
- package/dist/src/client/core/bodySerializer.gen.d.ts +21 -0
- package/dist/src/client/core/bodySerializer.gen.js +57 -0
- package/dist/src/client/core/bodySerializer.gen.js.map +1 -0
- package/dist/src/client/core/params.gen.d.ts +26 -0
- package/dist/src/client/core/params.gen.js +100 -0
- package/dist/src/client/core/params.gen.js.map +1 -0
- package/dist/src/client/core/pathSerializer.gen.d.ts +30 -0
- package/dist/src/client/core/pathSerializer.gen.js +114 -0
- package/dist/src/client/core/pathSerializer.gen.js.map +1 -0
- package/dist/src/client/core/queryKeySerializer.gen.d.ts +6 -0
- package/dist/src/client/core/queryKeySerializer.gen.js +84 -0
- package/dist/src/client/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/src/client/core/serverSentEvents.gen.d.ts +23 -0
- package/dist/src/client/core/serverSentEvents.gen.js +153 -0
- package/dist/src/client/core/serverSentEvents.gen.js.map +1 -0
- package/dist/src/client/core/types.gen.d.ts +32 -0
- package/dist/src/client/core/types.gen.js +2 -0
- package/dist/src/client/core/types.gen.js.map +1 -0
- package/dist/src/client/core/utils.gen.d.ts +19 -0
- package/dist/src/client/core/utils.gen.js +84 -0
- package/dist/src/client/core/utils.gen.js.map +1 -0
- package/dist/src/client/index.d.ts +2 -0
- package/dist/src/client/index.js +2 -0
- package/dist/src/client/index.js.map +1 -0
- package/dist/src/client/sdk.gen.d.ts +11 -0
- package/dist/src/client/sdk.gen.js +10 -0
- package/dist/src/client/sdk.gen.js.map +1 -0
- package/dist/src/client/types.gen.d.ts +217 -0
- package/dist/src/client/types.gen.js +2 -0
- package/dist/src/client/types.gen.js.map +1 -0
- package/docs/{Assertion1AnyOf.md → AssertionAnyOf.md} +3 -3
- package/docs/{Assertion1AnyOf1.md → AssertionAnyOf1.md} +3 -3
- package/docs/{Assertion1AnyOf2.md → AssertionAnyOf2.md} +3 -3
- package/docs/Assertions.md +1 -1
- package/docs/{Assertion1.md → AssertionsAssertionsInner.md} +4 -4
- package/docs/AssertionsAssertionsInnerAnyOf.md +28 -0
- package/docs/AssertionsAssertionsInnerAnyOfAllOfPredicate.md +22 -0
- package/docs/AssertionsAssertionsInnerAnyOfAllOfPredicateAnyOf.md +22 -0
- package/docs/Endpoint.md +3 -3
- package/docs/{Endpoint1HeadersValue.md → EndpointHeadersValue.md} +4 -4
- package/docs/{Endpoint1HeadersValueAnyOf.md → EndpointHeadersValueAnyOf.md} +4 -4
- package/docs/{Endpoint1HeadersValueAnyOfSecret.md → EndpointHeadersValueAnyOfSecret.md} +3 -3
- package/docs/{Edge1.md → EndpointPath.md} +5 -7
- package/docs/{Wait1.md → EndpointPathAnyOf.md} +5 -9
- package/docs/{Endpoint1Base.md → EndpointPathAnyOfVariable.md} +5 -5
- package/docs/Node.md +4 -4
- package/docs/PlanApi.md +195 -5
- package/docs/PlanPostRequest.md +34 -0
- package/docs/PlanPostRequestFrequency.md +22 -0
- package/docs/TestPlanV1.md +4 -6
- package/package.json +1 -1
- package/docs/Assertions1.md +0 -24
- package/docs/ConfigApi.md +0 -330
- package/docs/ConfigGet200Response.md +0 -20
- package/docs/ConfigOrganizationIdEnvironmentTargetsTargetKeyGet200Response.md +0 -20
- package/docs/ConfigOrganizationIdEnvironmentTargetsTargetKeyGet200ResponseData.md +0 -20
- package/docs/ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200Response.md +0 -20
- package/docs/ConfigOrganizationIdEnvironmentTargetsTargetKeyPut200ResponseData.md +0 -30
- package/docs/ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest.md +0 -20
- package/docs/Endpoint1.md +0 -34
- package/docs/Node1.md +0 -38
package/dist/api.js
CHANGED
|
@@ -22,8 +22,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.RunsGetStatusEnum = exports.RunsApi = exports.RunsApiFactory = exports.RunsApiFp = exports.RunsApiAxiosParamCreator =
|
|
25
|
+
exports.PlanApi = exports.PlanApiFactory = exports.PlanApiFp = exports.PlanApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.AgentsGetStatusEnum = exports.AgentsApi = exports.AgentsApiFactory = exports.AgentsApiFp = exports.AgentsApiAxiosParamCreator = exports.WaitTypeEnum = exports.UnaryPredicate = exports.TestPlanV1VersionEnum = exports.RunsIdPatchRequestStatusEnum = exports.RunsIdGet200ResponseDataTriggeredByEnum = exports.RunsIdGet200ResponseDataStatusEnum = exports.RunsGet200ResponseDataInnerTriggeredByEnum = exports.RunsGet200ResponseDataInnerStatusEnum = exports.ResponseFormat = exports.PlanPostRequestFrequencyUnitEnum = exports.PlanPostRequestVersionEnum = exports.JSONAssertion1PredicateOperatorEnum = exports.JSONAssertionAccessorEnum = exports.HttpMethod = exports.Frequency1UnitEnum = exports.FrequencyUnitEnum = exports.EndpointResponseFormatEnum = exports.EndpointMethodEnum = exports.EndpointTypeEnum = exports.BinaryPredicateOperator = exports.BinaryPredicate1OperatorEnum = exports.BinaryPredicateOperatorEnum = exports.AssertionsAssertionsInnerAnyOfAllOfPredicateAnyOfOperatorEnum = exports.AssertionsAssertionsInnerAnyOfAllOfPredicateOperatorEnum = exports.AssertionsAssertionsInnerAnyOfAccessorEnum = exports.AssertionsAssertionsInnerAnyOfAssertionTypeEnum = exports.AssertionsAssertionsInnerAccessorEnum = exports.AssertionsAssertionsInnerAssertionTypeEnum = exports.AssertionsTypeEnum = exports.AssertionAnyOf2AssertionTypeEnum = exports.AssertionAnyOf1AssertionTypeEnum = exports.AssertionAnyOfAccessorEnum = exports.AssertionAnyOfAssertionTypeEnum = exports.AssertionAccessorEnum = exports.AssertionAssertionTypeEnum = exports.AgentsRegisterPost200ResponseStatusEnum = exports.AgentsGet200ResponseDataInnerStatusEnum = void 0;
|
|
26
|
+
exports.RunsGetStatusEnum = exports.RunsApi = exports.RunsApiFactory = exports.RunsApiFp = exports.RunsApiAxiosParamCreator = void 0;
|
|
27
27
|
const axios_1 = require("axios");
|
|
28
28
|
// Some imports not used depending on template conditions
|
|
29
29
|
// @ts-ignore
|
|
@@ -46,33 +46,66 @@ exports.AssertionAccessorEnum = {
|
|
|
46
46
|
Headers: 'headers',
|
|
47
47
|
Status: 'status'
|
|
48
48
|
};
|
|
49
|
-
exports.
|
|
50
|
-
Text: 'TEXT'
|
|
51
|
-
};
|
|
52
|
-
exports.Assertion1AccessorEnum = {
|
|
53
|
-
Body: 'body',
|
|
54
|
-
Headers: 'headers',
|
|
55
|
-
Status: 'status'
|
|
56
|
-
};
|
|
57
|
-
exports.Assertion1AnyOfAssertionTypeEnum = {
|
|
49
|
+
exports.AssertionAnyOfAssertionTypeEnum = {
|
|
58
50
|
Json: 'JSON'
|
|
59
51
|
};
|
|
60
|
-
exports.
|
|
52
|
+
exports.AssertionAnyOfAccessorEnum = {
|
|
61
53
|
Body: 'body',
|
|
62
54
|
Headers: 'headers',
|
|
63
55
|
Status: 'status'
|
|
64
56
|
};
|
|
65
|
-
exports.
|
|
57
|
+
exports.AssertionAnyOf1AssertionTypeEnum = {
|
|
66
58
|
Xml: 'XML'
|
|
67
59
|
};
|
|
68
|
-
exports.
|
|
60
|
+
exports.AssertionAnyOf2AssertionTypeEnum = {
|
|
69
61
|
Text: 'TEXT'
|
|
70
62
|
};
|
|
71
63
|
exports.AssertionsTypeEnum = {
|
|
72
64
|
Assertion: 'ASSERTION'
|
|
73
65
|
};
|
|
74
|
-
exports.
|
|
75
|
-
|
|
66
|
+
exports.AssertionsAssertionsInnerAssertionTypeEnum = {
|
|
67
|
+
Text: 'TEXT'
|
|
68
|
+
};
|
|
69
|
+
exports.AssertionsAssertionsInnerAccessorEnum = {
|
|
70
|
+
Body: 'body',
|
|
71
|
+
Headers: 'headers',
|
|
72
|
+
Status: 'status'
|
|
73
|
+
};
|
|
74
|
+
exports.AssertionsAssertionsInnerAnyOfAssertionTypeEnum = {
|
|
75
|
+
Json: 'JSON'
|
|
76
|
+
};
|
|
77
|
+
exports.AssertionsAssertionsInnerAnyOfAccessorEnum = {
|
|
78
|
+
Body: 'body',
|
|
79
|
+
Headers: 'headers',
|
|
80
|
+
Status: 'status'
|
|
81
|
+
};
|
|
82
|
+
exports.AssertionsAssertionsInnerAnyOfAllOfPredicateOperatorEnum = {
|
|
83
|
+
Equal: 'EQUAL',
|
|
84
|
+
NotEqual: 'NOT_EQUAL',
|
|
85
|
+
GreaterThan: 'GREATER_THAN',
|
|
86
|
+
LessThan: 'LESS_THAN',
|
|
87
|
+
GreaterThanOrEqual: 'GREATER_THAN_OR_EQUAL',
|
|
88
|
+
LessThanOrEqual: 'LESS_THAN_OR_EQUAL',
|
|
89
|
+
Contains: 'CONTAINS',
|
|
90
|
+
NotContains: 'NOT_CONTAINS',
|
|
91
|
+
StartsWith: 'STARTS_WITH',
|
|
92
|
+
EndsWith: 'ENDS_WITH',
|
|
93
|
+
NotStartsWith: 'NOT_STARTS_WITH',
|
|
94
|
+
NotEndsWith: 'NOT_ENDS_WITH'
|
|
95
|
+
};
|
|
96
|
+
exports.AssertionsAssertionsInnerAnyOfAllOfPredicateAnyOfOperatorEnum = {
|
|
97
|
+
Equal: 'EQUAL',
|
|
98
|
+
NotEqual: 'NOT_EQUAL',
|
|
99
|
+
GreaterThan: 'GREATER_THAN',
|
|
100
|
+
LessThan: 'LESS_THAN',
|
|
101
|
+
GreaterThanOrEqual: 'GREATER_THAN_OR_EQUAL',
|
|
102
|
+
LessThanOrEqual: 'LESS_THAN_OR_EQUAL',
|
|
103
|
+
Contains: 'CONTAINS',
|
|
104
|
+
NotContains: 'NOT_CONTAINS',
|
|
105
|
+
StartsWith: 'STARTS_WITH',
|
|
106
|
+
EndsWith: 'ENDS_WITH',
|
|
107
|
+
NotStartsWith: 'NOT_STARTS_WITH',
|
|
108
|
+
NotEndsWith: 'NOT_ENDS_WITH'
|
|
76
109
|
};
|
|
77
110
|
exports.BinaryPredicateOperatorEnum = {
|
|
78
111
|
Equal: 'EQUAL',
|
|
@@ -135,28 +168,6 @@ exports.EndpointResponseFormatEnum = {
|
|
|
135
168
|
Xml: 'XML',
|
|
136
169
|
Text: 'TEXT'
|
|
137
170
|
};
|
|
138
|
-
exports.Endpoint1TypeEnum = {
|
|
139
|
-
Endpoint: 'ENDPOINT'
|
|
140
|
-
};
|
|
141
|
-
exports.Endpoint1MethodEnum = {
|
|
142
|
-
Get: 'GET',
|
|
143
|
-
Post: 'POST',
|
|
144
|
-
Put: 'PUT',
|
|
145
|
-
Delete: 'DELETE',
|
|
146
|
-
Patch: 'PATCH',
|
|
147
|
-
Head: 'HEAD',
|
|
148
|
-
Options: 'OPTIONS',
|
|
149
|
-
Connect: 'CONNECT',
|
|
150
|
-
Trace: 'TRACE'
|
|
151
|
-
};
|
|
152
|
-
exports.Endpoint1ResponseFormatEnum = {
|
|
153
|
-
Json: 'JSON',
|
|
154
|
-
Xml: 'XML',
|
|
155
|
-
Text: 'TEXT'
|
|
156
|
-
};
|
|
157
|
-
exports.Endpoint1BaseTypeEnum = {
|
|
158
|
-
Target: 'target'
|
|
159
|
-
};
|
|
160
171
|
exports.FrequencyUnitEnum = {
|
|
161
172
|
Minute: 'MINUTE',
|
|
162
173
|
Hour: 'HOUR',
|
|
@@ -197,26 +208,13 @@ exports.JSONAssertion1PredicateOperatorEnum = {
|
|
|
197
208
|
NotStartsWith: 'NOT_STARTS_WITH',
|
|
198
209
|
NotEndsWith: 'NOT_ENDS_WITH'
|
|
199
210
|
};
|
|
200
|
-
exports.
|
|
201
|
-
|
|
202
|
-
Wait: 'WAIT',
|
|
203
|
-
Assertion: 'ASSERTION'
|
|
204
|
-
};
|
|
205
|
-
exports.Node1MethodEnum = {
|
|
206
|
-
Get: 'GET',
|
|
207
|
-
Post: 'POST',
|
|
208
|
-
Put: 'PUT',
|
|
209
|
-
Delete: 'DELETE',
|
|
210
|
-
Patch: 'PATCH',
|
|
211
|
-
Head: 'HEAD',
|
|
212
|
-
Options: 'OPTIONS',
|
|
213
|
-
Connect: 'CONNECT',
|
|
214
|
-
Trace: 'TRACE'
|
|
211
|
+
exports.PlanPostRequestVersionEnum = {
|
|
212
|
+
_10: '1.0'
|
|
215
213
|
};
|
|
216
|
-
exports.
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
214
|
+
exports.PlanPostRequestFrequencyUnitEnum = {
|
|
215
|
+
Minute: 'MINUTE',
|
|
216
|
+
Hour: 'HOUR',
|
|
217
|
+
Day: 'DAY'
|
|
220
218
|
};
|
|
221
219
|
exports.ResponseFormat = {
|
|
222
220
|
Json: 'JSON',
|
|
@@ -265,9 +263,6 @@ exports.UnaryPredicate = {
|
|
|
265
263
|
exports.WaitTypeEnum = {
|
|
266
264
|
Wait: 'WAIT'
|
|
267
265
|
};
|
|
268
|
-
exports.Wait1TypeEnum = {
|
|
269
|
-
Wait: 'WAIT'
|
|
270
|
-
};
|
|
271
266
|
/**
|
|
272
267
|
* AgentsApi - axios parameter creator
|
|
273
268
|
*/
|
|
@@ -616,19 +611,112 @@ exports.AgentsGetStatusEnum = {
|
|
|
616
611
|
Offline: 'offline'
|
|
617
612
|
};
|
|
618
613
|
/**
|
|
619
|
-
*
|
|
614
|
+
* DefaultApi - axios parameter creator
|
|
620
615
|
*/
|
|
621
|
-
const
|
|
616
|
+
const DefaultApiAxiosParamCreator = function (configuration) {
|
|
617
|
+
return {
|
|
618
|
+
/**
|
|
619
|
+
*
|
|
620
|
+
* @param {*} [options] Override http request option.
|
|
621
|
+
* @throws {RequiredError}
|
|
622
|
+
*/
|
|
623
|
+
rootGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
624
|
+
const localVarPath = `/`;
|
|
625
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
626
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
627
|
+
let baseOptions;
|
|
628
|
+
if (configuration) {
|
|
629
|
+
baseOptions = configuration.baseOptions;
|
|
630
|
+
}
|
|
631
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
632
|
+
const localVarHeaderParameter = {};
|
|
633
|
+
const localVarQueryParameter = {};
|
|
634
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
635
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
636
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
637
|
+
return {
|
|
638
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
639
|
+
options: localVarRequestOptions,
|
|
640
|
+
};
|
|
641
|
+
}),
|
|
642
|
+
};
|
|
643
|
+
};
|
|
644
|
+
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
645
|
+
/**
|
|
646
|
+
* DefaultApi - functional programming interface
|
|
647
|
+
*/
|
|
648
|
+
const DefaultApiFp = function (configuration) {
|
|
649
|
+
const localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
|
|
650
|
+
return {
|
|
651
|
+
/**
|
|
652
|
+
*
|
|
653
|
+
* @param {*} [options] Override http request option.
|
|
654
|
+
* @throws {RequiredError}
|
|
655
|
+
*/
|
|
656
|
+
rootGet(options) {
|
|
657
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
658
|
+
var _a, _b, _c;
|
|
659
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.rootGet(options);
|
|
660
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
661
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.rootGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
662
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
663
|
+
});
|
|
664
|
+
},
|
|
665
|
+
};
|
|
666
|
+
};
|
|
667
|
+
exports.DefaultApiFp = DefaultApiFp;
|
|
668
|
+
/**
|
|
669
|
+
* DefaultApi - factory interface
|
|
670
|
+
*/
|
|
671
|
+
const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
672
|
+
const localVarFp = (0, exports.DefaultApiFp)(configuration);
|
|
622
673
|
return {
|
|
623
674
|
/**
|
|
624
675
|
*
|
|
625
|
-
* @param {string} [organizationId]
|
|
626
|
-
* @param {string} [environment]
|
|
627
676
|
* @param {*} [options] Override http request option.
|
|
628
677
|
* @throws {RequiredError}
|
|
629
678
|
*/
|
|
630
|
-
|
|
631
|
-
|
|
679
|
+
rootGet(options) {
|
|
680
|
+
return localVarFp.rootGet(options).then((request) => request(axios, basePath));
|
|
681
|
+
},
|
|
682
|
+
};
|
|
683
|
+
};
|
|
684
|
+
exports.DefaultApiFactory = DefaultApiFactory;
|
|
685
|
+
/**
|
|
686
|
+
* DefaultApi - object-oriented interface
|
|
687
|
+
*/
|
|
688
|
+
class DefaultApi extends base_1.BaseAPI {
|
|
689
|
+
/**
|
|
690
|
+
*
|
|
691
|
+
* @param {*} [options] Override http request option.
|
|
692
|
+
* @throws {RequiredError}
|
|
693
|
+
*/
|
|
694
|
+
rootGet(options) {
|
|
695
|
+
return (0, exports.DefaultApiFp)(this.configuration).rootGet(options).then((request) => request(this.axios, this.basePath));
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
exports.DefaultApi = DefaultApi;
|
|
699
|
+
/**
|
|
700
|
+
* PlanApi - axios parameter creator
|
|
701
|
+
*/
|
|
702
|
+
const PlanApiAxiosParamCreator = function (configuration) {
|
|
703
|
+
return {
|
|
704
|
+
/**
|
|
705
|
+
*
|
|
706
|
+
* @param {string} projectId
|
|
707
|
+
* @param {string} environment
|
|
708
|
+
* @param {string} name
|
|
709
|
+
* @param {*} [options] Override http request option.
|
|
710
|
+
* @throws {RequiredError}
|
|
711
|
+
*/
|
|
712
|
+
planByNameGet: (projectId_1, environment_1, name_1, ...args_1) => __awaiter(this, [projectId_1, environment_1, name_1, ...args_1], void 0, function* (projectId, environment, name, options = {}) {
|
|
713
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
714
|
+
(0, common_1.assertParamExists)('planByNameGet', 'projectId', projectId);
|
|
715
|
+
// verify required parameter 'environment' is not null or undefined
|
|
716
|
+
(0, common_1.assertParamExists)('planByNameGet', 'environment', environment);
|
|
717
|
+
// verify required parameter 'name' is not null or undefined
|
|
718
|
+
(0, common_1.assertParamExists)('planByNameGet', 'name', name);
|
|
719
|
+
const localVarPath = `/plan/by-name`;
|
|
632
720
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
633
721
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
634
722
|
let baseOptions;
|
|
@@ -638,12 +726,15 @@ const ConfigApiAxiosParamCreator = function (configuration) {
|
|
|
638
726
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
639
727
|
const localVarHeaderParameter = {};
|
|
640
728
|
const localVarQueryParameter = {};
|
|
641
|
-
if (
|
|
642
|
-
localVarQueryParameter['
|
|
729
|
+
if (projectId !== undefined) {
|
|
730
|
+
localVarQueryParameter['projectId'] = projectId;
|
|
643
731
|
}
|
|
644
732
|
if (environment !== undefined) {
|
|
645
733
|
localVarQueryParameter['environment'] = environment;
|
|
646
734
|
}
|
|
735
|
+
if (name !== undefined) {
|
|
736
|
+
localVarQueryParameter['name'] = name;
|
|
737
|
+
}
|
|
647
738
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
648
739
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
649
740
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -655,32 +746,36 @@ const ConfigApiAxiosParamCreator = function (configuration) {
|
|
|
655
746
|
}),
|
|
656
747
|
/**
|
|
657
748
|
*
|
|
658
|
-
* @param {string}
|
|
659
|
-
* @param {string} environment
|
|
660
|
-
* @param {
|
|
749
|
+
* @param {string} [projectId]
|
|
750
|
+
* @param {string} [environment]
|
|
751
|
+
* @param {number} [limit]
|
|
752
|
+
* @param {number} [offset]
|
|
661
753
|
* @param {*} [options] Override http request option.
|
|
662
754
|
* @throws {RequiredError}
|
|
663
755
|
*/
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
(0, common_1.assertParamExists)('configOrganizationIdEnvironmentTargetsTargetKeyDelete', 'organizationId', organizationId);
|
|
667
|
-
// verify required parameter 'environment' is not null or undefined
|
|
668
|
-
(0, common_1.assertParamExists)('configOrganizationIdEnvironmentTargetsTargetKeyDelete', 'environment', environment);
|
|
669
|
-
// verify required parameter 'targetKey' is not null or undefined
|
|
670
|
-
(0, common_1.assertParamExists)('configOrganizationIdEnvironmentTargetsTargetKeyDelete', 'targetKey', targetKey);
|
|
671
|
-
const localVarPath = `/config/{organizationId}/{environment}/targets/{targetKey}`
|
|
672
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
673
|
-
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)))
|
|
674
|
-
.replace(`{${"targetKey"}}`, encodeURIComponent(String(targetKey)));
|
|
756
|
+
planGet: (projectId_1, environment_1, limit_1, offset_1, ...args_1) => __awaiter(this, [projectId_1, environment_1, limit_1, offset_1, ...args_1], void 0, function* (projectId, environment, limit, offset, options = {}) {
|
|
757
|
+
const localVarPath = `/plan/`;
|
|
675
758
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
676
759
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
677
760
|
let baseOptions;
|
|
678
761
|
if (configuration) {
|
|
679
762
|
baseOptions = configuration.baseOptions;
|
|
680
763
|
}
|
|
681
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
764
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
682
765
|
const localVarHeaderParameter = {};
|
|
683
766
|
const localVarQueryParameter = {};
|
|
767
|
+
if (projectId !== undefined) {
|
|
768
|
+
localVarQueryParameter['projectId'] = projectId;
|
|
769
|
+
}
|
|
770
|
+
if (environment !== undefined) {
|
|
771
|
+
localVarQueryParameter['environment'] = environment;
|
|
772
|
+
}
|
|
773
|
+
if (limit !== undefined) {
|
|
774
|
+
localVarQueryParameter['limit'] = limit;
|
|
775
|
+
}
|
|
776
|
+
if (offset !== undefined) {
|
|
777
|
+
localVarQueryParameter['offset'] = offset;
|
|
778
|
+
}
|
|
684
779
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
685
780
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
686
781
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -692,30 +787,22 @@ const ConfigApiAxiosParamCreator = function (configuration) {
|
|
|
692
787
|
}),
|
|
693
788
|
/**
|
|
694
789
|
*
|
|
695
|
-
* @param {string}
|
|
696
|
-
* @param {string} environment
|
|
697
|
-
* @param {string} targetKey
|
|
790
|
+
* @param {string} id
|
|
698
791
|
* @param {*} [options] Override http request option.
|
|
699
792
|
* @throws {RequiredError}
|
|
700
793
|
*/
|
|
701
|
-
|
|
702
|
-
// verify required parameter '
|
|
703
|
-
(0, common_1.assertParamExists)('
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
// verify required parameter 'targetKey' is not null or undefined
|
|
707
|
-
(0, common_1.assertParamExists)('configOrganizationIdEnvironmentTargetsTargetKeyGet', 'targetKey', targetKey);
|
|
708
|
-
const localVarPath = `/config/{organizationId}/{environment}/targets/{targetKey}`
|
|
709
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
710
|
-
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)))
|
|
711
|
-
.replace(`{${"targetKey"}}`, encodeURIComponent(String(targetKey)));
|
|
794
|
+
planIdDelete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
795
|
+
// verify required parameter 'id' is not null or undefined
|
|
796
|
+
(0, common_1.assertParamExists)('planIdDelete', 'id', id);
|
|
797
|
+
const localVarPath = `/plan/{id}`
|
|
798
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
712
799
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
713
800
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
714
801
|
let baseOptions;
|
|
715
802
|
if (configuration) {
|
|
716
803
|
baseOptions = configuration.baseOptions;
|
|
717
804
|
}
|
|
718
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
805
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
719
806
|
const localVarHeaderParameter = {};
|
|
720
807
|
const localVarQueryParameter = {};
|
|
721
808
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
@@ -729,26 +816,18 @@ const ConfigApiAxiosParamCreator = function (configuration) {
|
|
|
729
816
|
}),
|
|
730
817
|
/**
|
|
731
818
|
*
|
|
732
|
-
* @param {string}
|
|
733
|
-
* @param {
|
|
734
|
-
* @param {string} targetKey
|
|
735
|
-
* @param {ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest} configOrganizationIdEnvironmentTargetsTargetKeyPutRequest
|
|
819
|
+
* @param {string} id
|
|
820
|
+
* @param {PlanPostRequest} planPostRequest
|
|
736
821
|
* @param {*} [options] Override http request option.
|
|
737
822
|
* @throws {RequiredError}
|
|
738
823
|
*/
|
|
739
|
-
|
|
740
|
-
// verify required parameter '
|
|
741
|
-
(0, common_1.assertParamExists)('
|
|
742
|
-
// verify required parameter '
|
|
743
|
-
(0, common_1.assertParamExists)('
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
// verify required parameter 'configOrganizationIdEnvironmentTargetsTargetKeyPutRequest' is not null or undefined
|
|
747
|
-
(0, common_1.assertParamExists)('configOrganizationIdEnvironmentTargetsTargetKeyPut', 'configOrganizationIdEnvironmentTargetsTargetKeyPutRequest', configOrganizationIdEnvironmentTargetsTargetKeyPutRequest);
|
|
748
|
-
const localVarPath = `/config/{organizationId}/{environment}/targets/{targetKey}`
|
|
749
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
750
|
-
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)))
|
|
751
|
-
.replace(`{${"targetKey"}}`, encodeURIComponent(String(targetKey)));
|
|
824
|
+
planIdPut: (id_1, planPostRequest_1, ...args_1) => __awaiter(this, [id_1, planPostRequest_1, ...args_1], void 0, function* (id, planPostRequest, options = {}) {
|
|
825
|
+
// verify required parameter 'id' is not null or undefined
|
|
826
|
+
(0, common_1.assertParamExists)('planIdPut', 'id', id);
|
|
827
|
+
// verify required parameter 'planPostRequest' is not null or undefined
|
|
828
|
+
(0, common_1.assertParamExists)('planIdPut', 'planPostRequest', planPostRequest);
|
|
829
|
+
const localVarPath = `/plan/{id}`
|
|
830
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
752
831
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
753
832
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
754
833
|
let baseOptions;
|
|
@@ -763,7 +842,7 @@ const ConfigApiAxiosParamCreator = function (configuration) {
|
|
|
763
842
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
764
843
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
765
844
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
766
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
845
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(planPostRequest, localVarRequestOptions, configuration);
|
|
767
846
|
return {
|
|
768
847
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
769
848
|
options: localVarRequestOptions,
|
|
@@ -771,36 +850,29 @@ const ConfigApiAxiosParamCreator = function (configuration) {
|
|
|
771
850
|
}),
|
|
772
851
|
/**
|
|
773
852
|
*
|
|
774
|
-
* @param {
|
|
775
|
-
* @param {string} environment
|
|
853
|
+
* @param {PlanPostRequest} planPostRequest
|
|
776
854
|
* @param {*} [options] Override http request option.
|
|
777
855
|
* @throws {RequiredError}
|
|
778
856
|
*/
|
|
779
|
-
|
|
780
|
-
// verify required parameter '
|
|
781
|
-
(0, common_1.assertParamExists)('
|
|
782
|
-
|
|
783
|
-
(0, common_1.assertParamExists)('configSingleGet', 'environment', environment);
|
|
784
|
-
const localVarPath = `/config/single`;
|
|
857
|
+
planPost: (planPostRequest_1, ...args_1) => __awaiter(this, [planPostRequest_1, ...args_1], void 0, function* (planPostRequest, options = {}) {
|
|
858
|
+
// verify required parameter 'planPostRequest' is not null or undefined
|
|
859
|
+
(0, common_1.assertParamExists)('planPost', 'planPostRequest', planPostRequest);
|
|
860
|
+
const localVarPath = `/plan/`;
|
|
785
861
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
786
862
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
787
863
|
let baseOptions;
|
|
788
864
|
if (configuration) {
|
|
789
865
|
baseOptions = configuration.baseOptions;
|
|
790
866
|
}
|
|
791
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
867
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
792
868
|
const localVarHeaderParameter = {};
|
|
793
869
|
const localVarQueryParameter = {};
|
|
794
|
-
|
|
795
|
-
localVarQueryParameter['organizationId'] = organizationId;
|
|
796
|
-
}
|
|
797
|
-
if (environment !== undefined) {
|
|
798
|
-
localVarQueryParameter['environment'] = environment;
|
|
799
|
-
}
|
|
870
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
800
871
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
801
872
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
802
873
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
803
874
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
875
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(planPostRequest, localVarRequestOptions, configuration);
|
|
804
876
|
return {
|
|
805
877
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
806
878
|
options: localVarRequestOptions,
|
|
@@ -808,475 +880,211 @@ const ConfigApiAxiosParamCreator = function (configuration) {
|
|
|
808
880
|
}),
|
|
809
881
|
};
|
|
810
882
|
};
|
|
811
|
-
exports.
|
|
883
|
+
exports.PlanApiAxiosParamCreator = PlanApiAxiosParamCreator;
|
|
812
884
|
/**
|
|
813
|
-
*
|
|
885
|
+
* PlanApi - functional programming interface
|
|
814
886
|
*/
|
|
815
|
-
const
|
|
816
|
-
const localVarAxiosParamCreator = (0, exports.
|
|
887
|
+
const PlanApiFp = function (configuration) {
|
|
888
|
+
const localVarAxiosParamCreator = (0, exports.PlanApiAxiosParamCreator)(configuration);
|
|
817
889
|
return {
|
|
818
890
|
/**
|
|
819
891
|
*
|
|
820
|
-
* @param {string}
|
|
821
|
-
* @param {string}
|
|
892
|
+
* @param {string} projectId
|
|
893
|
+
* @param {string} environment
|
|
894
|
+
* @param {string} name
|
|
822
895
|
* @param {*} [options] Override http request option.
|
|
823
896
|
* @throws {RequiredError}
|
|
824
897
|
*/
|
|
825
|
-
|
|
898
|
+
planByNameGet(projectId, environment, name, options) {
|
|
826
899
|
return __awaiter(this, void 0, void 0, function* () {
|
|
827
900
|
var _a, _b, _c;
|
|
828
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
901
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.planByNameGet(projectId, environment, name, options);
|
|
829
902
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
830
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
903
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlanApi.planByNameGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
831
904
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
832
905
|
});
|
|
833
906
|
},
|
|
834
907
|
/**
|
|
835
908
|
*
|
|
836
|
-
* @param {string}
|
|
837
|
-
* @param {string} environment
|
|
838
|
-
* @param {
|
|
909
|
+
* @param {string} [projectId]
|
|
910
|
+
* @param {string} [environment]
|
|
911
|
+
* @param {number} [limit]
|
|
912
|
+
* @param {number} [offset]
|
|
839
913
|
* @param {*} [options] Override http request option.
|
|
840
914
|
* @throws {RequiredError}
|
|
841
915
|
*/
|
|
842
|
-
|
|
916
|
+
planGet(projectId, environment, limit, offset, options) {
|
|
843
917
|
return __awaiter(this, void 0, void 0, function* () {
|
|
844
918
|
var _a, _b, _c;
|
|
845
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
919
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.planGet(projectId, environment, limit, offset, options);
|
|
846
920
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
847
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
921
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlanApi.planGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
848
922
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
849
923
|
});
|
|
850
924
|
},
|
|
851
925
|
/**
|
|
852
926
|
*
|
|
853
|
-
* @param {string}
|
|
854
|
-
* @param {string} environment
|
|
855
|
-
* @param {string} targetKey
|
|
927
|
+
* @param {string} id
|
|
856
928
|
* @param {*} [options] Override http request option.
|
|
857
929
|
* @throws {RequiredError}
|
|
858
930
|
*/
|
|
859
|
-
|
|
931
|
+
planIdDelete(id, options) {
|
|
860
932
|
return __awaiter(this, void 0, void 0, function* () {
|
|
861
933
|
var _a, _b, _c;
|
|
862
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
934
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.planIdDelete(id, options);
|
|
863
935
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
864
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
936
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlanApi.planIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
865
937
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
866
938
|
});
|
|
867
939
|
},
|
|
868
940
|
/**
|
|
869
941
|
*
|
|
870
|
-
* @param {string}
|
|
871
|
-
* @param {
|
|
872
|
-
* @param {string} targetKey
|
|
873
|
-
* @param {ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest} configOrganizationIdEnvironmentTargetsTargetKeyPutRequest
|
|
942
|
+
* @param {string} id
|
|
943
|
+
* @param {PlanPostRequest} planPostRequest
|
|
874
944
|
* @param {*} [options] Override http request option.
|
|
875
945
|
* @throws {RequiredError}
|
|
876
946
|
*/
|
|
877
|
-
|
|
947
|
+
planIdPut(id, planPostRequest, options) {
|
|
878
948
|
return __awaiter(this, void 0, void 0, function* () {
|
|
879
949
|
var _a, _b, _c;
|
|
880
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
950
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.planIdPut(id, planPostRequest, options);
|
|
881
951
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
882
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
952
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlanApi.planIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
883
953
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
884
954
|
});
|
|
885
955
|
},
|
|
886
956
|
/**
|
|
887
957
|
*
|
|
888
|
-
* @param {
|
|
889
|
-
* @param {string} environment
|
|
958
|
+
* @param {PlanPostRequest} planPostRequest
|
|
890
959
|
* @param {*} [options] Override http request option.
|
|
891
960
|
* @throws {RequiredError}
|
|
892
961
|
*/
|
|
893
|
-
|
|
962
|
+
planPost(planPostRequest, options) {
|
|
894
963
|
return __awaiter(this, void 0, void 0, function* () {
|
|
895
964
|
var _a, _b, _c;
|
|
896
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
965
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.planPost(planPostRequest, options);
|
|
897
966
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
898
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
967
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlanApi.planPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
899
968
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
900
969
|
});
|
|
901
970
|
},
|
|
902
971
|
};
|
|
903
972
|
};
|
|
904
|
-
exports.
|
|
973
|
+
exports.PlanApiFp = PlanApiFp;
|
|
905
974
|
/**
|
|
906
|
-
*
|
|
975
|
+
* PlanApi - factory interface
|
|
907
976
|
*/
|
|
908
|
-
const
|
|
909
|
-
const localVarFp = (0, exports.
|
|
977
|
+
const PlanApiFactory = function (configuration, basePath, axios) {
|
|
978
|
+
const localVarFp = (0, exports.PlanApiFp)(configuration);
|
|
910
979
|
return {
|
|
911
980
|
/**
|
|
912
981
|
*
|
|
913
|
-
* @param {string}
|
|
914
|
-
* @param {string}
|
|
982
|
+
* @param {string} projectId
|
|
983
|
+
* @param {string} environment
|
|
984
|
+
* @param {string} name
|
|
915
985
|
* @param {*} [options] Override http request option.
|
|
916
986
|
* @throws {RequiredError}
|
|
917
987
|
*/
|
|
918
|
-
|
|
919
|
-
return localVarFp.
|
|
988
|
+
planByNameGet(projectId, environment, name, options) {
|
|
989
|
+
return localVarFp.planByNameGet(projectId, environment, name, options).then((request) => request(axios, basePath));
|
|
920
990
|
},
|
|
921
991
|
/**
|
|
922
992
|
*
|
|
923
|
-
* @param {string}
|
|
924
|
-
* @param {string} environment
|
|
925
|
-
* @param {
|
|
993
|
+
* @param {string} [projectId]
|
|
994
|
+
* @param {string} [environment]
|
|
995
|
+
* @param {number} [limit]
|
|
996
|
+
* @param {number} [offset]
|
|
926
997
|
* @param {*} [options] Override http request option.
|
|
927
998
|
* @throws {RequiredError}
|
|
928
999
|
*/
|
|
929
|
-
|
|
930
|
-
return localVarFp.
|
|
1000
|
+
planGet(projectId, environment, limit, offset, options) {
|
|
1001
|
+
return localVarFp.planGet(projectId, environment, limit, offset, options).then((request) => request(axios, basePath));
|
|
931
1002
|
},
|
|
932
1003
|
/**
|
|
933
1004
|
*
|
|
934
|
-
* @param {string}
|
|
935
|
-
* @param {string} environment
|
|
936
|
-
* @param {string} targetKey
|
|
1005
|
+
* @param {string} id
|
|
937
1006
|
* @param {*} [options] Override http request option.
|
|
938
1007
|
* @throws {RequiredError}
|
|
939
1008
|
*/
|
|
940
|
-
|
|
941
|
-
return localVarFp.
|
|
1009
|
+
planIdDelete(id, options) {
|
|
1010
|
+
return localVarFp.planIdDelete(id, options).then((request) => request(axios, basePath));
|
|
942
1011
|
},
|
|
943
1012
|
/**
|
|
944
1013
|
*
|
|
945
|
-
* @param {string}
|
|
946
|
-
* @param {
|
|
947
|
-
* @param {string} targetKey
|
|
948
|
-
* @param {ConfigOrganizationIdEnvironmentTargetsTargetKeyPutRequest} configOrganizationIdEnvironmentTargetsTargetKeyPutRequest
|
|
1014
|
+
* @param {string} id
|
|
1015
|
+
* @param {PlanPostRequest} planPostRequest
|
|
949
1016
|
* @param {*} [options] Override http request option.
|
|
950
1017
|
* @throws {RequiredError}
|
|
951
1018
|
*/
|
|
952
|
-
|
|
953
|
-
return localVarFp.
|
|
1019
|
+
planIdPut(id, planPostRequest, options) {
|
|
1020
|
+
return localVarFp.planIdPut(id, planPostRequest, options).then((request) => request(axios, basePath));
|
|
954
1021
|
},
|
|
955
1022
|
/**
|
|
956
1023
|
*
|
|
957
|
-
* @param {
|
|
958
|
-
* @param {string} environment
|
|
1024
|
+
* @param {PlanPostRequest} planPostRequest
|
|
959
1025
|
* @param {*} [options] Override http request option.
|
|
960
1026
|
* @throws {RequiredError}
|
|
961
1027
|
*/
|
|
962
|
-
|
|
963
|
-
return localVarFp.
|
|
1028
|
+
planPost(planPostRequest, options) {
|
|
1029
|
+
return localVarFp.planPost(planPostRequest, options).then((request) => request(axios, basePath));
|
|
964
1030
|
},
|
|
965
1031
|
};
|
|
966
1032
|
};
|
|
967
|
-
exports.
|
|
1033
|
+
exports.PlanApiFactory = PlanApiFactory;
|
|
968
1034
|
/**
|
|
969
|
-
*
|
|
1035
|
+
* PlanApi - object-oriented interface
|
|
970
1036
|
*/
|
|
971
|
-
class
|
|
972
|
-
/**
|
|
973
|
-
*
|
|
974
|
-
* @param {string} [organizationId]
|
|
975
|
-
* @param {string} [environment]
|
|
976
|
-
* @param {*} [options] Override http request option.
|
|
977
|
-
* @throws {RequiredError}
|
|
978
|
-
*/
|
|
979
|
-
configGet(organizationId, environment, options) {
|
|
980
|
-
return (0, exports.ConfigApiFp)(this.configuration).configGet(organizationId, environment, options).then((request) => request(this.axios, this.basePath));
|
|
981
|
-
}
|
|
982
|
-
/**
|
|
983
|
-
*
|
|
984
|
-
* @param {string} organizationId
|
|
985
|
-
* @param {string} environment
|
|
986
|
-
* @param {string} targetKey
|
|
987
|
-
* @param {*} [options] Override http request option.
|
|
988
|
-
* @throws {RequiredError}
|
|
989
|
-
*/
|
|
990
|
-
configOrganizationIdEnvironmentTargetsTargetKeyDelete(organizationId, environment, targetKey, options) {
|
|
991
|
-
return (0, exports.ConfigApiFp)(this.configuration).configOrganizationIdEnvironmentTargetsTargetKeyDelete(organizationId, environment, targetKey, options).then((request) => request(this.axios, this.basePath));
|
|
992
|
-
}
|
|
1037
|
+
class PlanApi extends base_1.BaseAPI {
|
|
993
1038
|
/**
|
|
994
1039
|
*
|
|
995
|
-
* @param {string}
|
|
1040
|
+
* @param {string} projectId
|
|
996
1041
|
* @param {string} environment
|
|
997
|
-
* @param {string}
|
|
1042
|
+
* @param {string} name
|
|
998
1043
|
* @param {*} [options] Override http request option.
|
|
999
1044
|
* @throws {RequiredError}
|
|
1000
1045
|
*/
|
|
1001
|
-
|
|
1002
|
-
return (0, exports.
|
|
1046
|
+
planByNameGet(projectId, environment, name, options) {
|
|
1047
|
+
return (0, exports.PlanApiFp)(this.configuration).planByNameGet(projectId, environment, name, options).then((request) => request(this.axios, this.basePath));
|
|
1003
1048
|
}
|
|
1004
1049
|
/**
|
|
1005
1050
|
*
|
|
1006
|
-
* @param {string}
|
|
1007
|
-
* @param {string} environment
|
|
1008
|
-
* @param {
|
|
1009
|
-
* @param {
|
|
1051
|
+
* @param {string} [projectId]
|
|
1052
|
+
* @param {string} [environment]
|
|
1053
|
+
* @param {number} [limit]
|
|
1054
|
+
* @param {number} [offset]
|
|
1010
1055
|
* @param {*} [options] Override http request option.
|
|
1011
1056
|
* @throws {RequiredError}
|
|
1012
1057
|
*/
|
|
1013
|
-
|
|
1014
|
-
return (0, exports.
|
|
1058
|
+
planGet(projectId, environment, limit, offset, options) {
|
|
1059
|
+
return (0, exports.PlanApiFp)(this.configuration).planGet(projectId, environment, limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
1015
1060
|
}
|
|
1016
1061
|
/**
|
|
1017
1062
|
*
|
|
1018
|
-
* @param {string}
|
|
1019
|
-
* @param {string} environment
|
|
1020
|
-
* @param {*} [options] Override http request option.
|
|
1021
|
-
* @throws {RequiredError}
|
|
1022
|
-
*/
|
|
1023
|
-
configSingleGet(organizationId, environment, options) {
|
|
1024
|
-
return (0, exports.ConfigApiFp)(this.configuration).configSingleGet(organizationId, environment, options).then((request) => request(this.axios, this.basePath));
|
|
1025
|
-
}
|
|
1026
|
-
}
|
|
1027
|
-
exports.ConfigApi = ConfigApi;
|
|
1028
|
-
/**
|
|
1029
|
-
* DefaultApi - axios parameter creator
|
|
1030
|
-
*/
|
|
1031
|
-
const DefaultApiAxiosParamCreator = function (configuration) {
|
|
1032
|
-
return {
|
|
1033
|
-
/**
|
|
1034
|
-
*
|
|
1035
|
-
* @param {*} [options] Override http request option.
|
|
1036
|
-
* @throws {RequiredError}
|
|
1037
|
-
*/
|
|
1038
|
-
rootGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
1039
|
-
const localVarPath = `/`;
|
|
1040
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1041
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1042
|
-
let baseOptions;
|
|
1043
|
-
if (configuration) {
|
|
1044
|
-
baseOptions = configuration.baseOptions;
|
|
1045
|
-
}
|
|
1046
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1047
|
-
const localVarHeaderParameter = {};
|
|
1048
|
-
const localVarQueryParameter = {};
|
|
1049
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1050
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1051
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1052
|
-
return {
|
|
1053
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1054
|
-
options: localVarRequestOptions,
|
|
1055
|
-
};
|
|
1056
|
-
}),
|
|
1057
|
-
};
|
|
1058
|
-
};
|
|
1059
|
-
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
1060
|
-
/**
|
|
1061
|
-
* DefaultApi - functional programming interface
|
|
1062
|
-
*/
|
|
1063
|
-
const DefaultApiFp = function (configuration) {
|
|
1064
|
-
const localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
|
|
1065
|
-
return {
|
|
1066
|
-
/**
|
|
1067
|
-
*
|
|
1068
|
-
* @param {*} [options] Override http request option.
|
|
1069
|
-
* @throws {RequiredError}
|
|
1070
|
-
*/
|
|
1071
|
-
rootGet(options) {
|
|
1072
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1073
|
-
var _a, _b, _c;
|
|
1074
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.rootGet(options);
|
|
1075
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1076
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.rootGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1077
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1078
|
-
});
|
|
1079
|
-
},
|
|
1080
|
-
};
|
|
1081
|
-
};
|
|
1082
|
-
exports.DefaultApiFp = DefaultApiFp;
|
|
1083
|
-
/**
|
|
1084
|
-
* DefaultApi - factory interface
|
|
1085
|
-
*/
|
|
1086
|
-
const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
1087
|
-
const localVarFp = (0, exports.DefaultApiFp)(configuration);
|
|
1088
|
-
return {
|
|
1089
|
-
/**
|
|
1090
|
-
*
|
|
1091
|
-
* @param {*} [options] Override http request option.
|
|
1092
|
-
* @throws {RequiredError}
|
|
1093
|
-
*/
|
|
1094
|
-
rootGet(options) {
|
|
1095
|
-
return localVarFp.rootGet(options).then((request) => request(axios, basePath));
|
|
1096
|
-
},
|
|
1097
|
-
};
|
|
1098
|
-
};
|
|
1099
|
-
exports.DefaultApiFactory = DefaultApiFactory;
|
|
1100
|
-
/**
|
|
1101
|
-
* DefaultApi - object-oriented interface
|
|
1102
|
-
*/
|
|
1103
|
-
class DefaultApi extends base_1.BaseAPI {
|
|
1104
|
-
/**
|
|
1105
|
-
*
|
|
1063
|
+
* @param {string} id
|
|
1106
1064
|
* @param {*} [options] Override http request option.
|
|
1107
1065
|
* @throws {RequiredError}
|
|
1108
1066
|
*/
|
|
1109
|
-
|
|
1110
|
-
return (0, exports.
|
|
1067
|
+
planIdDelete(id, options) {
|
|
1068
|
+
return (0, exports.PlanApiFp)(this.configuration).planIdDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
1111
1069
|
}
|
|
1112
|
-
}
|
|
1113
|
-
exports.DefaultApi = DefaultApi;
|
|
1114
|
-
/**
|
|
1115
|
-
* PlanApi - axios parameter creator
|
|
1116
|
-
*/
|
|
1117
|
-
const PlanApiAxiosParamCreator = function (configuration) {
|
|
1118
|
-
return {
|
|
1119
|
-
/**
|
|
1120
|
-
*
|
|
1121
|
-
* @param {string} [projectId]
|
|
1122
|
-
* @param {number} [limit]
|
|
1123
|
-
* @param {number} [offset]
|
|
1124
|
-
* @param {*} [options] Override http request option.
|
|
1125
|
-
* @throws {RequiredError}
|
|
1126
|
-
*/
|
|
1127
|
-
planGet: (projectId_1, limit_1, offset_1, ...args_1) => __awaiter(this, [projectId_1, limit_1, offset_1, ...args_1], void 0, function* (projectId, limit, offset, options = {}) {
|
|
1128
|
-
const localVarPath = `/plan/`;
|
|
1129
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1130
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1131
|
-
let baseOptions;
|
|
1132
|
-
if (configuration) {
|
|
1133
|
-
baseOptions = configuration.baseOptions;
|
|
1134
|
-
}
|
|
1135
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1136
|
-
const localVarHeaderParameter = {};
|
|
1137
|
-
const localVarQueryParameter = {};
|
|
1138
|
-
if (projectId !== undefined) {
|
|
1139
|
-
localVarQueryParameter['projectId'] = projectId;
|
|
1140
|
-
}
|
|
1141
|
-
if (limit !== undefined) {
|
|
1142
|
-
localVarQueryParameter['limit'] = limit;
|
|
1143
|
-
}
|
|
1144
|
-
if (offset !== undefined) {
|
|
1145
|
-
localVarQueryParameter['offset'] = offset;
|
|
1146
|
-
}
|
|
1147
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1148
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1149
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1150
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1151
|
-
return {
|
|
1152
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1153
|
-
options: localVarRequestOptions,
|
|
1154
|
-
};
|
|
1155
|
-
}),
|
|
1156
|
-
/**
|
|
1157
|
-
*
|
|
1158
|
-
* @param {TestPlanV1} [testPlanV1]
|
|
1159
|
-
* @param {*} [options] Override http request option.
|
|
1160
|
-
* @throws {RequiredError}
|
|
1161
|
-
*/
|
|
1162
|
-
planPost: (testPlanV1_1, ...args_1) => __awaiter(this, [testPlanV1_1, ...args_1], void 0, function* (testPlanV1, options = {}) {
|
|
1163
|
-
const localVarPath = `/plan/`;
|
|
1164
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1165
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1166
|
-
let baseOptions;
|
|
1167
|
-
if (configuration) {
|
|
1168
|
-
baseOptions = configuration.baseOptions;
|
|
1169
|
-
}
|
|
1170
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1171
|
-
const localVarHeaderParameter = {};
|
|
1172
|
-
const localVarQueryParameter = {};
|
|
1173
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1174
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1175
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1176
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1177
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1178
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(testPlanV1, localVarRequestOptions, configuration);
|
|
1179
|
-
return {
|
|
1180
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1181
|
-
options: localVarRequestOptions,
|
|
1182
|
-
};
|
|
1183
|
-
}),
|
|
1184
|
-
};
|
|
1185
|
-
};
|
|
1186
|
-
exports.PlanApiAxiosParamCreator = PlanApiAxiosParamCreator;
|
|
1187
|
-
/**
|
|
1188
|
-
* PlanApi - functional programming interface
|
|
1189
|
-
*/
|
|
1190
|
-
const PlanApiFp = function (configuration) {
|
|
1191
|
-
const localVarAxiosParamCreator = (0, exports.PlanApiAxiosParamCreator)(configuration);
|
|
1192
|
-
return {
|
|
1193
|
-
/**
|
|
1194
|
-
*
|
|
1195
|
-
* @param {string} [projectId]
|
|
1196
|
-
* @param {number} [limit]
|
|
1197
|
-
* @param {number} [offset]
|
|
1198
|
-
* @param {*} [options] Override http request option.
|
|
1199
|
-
* @throws {RequiredError}
|
|
1200
|
-
*/
|
|
1201
|
-
planGet(projectId, limit, offset, options) {
|
|
1202
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1203
|
-
var _a, _b, _c;
|
|
1204
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.planGet(projectId, limit, offset, options);
|
|
1205
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1206
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlanApi.planGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1207
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1208
|
-
});
|
|
1209
|
-
},
|
|
1210
|
-
/**
|
|
1211
|
-
*
|
|
1212
|
-
* @param {TestPlanV1} [testPlanV1]
|
|
1213
|
-
* @param {*} [options] Override http request option.
|
|
1214
|
-
* @throws {RequiredError}
|
|
1215
|
-
*/
|
|
1216
|
-
planPost(testPlanV1, options) {
|
|
1217
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1218
|
-
var _a, _b, _c;
|
|
1219
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.planPost(testPlanV1, options);
|
|
1220
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1221
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlanApi.planPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1222
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1223
|
-
});
|
|
1224
|
-
},
|
|
1225
|
-
};
|
|
1226
|
-
};
|
|
1227
|
-
exports.PlanApiFp = PlanApiFp;
|
|
1228
|
-
/**
|
|
1229
|
-
* PlanApi - factory interface
|
|
1230
|
-
*/
|
|
1231
|
-
const PlanApiFactory = function (configuration, basePath, axios) {
|
|
1232
|
-
const localVarFp = (0, exports.PlanApiFp)(configuration);
|
|
1233
|
-
return {
|
|
1234
|
-
/**
|
|
1235
|
-
*
|
|
1236
|
-
* @param {string} [projectId]
|
|
1237
|
-
* @param {number} [limit]
|
|
1238
|
-
* @param {number} [offset]
|
|
1239
|
-
* @param {*} [options] Override http request option.
|
|
1240
|
-
* @throws {RequiredError}
|
|
1241
|
-
*/
|
|
1242
|
-
planGet(projectId, limit, offset, options) {
|
|
1243
|
-
return localVarFp.planGet(projectId, limit, offset, options).then((request) => request(axios, basePath));
|
|
1244
|
-
},
|
|
1245
|
-
/**
|
|
1246
|
-
*
|
|
1247
|
-
* @param {TestPlanV1} [testPlanV1]
|
|
1248
|
-
* @param {*} [options] Override http request option.
|
|
1249
|
-
* @throws {RequiredError}
|
|
1250
|
-
*/
|
|
1251
|
-
planPost(testPlanV1, options) {
|
|
1252
|
-
return localVarFp.planPost(testPlanV1, options).then((request) => request(axios, basePath));
|
|
1253
|
-
},
|
|
1254
|
-
};
|
|
1255
|
-
};
|
|
1256
|
-
exports.PlanApiFactory = PlanApiFactory;
|
|
1257
|
-
/**
|
|
1258
|
-
* PlanApi - object-oriented interface
|
|
1259
|
-
*/
|
|
1260
|
-
class PlanApi extends base_1.BaseAPI {
|
|
1261
1070
|
/**
|
|
1262
1071
|
*
|
|
1263
|
-
* @param {string}
|
|
1264
|
-
* @param {
|
|
1265
|
-
* @param {number} [offset]
|
|
1072
|
+
* @param {string} id
|
|
1073
|
+
* @param {PlanPostRequest} planPostRequest
|
|
1266
1074
|
* @param {*} [options] Override http request option.
|
|
1267
1075
|
* @throws {RequiredError}
|
|
1268
1076
|
*/
|
|
1269
|
-
|
|
1270
|
-
return (0, exports.PlanApiFp)(this.configuration).
|
|
1077
|
+
planIdPut(id, planPostRequest, options) {
|
|
1078
|
+
return (0, exports.PlanApiFp)(this.configuration).planIdPut(id, planPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1271
1079
|
}
|
|
1272
1080
|
/**
|
|
1273
1081
|
*
|
|
1274
|
-
* @param {
|
|
1082
|
+
* @param {PlanPostRequest} planPostRequest
|
|
1275
1083
|
* @param {*} [options] Override http request option.
|
|
1276
1084
|
* @throws {RequiredError}
|
|
1277
1085
|
*/
|
|
1278
|
-
planPost(
|
|
1279
|
-
return (0, exports.PlanApiFp)(this.configuration).planPost(
|
|
1086
|
+
planPost(planPostRequest, options) {
|
|
1087
|
+
return (0, exports.PlanApiFp)(this.configuration).planPost(planPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1280
1088
|
}
|
|
1281
1089
|
}
|
|
1282
1090
|
exports.PlanApi = PlanApi;
|