@orangefox-recovery/foxinternalclient 5.2.5 → 5.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.2.5
7
+ * The version of the OpenAPI document: 5.2.6
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -475,6 +475,12 @@ export const FoxFactoryApiAxiosParamCreator = function (configuration) {
475
475
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
476
476
  const localVarHeaderParameter = {};
477
477
  const localVarQueryParameter = {};
478
+ // authentication oauth2_password required
479
+ // oauth required
480
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2_password", [], configuration);
481
+ // authentication bearer_auth required
482
+ // http bearer authentication required
483
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
478
484
  setSearchParams(localVarUrlObj, localVarQueryParameter);
479
485
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
480
486
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -504,6 +510,12 @@ export const FoxFactoryApiAxiosParamCreator = function (configuration) {
504
510
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
505
511
  const localVarHeaderParameter = {};
506
512
  const localVarQueryParameter = {};
513
+ // authentication oauth2_password required
514
+ // oauth required
515
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2_password", [], configuration);
516
+ // authentication bearer_auth required
517
+ // http bearer authentication required
518
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
507
519
  setSearchParams(localVarUrlObj, localVarQueryParameter);
508
520
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
509
521
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -533,6 +545,12 @@ export const FoxFactoryApiAxiosParamCreator = function (configuration) {
533
545
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
534
546
  const localVarHeaderParameter = {};
535
547
  const localVarQueryParameter = {};
548
+ // authentication oauth2_password required
549
+ // oauth required
550
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2_password", [], configuration);
551
+ // authentication bearer_auth required
552
+ // http bearer authentication required
553
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
536
554
  setSearchParams(localVarUrlObj, localVarQueryParameter);
537
555
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
538
556
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -558,6 +576,12 @@ export const FoxFactoryApiAxiosParamCreator = function (configuration) {
558
576
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
559
577
  const localVarHeaderParameter = {};
560
578
  const localVarQueryParameter = {};
579
+ // authentication oauth2_password required
580
+ // oauth required
581
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2_password", [], configuration);
582
+ // authentication bearer_auth required
583
+ // http bearer authentication required
584
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
561
585
  setSearchParams(localVarUrlObj, localVarQueryParameter);
562
586
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
563
587
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -587,6 +611,12 @@ export const FoxFactoryApiAxiosParamCreator = function (configuration) {
587
611
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
588
612
  const localVarHeaderParameter = {};
589
613
  const localVarQueryParameter = {};
614
+ // authentication oauth2_password required
615
+ // oauth required
616
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2_password", [], configuration);
617
+ // authentication bearer_auth required
618
+ // http bearer authentication required
619
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
590
620
  setSearchParams(localVarUrlObj, localVarQueryParameter);
591
621
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
592
622
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -613,6 +643,12 @@ export const FoxFactoryApiAxiosParamCreator = function (configuration) {
613
643
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
614
644
  const localVarHeaderParameter = {};
615
645
  const localVarQueryParameter = {};
646
+ // authentication oauth2_password required
647
+ // oauth required
648
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2_password", [], configuration);
649
+ // authentication bearer_auth required
650
+ // http bearer authentication required
651
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
616
652
  if (deviceId !== undefined) {
617
653
  localVarQueryParameter['device_id'] = deviceId;
618
654
  }
@@ -644,6 +680,12 @@ export const FoxFactoryApiAxiosParamCreator = function (configuration) {
644
680
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
645
681
  const localVarHeaderParameter = {};
646
682
  const localVarQueryParameter = {};
683
+ // authentication oauth2_password required
684
+ // oauth required
685
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2_password", [], configuration);
686
+ // authentication bearer_auth required
687
+ // http bearer authentication required
688
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
647
689
  localVarHeaderParameter['Content-Type'] = 'application/json';
648
690
  setSearchParams(localVarUrlObj, localVarQueryParameter);
649
691
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -678,6 +720,12 @@ export const FoxFactoryApiAxiosParamCreator = function (configuration) {
678
720
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
679
721
  const localVarHeaderParameter = {};
680
722
  const localVarQueryParameter = {};
723
+ // authentication oauth2_password required
724
+ // oauth required
725
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2_password", [], configuration);
726
+ // authentication bearer_auth required
727
+ // http bearer authentication required
728
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
681
729
  localVarHeaderParameter['Content-Type'] = 'application/json';
682
730
  setSearchParams(localVarUrlObj, localVarQueryParameter);
683
731
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -708,6 +756,12 @@ export const FoxFactoryApiAxiosParamCreator = function (configuration) {
708
756
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
709
757
  const localVarHeaderParameter = {};
710
758
  const localVarQueryParameter = {};
759
+ // authentication oauth2_password required
760
+ // oauth required
761
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2_password", [], configuration);
762
+ // authentication bearer_auth required
763
+ // http bearer authentication required
764
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
711
765
  localVarHeaderParameter['Content-Type'] = 'application/json';
712
766
  setSearchParams(localVarUrlObj, localVarQueryParameter);
713
767
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -746,6 +800,12 @@ export const FoxFactoryApiAxiosParamCreator = function (configuration) {
746
800
  const localVarHeaderParameter = {};
747
801
  const localVarQueryParameter = {};
748
802
  const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
803
+ // authentication oauth2_password required
804
+ // oauth required
805
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2_password", [], configuration);
806
+ // authentication bearer_auth required
807
+ // http bearer authentication required
808
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
749
809
  if (artifact !== undefined) {
750
810
  localVarFormParams.append('artifact', artifact);
751
811
  }
@@ -1346,6 +1406,41 @@ export const InternalApiAxiosParamCreator = function (configuration) {
1346
1406
  options: localVarRequestOptions,
1347
1407
  };
1348
1408
  }),
1409
+ /**
1410
+ * Delete a paste by ID. Requires admin permissions.
1411
+ * @summary Delete Paste
1412
+ * @param {string} pasteId
1413
+ * @param {*} [options] Override http request option.
1414
+ * @throws {RequiredError}
1415
+ */
1416
+ deletePasteInternalPastePasteIdDelete: (pasteId_1, ...args_1) => __awaiter(this, [pasteId_1, ...args_1], void 0, function* (pasteId, options = {}) {
1417
+ // verify required parameter 'pasteId' is not null or undefined
1418
+ assertParamExists('deletePasteInternalPastePasteIdDelete', 'pasteId', pasteId);
1419
+ const localVarPath = `/internal/paste/{paste_id}`
1420
+ .replace(`{${"paste_id"}}`, encodeURIComponent(String(pasteId)));
1421
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1422
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1423
+ let baseOptions;
1424
+ if (configuration) {
1425
+ baseOptions = configuration.baseOptions;
1426
+ }
1427
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
1428
+ const localVarHeaderParameter = {};
1429
+ const localVarQueryParameter = {};
1430
+ // authentication oauth2_password required
1431
+ // oauth required
1432
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2_password", [], configuration);
1433
+ // authentication bearer_auth required
1434
+ // http bearer authentication required
1435
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1436
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1437
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1438
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1439
+ return {
1440
+ url: toPathString(localVarUrlObj),
1441
+ options: localVarRequestOptions,
1442
+ };
1443
+ }),
1349
1444
  /**
1350
1445
  *
1351
1446
  * @summary Delete User
@@ -1935,6 +2030,46 @@ export const InternalApiAxiosParamCreator = function (configuration) {
1935
2030
  options: localVarRequestOptions,
1936
2031
  };
1937
2032
  }),
2033
+ /**
2034
+ * Update a paste by ID. Requires admin permissions.
2035
+ * @summary Update Paste
2036
+ * @param {string} pasteId
2037
+ * @param {PasteInput} pasteInput
2038
+ * @param {*} [options] Override http request option.
2039
+ * @throws {RequiredError}
2040
+ */
2041
+ updatePasteInternalPastePasteIdPut: (pasteId_1, pasteInput_1, ...args_1) => __awaiter(this, [pasteId_1, pasteInput_1, ...args_1], void 0, function* (pasteId, pasteInput, options = {}) {
2042
+ // verify required parameter 'pasteId' is not null or undefined
2043
+ assertParamExists('updatePasteInternalPastePasteIdPut', 'pasteId', pasteId);
2044
+ // verify required parameter 'pasteInput' is not null or undefined
2045
+ assertParamExists('updatePasteInternalPastePasteIdPut', 'pasteInput', pasteInput);
2046
+ const localVarPath = `/internal/paste/{paste_id}`
2047
+ .replace(`{${"paste_id"}}`, encodeURIComponent(String(pasteId)));
2048
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2049
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2050
+ let baseOptions;
2051
+ if (configuration) {
2052
+ baseOptions = configuration.baseOptions;
2053
+ }
2054
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
2055
+ const localVarHeaderParameter = {};
2056
+ const localVarQueryParameter = {};
2057
+ // authentication oauth2_password required
2058
+ // oauth required
2059
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2_password", [], configuration);
2060
+ // authentication bearer_auth required
2061
+ // http bearer authentication required
2062
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2063
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2064
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2065
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2066
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2067
+ localVarRequestOptions.data = serializeDataIfNeeded(pasteInput, localVarRequestOptions, configuration);
2068
+ return {
2069
+ url: toPathString(localVarUrlObj),
2070
+ options: localVarRequestOptions,
2071
+ };
2072
+ }),
1938
2073
  /**
1939
2074
  *
1940
2075
  * @summary Update User
@@ -2016,6 +2151,22 @@ export const InternalApiFp = function (configuration) {
2016
2151
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2017
2152
  });
2018
2153
  },
2154
+ /**
2155
+ * Delete a paste by ID. Requires admin permissions.
2156
+ * @summary Delete Paste
2157
+ * @param {string} pasteId
2158
+ * @param {*} [options] Override http request option.
2159
+ * @throws {RequiredError}
2160
+ */
2161
+ deletePasteInternalPastePasteIdDelete(pasteId, options) {
2162
+ return __awaiter(this, void 0, void 0, function* () {
2163
+ var _a, _b, _c;
2164
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deletePasteInternalPastePasteIdDelete(pasteId, options);
2165
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2166
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InternalApi.deletePasteInternalPastePasteIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2167
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2168
+ });
2169
+ },
2019
2170
  /**
2020
2171
  *
2021
2172
  * @summary Delete User
@@ -2259,6 +2410,23 @@ export const InternalApiFp = function (configuration) {
2259
2410
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2260
2411
  });
2261
2412
  },
2413
+ /**
2414
+ * Update a paste by ID. Requires admin permissions.
2415
+ * @summary Update Paste
2416
+ * @param {string} pasteId
2417
+ * @param {PasteInput} pasteInput
2418
+ * @param {*} [options] Override http request option.
2419
+ * @throws {RequiredError}
2420
+ */
2421
+ updatePasteInternalPastePasteIdPut(pasteId, pasteInput, options) {
2422
+ return __awaiter(this, void 0, void 0, function* () {
2423
+ var _a, _b, _c;
2424
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePasteInternalPastePasteIdPut(pasteId, pasteInput, options);
2425
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2426
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InternalApi.updatePasteInternalPastePasteIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2427
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2428
+ });
2429
+ },
2262
2430
  /**
2263
2431
  *
2264
2432
  * @summary Update User
@@ -2305,6 +2473,16 @@ export const InternalApiFactory = function (configuration, basePath, axios) {
2305
2473
  delReleaseInternalReleasesReleaseIdDelete(releaseId, options) {
2306
2474
  return localVarFp.delReleaseInternalReleasesReleaseIdDelete(releaseId, options).then((request) => request(axios, basePath));
2307
2475
  },
2476
+ /**
2477
+ * Delete a paste by ID. Requires admin permissions.
2478
+ * @summary Delete Paste
2479
+ * @param {string} pasteId
2480
+ * @param {*} [options] Override http request option.
2481
+ * @throws {RequiredError}
2482
+ */
2483
+ deletePasteInternalPastePasteIdDelete(pasteId, options) {
2484
+ return localVarFp.deletePasteInternalPastePasteIdDelete(pasteId, options).then((request) => request(axios, basePath));
2485
+ },
2308
2486
  /**
2309
2487
  *
2310
2488
  * @summary Delete User
@@ -2464,6 +2642,17 @@ export const InternalApiFactory = function (configuration, basePath, axios) {
2464
2642
  updateDeviceInternalDevicesDeviceIdPut(deviceId, deviceUpdateBody, options) {
2465
2643
  return localVarFp.updateDeviceInternalDevicesDeviceIdPut(deviceId, deviceUpdateBody, options).then((request) => request(axios, basePath));
2466
2644
  },
2645
+ /**
2646
+ * Update a paste by ID. Requires admin permissions.
2647
+ * @summary Update Paste
2648
+ * @param {string} pasteId
2649
+ * @param {PasteInput} pasteInput
2650
+ * @param {*} [options] Override http request option.
2651
+ * @throws {RequiredError}
2652
+ */
2653
+ updatePasteInternalPastePasteIdPut(pasteId, pasteInput, options) {
2654
+ return localVarFp.updatePasteInternalPastePasteIdPut(pasteId, pasteInput, options).then((request) => request(axios, basePath));
2655
+ },
2467
2656
  /**
2468
2657
  *
2469
2658
  * @summary Update User
@@ -2506,6 +2695,17 @@ export class InternalApi extends BaseAPI {
2506
2695
  delReleaseInternalReleasesReleaseIdDelete(releaseId, options) {
2507
2696
  return InternalApiFp(this.configuration).delReleaseInternalReleasesReleaseIdDelete(releaseId, options).then((request) => request(this.axios, this.basePath));
2508
2697
  }
2698
+ /**
2699
+ * Delete a paste by ID. Requires admin permissions.
2700
+ * @summary Delete Paste
2701
+ * @param {string} pasteId
2702
+ * @param {*} [options] Override http request option.
2703
+ * @throws {RequiredError}
2704
+ * @memberof InternalApi
2705
+ */
2706
+ deletePasteInternalPastePasteIdDelete(pasteId, options) {
2707
+ return InternalApiFp(this.configuration).deletePasteInternalPastePasteIdDelete(pasteId, options).then((request) => request(this.axios, this.basePath));
2708
+ }
2509
2709
  /**
2510
2710
  *
2511
2711
  * @summary Delete User
@@ -2679,6 +2879,18 @@ export class InternalApi extends BaseAPI {
2679
2879
  updateDeviceInternalDevicesDeviceIdPut(deviceId, deviceUpdateBody, options) {
2680
2880
  return InternalApiFp(this.configuration).updateDeviceInternalDevicesDeviceIdPut(deviceId, deviceUpdateBody, options).then((request) => request(this.axios, this.basePath));
2681
2881
  }
2882
+ /**
2883
+ * Update a paste by ID. Requires admin permissions.
2884
+ * @summary Update Paste
2885
+ * @param {string} pasteId
2886
+ * @param {PasteInput} pasteInput
2887
+ * @param {*} [options] Override http request option.
2888
+ * @throws {RequiredError}
2889
+ * @memberof InternalApi
2890
+ */
2891
+ updatePasteInternalPastePasteIdPut(pasteId, pasteInput, options) {
2892
+ return InternalApiFp(this.configuration).updatePasteInternalPastePasteIdPut(pasteId, pasteInput, options).then((request) => request(this.axios, this.basePath));
2893
+ }
2682
2894
  /**
2683
2895
  *
2684
2896
  * @summary Update User
@@ -2692,6 +2904,173 @@ export class InternalApi extends BaseAPI {
2692
2904
  return InternalApiFp(this.configuration).updateUserInternalUsersUserIdPut(userId, userUpdateBody, options).then((request) => request(this.axios, this.basePath));
2693
2905
  }
2694
2906
  }
2907
+ /**
2908
+ * PasteApi - axios parameter creator
2909
+ * @export
2910
+ */
2911
+ export const PasteApiAxiosParamCreator = function (configuration) {
2912
+ return {
2913
+ /**
2914
+ * Create a new paste.
2915
+ * @summary Create Paste
2916
+ * @param {PasteInput} pasteInput
2917
+ * @param {*} [options] Override http request option.
2918
+ * @throws {RequiredError}
2919
+ */
2920
+ createPastePastePost: (pasteInput_1, ...args_1) => __awaiter(this, [pasteInput_1, ...args_1], void 0, function* (pasteInput, options = {}) {
2921
+ // verify required parameter 'pasteInput' is not null or undefined
2922
+ assertParamExists('createPastePastePost', 'pasteInput', pasteInput);
2923
+ const localVarPath = `/paste/`;
2924
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2925
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2926
+ let baseOptions;
2927
+ if (configuration) {
2928
+ baseOptions = configuration.baseOptions;
2929
+ }
2930
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2931
+ const localVarHeaderParameter = {};
2932
+ const localVarQueryParameter = {};
2933
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2934
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2935
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2936
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2937
+ localVarRequestOptions.data = serializeDataIfNeeded(pasteInput, localVarRequestOptions, configuration);
2938
+ return {
2939
+ url: toPathString(localVarUrlObj),
2940
+ options: localVarRequestOptions,
2941
+ };
2942
+ }),
2943
+ /**
2944
+ * Get a paste by ID.
2945
+ * @summary Get Paste
2946
+ * @param {string} pasteId
2947
+ * @param {*} [options] Override http request option.
2948
+ * @throws {RequiredError}
2949
+ */
2950
+ getPastePastePasteIdGet: (pasteId_1, ...args_1) => __awaiter(this, [pasteId_1, ...args_1], void 0, function* (pasteId, options = {}) {
2951
+ // verify required parameter 'pasteId' is not null or undefined
2952
+ assertParamExists('getPastePastePasteIdGet', 'pasteId', pasteId);
2953
+ const localVarPath = `/paste/{paste_id}`
2954
+ .replace(`{${"paste_id"}}`, encodeURIComponent(String(pasteId)));
2955
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2956
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2957
+ let baseOptions;
2958
+ if (configuration) {
2959
+ baseOptions = configuration.baseOptions;
2960
+ }
2961
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2962
+ const localVarHeaderParameter = {};
2963
+ const localVarQueryParameter = {};
2964
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2965
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2966
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2967
+ return {
2968
+ url: toPathString(localVarUrlObj),
2969
+ options: localVarRequestOptions,
2970
+ };
2971
+ }),
2972
+ };
2973
+ };
2974
+ /**
2975
+ * PasteApi - functional programming interface
2976
+ * @export
2977
+ */
2978
+ export const PasteApiFp = function (configuration) {
2979
+ const localVarAxiosParamCreator = PasteApiAxiosParamCreator(configuration);
2980
+ return {
2981
+ /**
2982
+ * Create a new paste.
2983
+ * @summary Create Paste
2984
+ * @param {PasteInput} pasteInput
2985
+ * @param {*} [options] Override http request option.
2986
+ * @throws {RequiredError}
2987
+ */
2988
+ createPastePastePost(pasteInput, options) {
2989
+ return __awaiter(this, void 0, void 0, function* () {
2990
+ var _a, _b, _c;
2991
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createPastePastePost(pasteInput, options);
2992
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2993
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PasteApi.createPastePastePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2994
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2995
+ });
2996
+ },
2997
+ /**
2998
+ * Get a paste by ID.
2999
+ * @summary Get Paste
3000
+ * @param {string} pasteId
3001
+ * @param {*} [options] Override http request option.
3002
+ * @throws {RequiredError}
3003
+ */
3004
+ getPastePastePasteIdGet(pasteId, options) {
3005
+ return __awaiter(this, void 0, void 0, function* () {
3006
+ var _a, _b, _c;
3007
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPastePastePasteIdGet(pasteId, options);
3008
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3009
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PasteApi.getPastePastePasteIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3010
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3011
+ });
3012
+ },
3013
+ };
3014
+ };
3015
+ /**
3016
+ * PasteApi - factory interface
3017
+ * @export
3018
+ */
3019
+ export const PasteApiFactory = function (configuration, basePath, axios) {
3020
+ const localVarFp = PasteApiFp(configuration);
3021
+ return {
3022
+ /**
3023
+ * Create a new paste.
3024
+ * @summary Create Paste
3025
+ * @param {PasteInput} pasteInput
3026
+ * @param {*} [options] Override http request option.
3027
+ * @throws {RequiredError}
3028
+ */
3029
+ createPastePastePost(pasteInput, options) {
3030
+ return localVarFp.createPastePastePost(pasteInput, options).then((request) => request(axios, basePath));
3031
+ },
3032
+ /**
3033
+ * Get a paste by ID.
3034
+ * @summary Get Paste
3035
+ * @param {string} pasteId
3036
+ * @param {*} [options] Override http request option.
3037
+ * @throws {RequiredError}
3038
+ */
3039
+ getPastePastePasteIdGet(pasteId, options) {
3040
+ return localVarFp.getPastePastePasteIdGet(pasteId, options).then((request) => request(axios, basePath));
3041
+ },
3042
+ };
3043
+ };
3044
+ /**
3045
+ * PasteApi - object-oriented interface
3046
+ * @export
3047
+ * @class PasteApi
3048
+ * @extends {BaseAPI}
3049
+ */
3050
+ export class PasteApi extends BaseAPI {
3051
+ /**
3052
+ * Create a new paste.
3053
+ * @summary Create Paste
3054
+ * @param {PasteInput} pasteInput
3055
+ * @param {*} [options] Override http request option.
3056
+ * @throws {RequiredError}
3057
+ * @memberof PasteApi
3058
+ */
3059
+ createPastePastePost(pasteInput, options) {
3060
+ return PasteApiFp(this.configuration).createPastePastePost(pasteInput, options).then((request) => request(this.axios, this.basePath));
3061
+ }
3062
+ /**
3063
+ * Get a paste by ID.
3064
+ * @summary Get Paste
3065
+ * @param {string} pasteId
3066
+ * @param {*} [options] Override http request option.
3067
+ * @throws {RequiredError}
3068
+ * @memberof PasteApi
3069
+ */
3070
+ getPastePastePasteIdGet(pasteId, options) {
3071
+ return PasteApiFp(this.configuration).getPastePastePasteIdGet(pasteId, options).then((request) => request(this.axios, this.basePath));
3072
+ }
3073
+ }
2695
3074
  /**
2696
3075
  * ReleaseApi - axios parameter creator
2697
3076
  * @export
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 5.2.5
5
+ * The version of the OpenAPI document: 5.2.6
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.2.5
7
+ * The version of the OpenAPI document: 5.2.6
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 5.2.5
5
+ * The version of the OpenAPI document: 5.2.6
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.2.5
7
+ * The version of the OpenAPI document: 5.2.6
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 5.2.5
5
+ * The version of the OpenAPI document: 5.2.6
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.2.5
7
+ * The version of the OpenAPI document: 5.2.6
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 5.2.5
5
+ * The version of the OpenAPI document: 5.2.6
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.2.5
7
+ * The version of the OpenAPI document: 5.2.6
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 5.2.5
5
+ * The version of the OpenAPI document: 5.2.6
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Fox API
6
6
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
7
7
  *
8
- * The version of the OpenAPI document: 5.2.5
8
+ * The version of the OpenAPI document: 5.2.6
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
15
15
  **started_at** | **string** | | [default to undefined]
16
16
  **finished_at** | **string** | | [optional] [default to undefined]
17
17
  **has_artifact** | **boolean** | | [default to undefined]
18
- **environment** | **{ [key: string]: any; }** | | [optional] [default to undefined]
18
+ **environment** | **{ [key: string]: string; }** | | [optional] [default to undefined]
19
19
  **logs** | **Array<string>** | | [optional] [default to undefined]
20
20
 
21
21
  ## Example