@teemill/platform 0.31.0 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -2
- package/api.ts +333 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +214 -1
- package/dist/api.js +202 -2
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +214 -1
- package/dist/esm/api.js +197 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/DashboardApi.md +127 -0
- package/docs/DashboardItem.md +30 -0
- package/docs/GetDashboardResponse.md +20 -0
- package/docs/SaveDashboardRequest.md +20 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Platform API
|
|
6
6
|
* Manage Your podOS platform
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.32.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.TermsApi = exports.TermsApiFactory = exports.TermsApiFp = exports.TermsApiAxiosParamCreator = exports.ReviewsApi = exports.ReviewsApiFactory = exports.ReviewsApiFp = exports.ReviewsApiAxiosParamCreator = exports.PlatformApi = exports.PlatformApiFactory = exports.PlatformApiFp = exports.PlatformApiAxiosParamCreator = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.ListOrdersDateFilterTypeEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.EnquiriesApi = exports.EnquiriesApiFactory = exports.EnquiriesApiFp = exports.EnquiriesApiAxiosParamCreator = exports.ListCustomersGenderEnum = exports.ListCustomersSortByEnum = exports.ExportCustomersGenderEnum = exports.ExportCustomersSortByEnum = exports.CustomersApi = exports.CustomersApiFactory = exports.CustomersApiFp = exports.CustomersApiAxiosParamCreator = exports.PaymentAttemptStatusEnum = exports.PaymentAttemptPaymentProviderEnum = exports.PaymentAccountMethodEnum = exports.OrderStatus = exports.EnquiryStatusEnum = exports.CustomsInformationPreRegistrationTypeEnum = exports.AmendmentLogAmendmentTypeEnum = exports.AmendOrderRequestAmendmentsInnerActionEnum = void 0;
|
|
25
|
+
exports.TermsApi = exports.TermsApiFactory = exports.TermsApiFp = exports.TermsApiAxiosParamCreator = exports.ReviewsApi = exports.ReviewsApiFactory = exports.ReviewsApiFp = exports.ReviewsApiAxiosParamCreator = exports.PlatformApi = exports.PlatformApiFactory = exports.PlatformApiFp = exports.PlatformApiAxiosParamCreator = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.ListOrdersDateFilterTypeEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.EnquiriesApi = exports.EnquiriesApiFactory = exports.EnquiriesApiFp = exports.EnquiriesApiAxiosParamCreator = exports.DashboardApi = exports.DashboardApiFactory = exports.DashboardApiFp = exports.DashboardApiAxiosParamCreator = exports.ListCustomersGenderEnum = exports.ListCustomersSortByEnum = exports.ExportCustomersGenderEnum = exports.ExportCustomersSortByEnum = exports.CustomersApi = exports.CustomersApiFactory = exports.CustomersApiFp = exports.CustomersApiAxiosParamCreator = exports.PaymentAttemptStatusEnum = exports.PaymentAttemptPaymentProviderEnum = exports.PaymentAccountMethodEnum = exports.OrderStatus = exports.EnquiryStatusEnum = exports.CustomsInformationPreRegistrationTypeEnum = exports.AmendmentLogAmendmentTypeEnum = exports.AmendOrderRequestAmendmentsInnerActionEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -551,6 +551,206 @@ exports.ListCustomersGenderEnum = {
|
|
|
551
551
|
Male: 'male',
|
|
552
552
|
Female: 'female'
|
|
553
553
|
};
|
|
554
|
+
/**
|
|
555
|
+
* DashboardApi - axios parameter creator
|
|
556
|
+
* @export
|
|
557
|
+
*/
|
|
558
|
+
const DashboardApiAxiosParamCreator = function (configuration) {
|
|
559
|
+
return {
|
|
560
|
+
/**
|
|
561
|
+
*
|
|
562
|
+
* @summary Get the platform\'s dashboard
|
|
563
|
+
* @param {string} project Project unique identifier
|
|
564
|
+
* @param {string} platformId The platform identifier
|
|
565
|
+
* @param {*} [options] Override http request option.
|
|
566
|
+
* @throws {RequiredError}
|
|
567
|
+
*/
|
|
568
|
+
getDashboard: (project_1, platformId_1, ...args_1) => __awaiter(this, [project_1, platformId_1, ...args_1], void 0, function* (project, platformId, options = {}) {
|
|
569
|
+
// verify required parameter 'project' is not null or undefined
|
|
570
|
+
(0, common_1.assertParamExists)('getDashboard', 'project', project);
|
|
571
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
572
|
+
(0, common_1.assertParamExists)('getDashboard', 'platformId', platformId);
|
|
573
|
+
const localVarPath = `/v1/platform/{platformId}/dashboard`
|
|
574
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
|
|
575
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
576
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
577
|
+
let baseOptions;
|
|
578
|
+
if (configuration) {
|
|
579
|
+
baseOptions = configuration.baseOptions;
|
|
580
|
+
}
|
|
581
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
582
|
+
const localVarHeaderParameter = {};
|
|
583
|
+
const localVarQueryParameter = {};
|
|
584
|
+
// authentication session-oauth required
|
|
585
|
+
// oauth required
|
|
586
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
587
|
+
// authentication api-key required
|
|
588
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
589
|
+
if (project !== undefined) {
|
|
590
|
+
localVarQueryParameter['project'] = project;
|
|
591
|
+
}
|
|
592
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
593
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
594
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
595
|
+
return {
|
|
596
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
597
|
+
options: localVarRequestOptions,
|
|
598
|
+
};
|
|
599
|
+
}),
|
|
600
|
+
/**
|
|
601
|
+
*
|
|
602
|
+
* @summary Save the platform\'s dashboard
|
|
603
|
+
* @param {string} project Project unique identifier
|
|
604
|
+
* @param {string} platformId The platform identifier
|
|
605
|
+
* @param {SaveDashboardRequest} saveDashboardRequest Save dashboard
|
|
606
|
+
* @param {*} [options] Override http request option.
|
|
607
|
+
* @throws {RequiredError}
|
|
608
|
+
*/
|
|
609
|
+
saveDashboard: (project_1, platformId_1, saveDashboardRequest_1, ...args_1) => __awaiter(this, [project_1, platformId_1, saveDashboardRequest_1, ...args_1], void 0, function* (project, platformId, saveDashboardRequest, options = {}) {
|
|
610
|
+
// verify required parameter 'project' is not null or undefined
|
|
611
|
+
(0, common_1.assertParamExists)('saveDashboard', 'project', project);
|
|
612
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
613
|
+
(0, common_1.assertParamExists)('saveDashboard', 'platformId', platformId);
|
|
614
|
+
// verify required parameter 'saveDashboardRequest' is not null or undefined
|
|
615
|
+
(0, common_1.assertParamExists)('saveDashboard', 'saveDashboardRequest', saveDashboardRequest);
|
|
616
|
+
const localVarPath = `/v1/platform/{platformId}/dashboard`
|
|
617
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
|
|
618
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
619
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
620
|
+
let baseOptions;
|
|
621
|
+
if (configuration) {
|
|
622
|
+
baseOptions = configuration.baseOptions;
|
|
623
|
+
}
|
|
624
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
625
|
+
const localVarHeaderParameter = {};
|
|
626
|
+
const localVarQueryParameter = {};
|
|
627
|
+
// authentication session-oauth required
|
|
628
|
+
// oauth required
|
|
629
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
630
|
+
// authentication api-key required
|
|
631
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
632
|
+
if (project !== undefined) {
|
|
633
|
+
localVarQueryParameter['project'] = project;
|
|
634
|
+
}
|
|
635
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
636
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
637
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
638
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
639
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(saveDashboardRequest, localVarRequestOptions, configuration);
|
|
640
|
+
return {
|
|
641
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
642
|
+
options: localVarRequestOptions,
|
|
643
|
+
};
|
|
644
|
+
}),
|
|
645
|
+
};
|
|
646
|
+
};
|
|
647
|
+
exports.DashboardApiAxiosParamCreator = DashboardApiAxiosParamCreator;
|
|
648
|
+
/**
|
|
649
|
+
* DashboardApi - functional programming interface
|
|
650
|
+
* @export
|
|
651
|
+
*/
|
|
652
|
+
const DashboardApiFp = function (configuration) {
|
|
653
|
+
const localVarAxiosParamCreator = (0, exports.DashboardApiAxiosParamCreator)(configuration);
|
|
654
|
+
return {
|
|
655
|
+
/**
|
|
656
|
+
*
|
|
657
|
+
* @summary Get the platform\'s dashboard
|
|
658
|
+
* @param {string} project Project unique identifier
|
|
659
|
+
* @param {string} platformId The platform identifier
|
|
660
|
+
* @param {*} [options] Override http request option.
|
|
661
|
+
* @throws {RequiredError}
|
|
662
|
+
*/
|
|
663
|
+
getDashboard(project, platformId, options) {
|
|
664
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
665
|
+
var _a, _b, _c;
|
|
666
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDashboard(project, platformId, options);
|
|
667
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
668
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DashboardApi.getDashboard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
669
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
670
|
+
});
|
|
671
|
+
},
|
|
672
|
+
/**
|
|
673
|
+
*
|
|
674
|
+
* @summary Save the platform\'s dashboard
|
|
675
|
+
* @param {string} project Project unique identifier
|
|
676
|
+
* @param {string} platformId The platform identifier
|
|
677
|
+
* @param {SaveDashboardRequest} saveDashboardRequest Save dashboard
|
|
678
|
+
* @param {*} [options] Override http request option.
|
|
679
|
+
* @throws {RequiredError}
|
|
680
|
+
*/
|
|
681
|
+
saveDashboard(project, platformId, saveDashboardRequest, options) {
|
|
682
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
683
|
+
var _a, _b, _c;
|
|
684
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.saveDashboard(project, platformId, saveDashboardRequest, options);
|
|
685
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
686
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DashboardApi.saveDashboard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
687
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
688
|
+
});
|
|
689
|
+
},
|
|
690
|
+
};
|
|
691
|
+
};
|
|
692
|
+
exports.DashboardApiFp = DashboardApiFp;
|
|
693
|
+
/**
|
|
694
|
+
* DashboardApi - factory interface
|
|
695
|
+
* @export
|
|
696
|
+
*/
|
|
697
|
+
const DashboardApiFactory = function (configuration, basePath, axios) {
|
|
698
|
+
const localVarFp = (0, exports.DashboardApiFp)(configuration);
|
|
699
|
+
return {
|
|
700
|
+
/**
|
|
701
|
+
*
|
|
702
|
+
* @summary Get the platform\'s dashboard
|
|
703
|
+
* @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
|
|
704
|
+
* @param {*} [options] Override http request option.
|
|
705
|
+
* @throws {RequiredError}
|
|
706
|
+
*/
|
|
707
|
+
getDashboard(requestParameters, options) {
|
|
708
|
+
return localVarFp.getDashboard(requestParameters.project, requestParameters.platformId, options).then((request) => request(axios, basePath));
|
|
709
|
+
},
|
|
710
|
+
/**
|
|
711
|
+
*
|
|
712
|
+
* @summary Save the platform\'s dashboard
|
|
713
|
+
* @param {DashboardApiSaveDashboardRequest} requestParameters Request parameters.
|
|
714
|
+
* @param {*} [options] Override http request option.
|
|
715
|
+
* @throws {RequiredError}
|
|
716
|
+
*/
|
|
717
|
+
saveDashboard(requestParameters, options) {
|
|
718
|
+
return localVarFp.saveDashboard(requestParameters.project, requestParameters.platformId, requestParameters.saveDashboardRequest, options).then((request) => request(axios, basePath));
|
|
719
|
+
},
|
|
720
|
+
};
|
|
721
|
+
};
|
|
722
|
+
exports.DashboardApiFactory = DashboardApiFactory;
|
|
723
|
+
/**
|
|
724
|
+
* DashboardApi - object-oriented interface
|
|
725
|
+
* @export
|
|
726
|
+
* @class DashboardApi
|
|
727
|
+
* @extends {BaseAPI}
|
|
728
|
+
*/
|
|
729
|
+
class DashboardApi extends base_1.BaseAPI {
|
|
730
|
+
/**
|
|
731
|
+
*
|
|
732
|
+
* @summary Get the platform\'s dashboard
|
|
733
|
+
* @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
|
|
734
|
+
* @param {*} [options] Override http request option.
|
|
735
|
+
* @throws {RequiredError}
|
|
736
|
+
* @memberof DashboardApi
|
|
737
|
+
*/
|
|
738
|
+
getDashboard(requestParameters, options) {
|
|
739
|
+
return (0, exports.DashboardApiFp)(this.configuration).getDashboard(requestParameters.project, requestParameters.platformId, options).then((request) => request(this.axios, this.basePath));
|
|
740
|
+
}
|
|
741
|
+
/**
|
|
742
|
+
*
|
|
743
|
+
* @summary Save the platform\'s dashboard
|
|
744
|
+
* @param {DashboardApiSaveDashboardRequest} requestParameters Request parameters.
|
|
745
|
+
* @param {*} [options] Override http request option.
|
|
746
|
+
* @throws {RequiredError}
|
|
747
|
+
* @memberof DashboardApi
|
|
748
|
+
*/
|
|
749
|
+
saveDashboard(requestParameters, options) {
|
|
750
|
+
return (0, exports.DashboardApiFp)(this.configuration).saveDashboard(requestParameters.project, requestParameters.platformId, requestParameters.saveDashboardRequest, options).then((request) => request(this.axios, this.basePath));
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
exports.DashboardApi = DashboardApi;
|
|
554
754
|
/**
|
|
555
755
|
* EnquiriesApi - axios parameter creator
|
|
556
756
|
* @export
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.32.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -605,6 +605,51 @@ export declare const CustomsInformationPreRegistrationTypeEnum: {
|
|
|
605
605
|
readonly Ioss: "IOSS";
|
|
606
606
|
};
|
|
607
607
|
export type CustomsInformationPreRegistrationTypeEnum = typeof CustomsInformationPreRegistrationTypeEnum[keyof typeof CustomsInformationPreRegistrationTypeEnum];
|
|
608
|
+
/**
|
|
609
|
+
*
|
|
610
|
+
* @export
|
|
611
|
+
* @interface DashboardItem
|
|
612
|
+
*/
|
|
613
|
+
export interface DashboardItem {
|
|
614
|
+
/**
|
|
615
|
+
*
|
|
616
|
+
* @type {string}
|
|
617
|
+
* @memberof DashboardItem
|
|
618
|
+
*/
|
|
619
|
+
'id': string;
|
|
620
|
+
/**
|
|
621
|
+
*
|
|
622
|
+
* @type {string}
|
|
623
|
+
* @memberof DashboardItem
|
|
624
|
+
*/
|
|
625
|
+
'type': string;
|
|
626
|
+
/**
|
|
627
|
+
*
|
|
628
|
+
* @type {{ [key: string]: any; }}
|
|
629
|
+
* @memberof DashboardItem
|
|
630
|
+
*/
|
|
631
|
+
'properties': {
|
|
632
|
+
[key: string]: any;
|
|
633
|
+
} | null;
|
|
634
|
+
/**
|
|
635
|
+
*
|
|
636
|
+
* @type {boolean}
|
|
637
|
+
* @memberof DashboardItem
|
|
638
|
+
*/
|
|
639
|
+
'published': boolean;
|
|
640
|
+
/**
|
|
641
|
+
*
|
|
642
|
+
* @type {number}
|
|
643
|
+
* @memberof DashboardItem
|
|
644
|
+
*/
|
|
645
|
+
'sortOrder': number;
|
|
646
|
+
/**
|
|
647
|
+
*
|
|
648
|
+
* @type {Array<DashboardItem>}
|
|
649
|
+
* @memberof DashboardItem
|
|
650
|
+
*/
|
|
651
|
+
'items'?: Array<DashboardItem> | null;
|
|
652
|
+
}
|
|
608
653
|
/**
|
|
609
654
|
*
|
|
610
655
|
* @export
|
|
@@ -932,6 +977,19 @@ export interface FulfillmentItem {
|
|
|
932
977
|
*/
|
|
933
978
|
'quantity'?: number;
|
|
934
979
|
}
|
|
980
|
+
/**
|
|
981
|
+
*
|
|
982
|
+
* @export
|
|
983
|
+
* @interface GetDashboardResponse
|
|
984
|
+
*/
|
|
985
|
+
export interface GetDashboardResponse {
|
|
986
|
+
/**
|
|
987
|
+
*
|
|
988
|
+
* @type {Array<DashboardItem>}
|
|
989
|
+
* @memberof GetDashboardResponse
|
|
990
|
+
*/
|
|
991
|
+
'items'?: Array<DashboardItem>;
|
|
992
|
+
}
|
|
935
993
|
/**
|
|
936
994
|
* Image description
|
|
937
995
|
* @export
|
|
@@ -1867,6 +1925,19 @@ export interface ReviewsResponse {
|
|
|
1867
1925
|
*/
|
|
1868
1926
|
'nextPageToken'?: number | null;
|
|
1869
1927
|
}
|
|
1928
|
+
/**
|
|
1929
|
+
*
|
|
1930
|
+
* @export
|
|
1931
|
+
* @interface SaveDashboardRequest
|
|
1932
|
+
*/
|
|
1933
|
+
export interface SaveDashboardRequest {
|
|
1934
|
+
/**
|
|
1935
|
+
*
|
|
1936
|
+
* @type {Array<DashboardItem>}
|
|
1937
|
+
* @memberof SaveDashboardRequest
|
|
1938
|
+
*/
|
|
1939
|
+
'items'?: Array<DashboardItem>;
|
|
1940
|
+
}
|
|
1870
1941
|
/**
|
|
1871
1942
|
*
|
|
1872
1943
|
* @export
|
|
@@ -2669,6 +2740,148 @@ export declare const ListCustomersGenderEnum: {
|
|
|
2669
2740
|
readonly Female: "female";
|
|
2670
2741
|
};
|
|
2671
2742
|
export type ListCustomersGenderEnum = typeof ListCustomersGenderEnum[keyof typeof ListCustomersGenderEnum];
|
|
2743
|
+
/**
|
|
2744
|
+
* DashboardApi - axios parameter creator
|
|
2745
|
+
* @export
|
|
2746
|
+
*/
|
|
2747
|
+
export declare const DashboardApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2748
|
+
/**
|
|
2749
|
+
*
|
|
2750
|
+
* @summary Get the platform\'s dashboard
|
|
2751
|
+
* @param {string} project Project unique identifier
|
|
2752
|
+
* @param {string} platformId The platform identifier
|
|
2753
|
+
* @param {*} [options] Override http request option.
|
|
2754
|
+
* @throws {RequiredError}
|
|
2755
|
+
*/
|
|
2756
|
+
getDashboard: (project: string, platformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2757
|
+
/**
|
|
2758
|
+
*
|
|
2759
|
+
* @summary Save the platform\'s dashboard
|
|
2760
|
+
* @param {string} project Project unique identifier
|
|
2761
|
+
* @param {string} platformId The platform identifier
|
|
2762
|
+
* @param {SaveDashboardRequest} saveDashboardRequest Save dashboard
|
|
2763
|
+
* @param {*} [options] Override http request option.
|
|
2764
|
+
* @throws {RequiredError}
|
|
2765
|
+
*/
|
|
2766
|
+
saveDashboard: (project: string, platformId: string, saveDashboardRequest: SaveDashboardRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2767
|
+
};
|
|
2768
|
+
/**
|
|
2769
|
+
* DashboardApi - functional programming interface
|
|
2770
|
+
* @export
|
|
2771
|
+
*/
|
|
2772
|
+
export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
2773
|
+
/**
|
|
2774
|
+
*
|
|
2775
|
+
* @summary Get the platform\'s dashboard
|
|
2776
|
+
* @param {string} project Project unique identifier
|
|
2777
|
+
* @param {string} platformId The platform identifier
|
|
2778
|
+
* @param {*} [options] Override http request option.
|
|
2779
|
+
* @throws {RequiredError}
|
|
2780
|
+
*/
|
|
2781
|
+
getDashboard(project: string, platformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDashboardResponse>>;
|
|
2782
|
+
/**
|
|
2783
|
+
*
|
|
2784
|
+
* @summary Save the platform\'s dashboard
|
|
2785
|
+
* @param {string} project Project unique identifier
|
|
2786
|
+
* @param {string} platformId The platform identifier
|
|
2787
|
+
* @param {SaveDashboardRequest} saveDashboardRequest Save dashboard
|
|
2788
|
+
* @param {*} [options] Override http request option.
|
|
2789
|
+
* @throws {RequiredError}
|
|
2790
|
+
*/
|
|
2791
|
+
saveDashboard(project: string, platformId: string, saveDashboardRequest: SaveDashboardRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDashboardResponse>>;
|
|
2792
|
+
};
|
|
2793
|
+
/**
|
|
2794
|
+
* DashboardApi - factory interface
|
|
2795
|
+
* @export
|
|
2796
|
+
*/
|
|
2797
|
+
export declare const DashboardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2798
|
+
/**
|
|
2799
|
+
*
|
|
2800
|
+
* @summary Get the platform\'s dashboard
|
|
2801
|
+
* @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
|
|
2802
|
+
* @param {*} [options] Override http request option.
|
|
2803
|
+
* @throws {RequiredError}
|
|
2804
|
+
*/
|
|
2805
|
+
getDashboard(requestParameters: DashboardApiGetDashboardRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDashboardResponse>;
|
|
2806
|
+
/**
|
|
2807
|
+
*
|
|
2808
|
+
* @summary Save the platform\'s dashboard
|
|
2809
|
+
* @param {DashboardApiSaveDashboardRequest} requestParameters Request parameters.
|
|
2810
|
+
* @param {*} [options] Override http request option.
|
|
2811
|
+
* @throws {RequiredError}
|
|
2812
|
+
*/
|
|
2813
|
+
saveDashboard(requestParameters: DashboardApiSaveDashboardRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDashboardResponse>;
|
|
2814
|
+
};
|
|
2815
|
+
/**
|
|
2816
|
+
* Request parameters for getDashboard operation in DashboardApi.
|
|
2817
|
+
* @export
|
|
2818
|
+
* @interface DashboardApiGetDashboardRequest
|
|
2819
|
+
*/
|
|
2820
|
+
export interface DashboardApiGetDashboardRequest {
|
|
2821
|
+
/**
|
|
2822
|
+
* Project unique identifier
|
|
2823
|
+
* @type {string}
|
|
2824
|
+
* @memberof DashboardApiGetDashboard
|
|
2825
|
+
*/
|
|
2826
|
+
readonly project: string;
|
|
2827
|
+
/**
|
|
2828
|
+
* The platform identifier
|
|
2829
|
+
* @type {string}
|
|
2830
|
+
* @memberof DashboardApiGetDashboard
|
|
2831
|
+
*/
|
|
2832
|
+
readonly platformId: string;
|
|
2833
|
+
}
|
|
2834
|
+
/**
|
|
2835
|
+
* Request parameters for saveDashboard operation in DashboardApi.
|
|
2836
|
+
* @export
|
|
2837
|
+
* @interface DashboardApiSaveDashboardRequest
|
|
2838
|
+
*/
|
|
2839
|
+
export interface DashboardApiSaveDashboardRequest {
|
|
2840
|
+
/**
|
|
2841
|
+
* Project unique identifier
|
|
2842
|
+
* @type {string}
|
|
2843
|
+
* @memberof DashboardApiSaveDashboard
|
|
2844
|
+
*/
|
|
2845
|
+
readonly project: string;
|
|
2846
|
+
/**
|
|
2847
|
+
* The platform identifier
|
|
2848
|
+
* @type {string}
|
|
2849
|
+
* @memberof DashboardApiSaveDashboard
|
|
2850
|
+
*/
|
|
2851
|
+
readonly platformId: string;
|
|
2852
|
+
/**
|
|
2853
|
+
* Save dashboard
|
|
2854
|
+
* @type {SaveDashboardRequest}
|
|
2855
|
+
* @memberof DashboardApiSaveDashboard
|
|
2856
|
+
*/
|
|
2857
|
+
readonly saveDashboardRequest: SaveDashboardRequest;
|
|
2858
|
+
}
|
|
2859
|
+
/**
|
|
2860
|
+
* DashboardApi - object-oriented interface
|
|
2861
|
+
* @export
|
|
2862
|
+
* @class DashboardApi
|
|
2863
|
+
* @extends {BaseAPI}
|
|
2864
|
+
*/
|
|
2865
|
+
export declare class DashboardApi extends BaseAPI {
|
|
2866
|
+
/**
|
|
2867
|
+
*
|
|
2868
|
+
* @summary Get the platform\'s dashboard
|
|
2869
|
+
* @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
|
|
2870
|
+
* @param {*} [options] Override http request option.
|
|
2871
|
+
* @throws {RequiredError}
|
|
2872
|
+
* @memberof DashboardApi
|
|
2873
|
+
*/
|
|
2874
|
+
getDashboard(requestParameters: DashboardApiGetDashboardRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDashboardResponse, any>>;
|
|
2875
|
+
/**
|
|
2876
|
+
*
|
|
2877
|
+
* @summary Save the platform\'s dashboard
|
|
2878
|
+
* @param {DashboardApiSaveDashboardRequest} requestParameters Request parameters.
|
|
2879
|
+
* @param {*} [options] Override http request option.
|
|
2880
|
+
* @throws {RequiredError}
|
|
2881
|
+
* @memberof DashboardApi
|
|
2882
|
+
*/
|
|
2883
|
+
saveDashboard(requestParameters: DashboardApiSaveDashboardRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDashboardResponse, any>>;
|
|
2884
|
+
}
|
|
2672
2885
|
/**
|
|
2673
2886
|
* EnquiriesApi - axios parameter creator
|
|
2674
2887
|
* @export
|