@seekora-ai/admin-api 1.0.67 → 1.0.68
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 +3 -2
- package/api.ts +101 -0
- package/dist/api.d.ts +61 -0
- package/dist/api.js +101 -4
- package/dist/esm/api.d.ts +61 -0
- package/dist/esm/api.js +93 -0
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.68.tgz +0 -0
- package/seekora-ai-admin-api-1.0.67.tgz +0 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @seekora-ai/admin-api@1.0.
|
|
1
|
+
## @seekora-ai/admin-api@1.0.68
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @seekora-ai/admin-api@1.0.
|
|
39
|
+
npm install @seekora-ai/admin-api@1.0.68 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -102,6 +102,7 @@ Class | Method | HTTP request | Description
|
|
|
102
102
|
*BillingDashboardApi* | [**adminBillingOrganizationsGet**](docs/BillingDashboardApi.md#adminbillingorganizationsget) | **GET** /admin/billing/organizations | Get organization billing summary
|
|
103
103
|
*BillingDashboardApi* | [**adminBillingOverviewGet**](docs/BillingDashboardApi.md#adminbillingoverviewget) | **GET** /admin/billing/overview | Get billing overview
|
|
104
104
|
*BillingDashboardApi* | [**adminBillingPaymentTransactionsGet**](docs/BillingDashboardApi.md#adminbillingpaymenttransactionsget) | **GET** /admin/billing/payment-transactions | Get payment transactions
|
|
105
|
+
*CommonApi* | [**commonLanguagesGet**](docs/CommonApi.md#commonlanguagesget) | **GET** /common/languages | Get Supported Languages
|
|
105
106
|
*ConnectorsApi* | [**v1ConnectorsSearchIndexGet**](docs/ConnectorsApi.md#v1connectorssearchindexget) | **GET** /v1/connectors/search/{index} | Test search
|
|
106
107
|
*ConnectorsApi* | [**v1ConnectorsSourcesGet**](docs/ConnectorsApi.md#v1connectorssourcesget) | **GET** /v1/connectors/sources | Get all sources
|
|
107
108
|
*ConnectorsApi* | [**v1ConnectorsSourcesPost**](docs/ConnectorsApi.md#v1connectorssourcespost) | **POST** /v1/connectors/sources | Create source
|
package/api.ts
CHANGED
|
@@ -24419,6 +24419,107 @@ export class BillingDashboardApi extends BaseAPI {
|
|
|
24419
24419
|
|
|
24420
24420
|
|
|
24421
24421
|
|
|
24422
|
+
/**
|
|
24423
|
+
* CommonApi - axios parameter creator
|
|
24424
|
+
* @export
|
|
24425
|
+
*/
|
|
24426
|
+
export const CommonApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
24427
|
+
return {
|
|
24428
|
+
/**
|
|
24429
|
+
* Retrieve list of supported languages for query suggestions with language codes, names, and locales
|
|
24430
|
+
* @summary Get Supported Languages
|
|
24431
|
+
* @param {*} [options] Override http request option.
|
|
24432
|
+
* @throws {RequiredError}
|
|
24433
|
+
*/
|
|
24434
|
+
commonLanguagesGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24435
|
+
const localVarPath = `/common/languages`;
|
|
24436
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24437
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24438
|
+
let baseOptions;
|
|
24439
|
+
if (configuration) {
|
|
24440
|
+
baseOptions = configuration.baseOptions;
|
|
24441
|
+
}
|
|
24442
|
+
|
|
24443
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
24444
|
+
const localVarHeaderParameter = {} as any;
|
|
24445
|
+
const localVarQueryParameter = {} as any;
|
|
24446
|
+
|
|
24447
|
+
|
|
24448
|
+
|
|
24449
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24450
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24451
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24452
|
+
|
|
24453
|
+
return {
|
|
24454
|
+
url: toPathString(localVarUrlObj),
|
|
24455
|
+
options: localVarRequestOptions,
|
|
24456
|
+
};
|
|
24457
|
+
},
|
|
24458
|
+
}
|
|
24459
|
+
};
|
|
24460
|
+
|
|
24461
|
+
/**
|
|
24462
|
+
* CommonApi - functional programming interface
|
|
24463
|
+
* @export
|
|
24464
|
+
*/
|
|
24465
|
+
export const CommonApiFp = function(configuration?: Configuration) {
|
|
24466
|
+
const localVarAxiosParamCreator = CommonApiAxiosParamCreator(configuration)
|
|
24467
|
+
return {
|
|
24468
|
+
/**
|
|
24469
|
+
* Retrieve list of supported languages for query suggestions with language codes, names, and locales
|
|
24470
|
+
* @summary Get Supported Languages
|
|
24471
|
+
* @param {*} [options] Override http request option.
|
|
24472
|
+
* @throws {RequiredError}
|
|
24473
|
+
*/
|
|
24474
|
+
async commonLanguagesGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
|
|
24475
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.commonLanguagesGet(options);
|
|
24476
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24477
|
+
const localVarOperationServerBasePath = operationServerMap['CommonApi.commonLanguagesGet']?.[localVarOperationServerIndex]?.url;
|
|
24478
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24479
|
+
},
|
|
24480
|
+
}
|
|
24481
|
+
};
|
|
24482
|
+
|
|
24483
|
+
/**
|
|
24484
|
+
* CommonApi - factory interface
|
|
24485
|
+
* @export
|
|
24486
|
+
*/
|
|
24487
|
+
export const CommonApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
24488
|
+
const localVarFp = CommonApiFp(configuration)
|
|
24489
|
+
return {
|
|
24490
|
+
/**
|
|
24491
|
+
* Retrieve list of supported languages for query suggestions with language codes, names, and locales
|
|
24492
|
+
* @summary Get Supported Languages
|
|
24493
|
+
* @param {*} [options] Override http request option.
|
|
24494
|
+
* @throws {RequiredError}
|
|
24495
|
+
*/
|
|
24496
|
+
commonLanguagesGet(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
|
|
24497
|
+
return localVarFp.commonLanguagesGet(options).then((request) => request(axios, basePath));
|
|
24498
|
+
},
|
|
24499
|
+
};
|
|
24500
|
+
};
|
|
24501
|
+
|
|
24502
|
+
/**
|
|
24503
|
+
* CommonApi - object-oriented interface
|
|
24504
|
+
* @export
|
|
24505
|
+
* @class CommonApi
|
|
24506
|
+
* @extends {BaseAPI}
|
|
24507
|
+
*/
|
|
24508
|
+
export class CommonApi extends BaseAPI {
|
|
24509
|
+
/**
|
|
24510
|
+
* Retrieve list of supported languages for query suggestions with language codes, names, and locales
|
|
24511
|
+
* @summary Get Supported Languages
|
|
24512
|
+
* @param {*} [options] Override http request option.
|
|
24513
|
+
* @throws {RequiredError}
|
|
24514
|
+
* @memberof CommonApi
|
|
24515
|
+
*/
|
|
24516
|
+
public commonLanguagesGet(options?: RawAxiosRequestConfig) {
|
|
24517
|
+
return CommonApiFp(this.configuration).commonLanguagesGet(options).then((request) => request(this.axios, this.basePath));
|
|
24518
|
+
}
|
|
24519
|
+
}
|
|
24520
|
+
|
|
24521
|
+
|
|
24522
|
+
|
|
24422
24523
|
/**
|
|
24423
24524
|
* ConnectorsApi - axios parameter creator
|
|
24424
24525
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -21154,6 +21154,67 @@ export declare class BillingDashboardApi extends BaseAPI {
|
|
|
21154
21154
|
*/
|
|
21155
21155
|
adminBillingPaymentTransactionsGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseArrayBillingServicePaymentTransactionSummary, any, {}>>;
|
|
21156
21156
|
}
|
|
21157
|
+
/**
|
|
21158
|
+
* CommonApi - axios parameter creator
|
|
21159
|
+
* @export
|
|
21160
|
+
*/
|
|
21161
|
+
export declare const CommonApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21162
|
+
/**
|
|
21163
|
+
* Retrieve list of supported languages for query suggestions with language codes, names, and locales
|
|
21164
|
+
* @summary Get Supported Languages
|
|
21165
|
+
* @param {*} [options] Override http request option.
|
|
21166
|
+
* @throws {RequiredError}
|
|
21167
|
+
*/
|
|
21168
|
+
commonLanguagesGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21169
|
+
};
|
|
21170
|
+
/**
|
|
21171
|
+
* CommonApi - functional programming interface
|
|
21172
|
+
* @export
|
|
21173
|
+
*/
|
|
21174
|
+
export declare const CommonApiFp: (configuration?: Configuration) => {
|
|
21175
|
+
/**
|
|
21176
|
+
* Retrieve list of supported languages for query suggestions with language codes, names, and locales
|
|
21177
|
+
* @summary Get Supported Languages
|
|
21178
|
+
* @param {*} [options] Override http request option.
|
|
21179
|
+
* @throws {RequiredError}
|
|
21180
|
+
*/
|
|
21181
|
+
commonLanguagesGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
21182
|
+
[key: string]: any;
|
|
21183
|
+
}>>;
|
|
21184
|
+
};
|
|
21185
|
+
/**
|
|
21186
|
+
* CommonApi - factory interface
|
|
21187
|
+
* @export
|
|
21188
|
+
*/
|
|
21189
|
+
export declare const CommonApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
21190
|
+
/**
|
|
21191
|
+
* Retrieve list of supported languages for query suggestions with language codes, names, and locales
|
|
21192
|
+
* @summary Get Supported Languages
|
|
21193
|
+
* @param {*} [options] Override http request option.
|
|
21194
|
+
* @throws {RequiredError}
|
|
21195
|
+
*/
|
|
21196
|
+
commonLanguagesGet(options?: RawAxiosRequestConfig): AxiosPromise<{
|
|
21197
|
+
[key: string]: any;
|
|
21198
|
+
}>;
|
|
21199
|
+
};
|
|
21200
|
+
/**
|
|
21201
|
+
* CommonApi - object-oriented interface
|
|
21202
|
+
* @export
|
|
21203
|
+
* @class CommonApi
|
|
21204
|
+
* @extends {BaseAPI}
|
|
21205
|
+
*/
|
|
21206
|
+
export declare class CommonApi extends BaseAPI {
|
|
21207
|
+
/**
|
|
21208
|
+
* Retrieve list of supported languages for query suggestions with language codes, names, and locales
|
|
21209
|
+
* @summary Get Supported Languages
|
|
21210
|
+
* @param {*} [options] Override http request option.
|
|
21211
|
+
* @throws {RequiredError}
|
|
21212
|
+
* @memberof CommonApi
|
|
21213
|
+
*/
|
|
21214
|
+
commonLanguagesGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
21215
|
+
[key: string]: any;
|
|
21216
|
+
}, any, {}>>;
|
|
21217
|
+
}
|
|
21157
21218
|
/**
|
|
21158
21219
|
* ConnectorsApi - axios parameter creator
|
|
21159
21220
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -23,10 +23,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.AdminAnalyticsStoreXStoreIDQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortByEnum = exports.AnalyticsApi = exports.AnalyticsApiFactory = exports.AnalyticsApiFp = exports.AnalyticsApiAxiosParamCreator = exports.AccountSettingsApi = exports.AccountSettingsApiFactory = exports.AccountSettingsApiFp = exports.AccountSettingsApiAxiosParamCreator = exports.APICallsApi = exports.APICallsApiFactory = exports.APICallsApiFp = exports.APICallsApiAxiosParamCreator = exports.DataTypesUpdateWordStatusRequestWordTypeEnum = exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = exports.DataTypesRefundApprovalDtoActionEnum = exports.DataTypesCreditTransactionTransactionTypeEnum = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = exports.DataTypesCreateRefundRequestDtoRefundTypeEnum = exports.DataTypesCreatePluralDeclensionRequestTypeEnum = exports.DataTypesCreatePaymentOrderRequestPaymentTypeEnum = exports.DataTypesCreateCustomWordListRequestTypeEnum = exports.AnalyticsRuleType = exports.AnalyticsQuerySuggestionStatus = exports.AnalyticsQuerySuggestionSource = exports.AnalyticsBulkOperation = exports.AnalyticsBannedMatchType = void 0;
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = exports.StopwordsApiFp = exports.StopwordsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = void 0;
|
|
26
|
+
exports.ApiCreditsTransactionsGetTypeEnum = exports.CreditsApi = exports.CreditsApiFactory = exports.CreditsApiFp = exports.CreditsApiAxiosParamCreator = exports.ConnectorsApi = exports.ConnectorsApiFactory = exports.ConnectorsApiFp = exports.ConnectorsApiAxiosParamCreator = exports.CommonApi = exports.CommonApiFactory = exports.CommonApiFp = exports.CommonApiAxiosParamCreator = exports.BillingDashboardApi = exports.BillingDashboardApiFactory = exports.BillingDashboardApiFp = exports.BillingDashboardApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AnalyticsEventsApi = exports.AnalyticsEventsApiFactory = exports.AnalyticsEventsApiFp = exports.AnalyticsEventsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetCompareTagsMatchModeEnum = void 0;
|
|
27
|
+
exports.OnboardingApi = exports.OnboardingApiFactory = exports.OnboardingApiFp = exports.OnboardingApiAxiosParamCreator = exports.NewsLettersApi = exports.NewsLettersApiFactory = exports.NewsLettersApiFp = exports.NewsLettersApiAxiosParamCreator = exports.MongoDbApi = exports.MongoDbApiFactory = exports.MongoDbApiFp = exports.MongoDbApiAxiosParamCreator = exports.ModulesApi = exports.ModulesApiFactory = exports.ModulesApiFp = exports.ModulesApiAxiosParamCreator = exports.MenusApi = exports.MenusApiFactory = exports.MenusApiFp = exports.MenusApiAxiosParamCreator = exports.LimitsApi = exports.LimitsApiFactory = exports.LimitsApiFp = exports.LimitsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortByEnum = exports.ItemAnalyticsApi = exports.ItemAnalyticsApiFactory = exports.ItemAnalyticsApiFp = exports.ItemAnalyticsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.CustomStopwordsApi = exports.CustomStopwordsApiFactory = exports.CustomStopwordsApiFp = exports.CustomStopwordsApiAxiosParamCreator = void 0;
|
|
28
|
+
exports.RoleRightsApi = exports.RoleRightsApiFactory = exports.RoleRightsApiFp = exports.RoleRightsApiAxiosParamCreator = exports.RequestsApi = exports.RequestsApiFactory = exports.RequestsApiFp = exports.RequestsApiAxiosParamCreator = exports.RegisterApi = exports.RegisterApiFactory = exports.RegisterApiFp = exports.RegisterApiAxiosParamCreator = exports.RefundManagementApi = exports.RefundManagementApiFactory = exports.RefundManagementApiFp = exports.RefundManagementApiAxiosParamCreator = exports.QuerySuggestionsManagementApi = exports.QuerySuggestionsManagementApiFactory = exports.QuerySuggestionsManagementApiFp = exports.QuerySuggestionsManagementApiAxiosParamCreator = exports.V1SuggestionsQueriesGetTimeRangeEnum = exports.V1SuggestionsQueriesGetTagsMatchModeEnum = exports.QuerySuggestionsApi = exports.QuerySuggestionsApiFactory = exports.QuerySuggestionsApiFp = exports.QuerySuggestionsApiAxiosParamCreator = exports.PluralsDeclensionsApi = exports.PluralsDeclensionsApiFactory = exports.PluralsDeclensionsApiFp = exports.PluralsDeclensionsApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PaymentGatewayApi = exports.PaymentGatewayApiFactory = exports.PaymentGatewayApiFp = exports.PaymentGatewayApiAxiosParamCreator = exports.ParentMenusApi = exports.ParentMenusApiFactory = exports.ParentMenusApiFp = exports.ParentMenusApiAxiosParamCreator = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = void 0;
|
|
29
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = exports.StopwordsApiFp = exports.StopwordsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = void 0;
|
|
30
30
|
const axios_1 = require("axios");
|
|
31
31
|
// Some imports not used depending on template conditions
|
|
32
32
|
// @ts-ignore
|
|
@@ -6317,6 +6317,103 @@ class BillingDashboardApi extends base_1.BaseAPI {
|
|
|
6317
6317
|
}
|
|
6318
6318
|
}
|
|
6319
6319
|
exports.BillingDashboardApi = BillingDashboardApi;
|
|
6320
|
+
/**
|
|
6321
|
+
* CommonApi - axios parameter creator
|
|
6322
|
+
* @export
|
|
6323
|
+
*/
|
|
6324
|
+
const CommonApiAxiosParamCreator = function (configuration) {
|
|
6325
|
+
return {
|
|
6326
|
+
/**
|
|
6327
|
+
* Retrieve list of supported languages for query suggestions with language codes, names, and locales
|
|
6328
|
+
* @summary Get Supported Languages
|
|
6329
|
+
* @param {*} [options] Override http request option.
|
|
6330
|
+
* @throws {RequiredError}
|
|
6331
|
+
*/
|
|
6332
|
+
commonLanguagesGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
6333
|
+
const localVarPath = `/common/languages`;
|
|
6334
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6335
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6336
|
+
let baseOptions;
|
|
6337
|
+
if (configuration) {
|
|
6338
|
+
baseOptions = configuration.baseOptions;
|
|
6339
|
+
}
|
|
6340
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6341
|
+
const localVarHeaderParameter = {};
|
|
6342
|
+
const localVarQueryParameter = {};
|
|
6343
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6344
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6345
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6346
|
+
return {
|
|
6347
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6348
|
+
options: localVarRequestOptions,
|
|
6349
|
+
};
|
|
6350
|
+
}),
|
|
6351
|
+
};
|
|
6352
|
+
};
|
|
6353
|
+
exports.CommonApiAxiosParamCreator = CommonApiAxiosParamCreator;
|
|
6354
|
+
/**
|
|
6355
|
+
* CommonApi - functional programming interface
|
|
6356
|
+
* @export
|
|
6357
|
+
*/
|
|
6358
|
+
const CommonApiFp = function (configuration) {
|
|
6359
|
+
const localVarAxiosParamCreator = (0, exports.CommonApiAxiosParamCreator)(configuration);
|
|
6360
|
+
return {
|
|
6361
|
+
/**
|
|
6362
|
+
* Retrieve list of supported languages for query suggestions with language codes, names, and locales
|
|
6363
|
+
* @summary Get Supported Languages
|
|
6364
|
+
* @param {*} [options] Override http request option.
|
|
6365
|
+
* @throws {RequiredError}
|
|
6366
|
+
*/
|
|
6367
|
+
commonLanguagesGet(options) {
|
|
6368
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6369
|
+
var _a, _b, _c;
|
|
6370
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.commonLanguagesGet(options);
|
|
6371
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6372
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CommonApi.commonLanguagesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6373
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6374
|
+
});
|
|
6375
|
+
},
|
|
6376
|
+
};
|
|
6377
|
+
};
|
|
6378
|
+
exports.CommonApiFp = CommonApiFp;
|
|
6379
|
+
/**
|
|
6380
|
+
* CommonApi - factory interface
|
|
6381
|
+
* @export
|
|
6382
|
+
*/
|
|
6383
|
+
const CommonApiFactory = function (configuration, basePath, axios) {
|
|
6384
|
+
const localVarFp = (0, exports.CommonApiFp)(configuration);
|
|
6385
|
+
return {
|
|
6386
|
+
/**
|
|
6387
|
+
* Retrieve list of supported languages for query suggestions with language codes, names, and locales
|
|
6388
|
+
* @summary Get Supported Languages
|
|
6389
|
+
* @param {*} [options] Override http request option.
|
|
6390
|
+
* @throws {RequiredError}
|
|
6391
|
+
*/
|
|
6392
|
+
commonLanguagesGet(options) {
|
|
6393
|
+
return localVarFp.commonLanguagesGet(options).then((request) => request(axios, basePath));
|
|
6394
|
+
},
|
|
6395
|
+
};
|
|
6396
|
+
};
|
|
6397
|
+
exports.CommonApiFactory = CommonApiFactory;
|
|
6398
|
+
/**
|
|
6399
|
+
* CommonApi - object-oriented interface
|
|
6400
|
+
* @export
|
|
6401
|
+
* @class CommonApi
|
|
6402
|
+
* @extends {BaseAPI}
|
|
6403
|
+
*/
|
|
6404
|
+
class CommonApi extends base_1.BaseAPI {
|
|
6405
|
+
/**
|
|
6406
|
+
* Retrieve list of supported languages for query suggestions with language codes, names, and locales
|
|
6407
|
+
* @summary Get Supported Languages
|
|
6408
|
+
* @param {*} [options] Override http request option.
|
|
6409
|
+
* @throws {RequiredError}
|
|
6410
|
+
* @memberof CommonApi
|
|
6411
|
+
*/
|
|
6412
|
+
commonLanguagesGet(options) {
|
|
6413
|
+
return (0, exports.CommonApiFp)(this.configuration).commonLanguagesGet(options).then((request) => request(this.axios, this.basePath));
|
|
6414
|
+
}
|
|
6415
|
+
}
|
|
6416
|
+
exports.CommonApi = CommonApi;
|
|
6320
6417
|
/**
|
|
6321
6418
|
* ConnectorsApi - axios parameter creator
|
|
6322
6419
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -21154,6 +21154,67 @@ export declare class BillingDashboardApi extends BaseAPI {
|
|
|
21154
21154
|
*/
|
|
21155
21155
|
adminBillingPaymentTransactionsGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseArrayBillingServicePaymentTransactionSummary, any, {}>>;
|
|
21156
21156
|
}
|
|
21157
|
+
/**
|
|
21158
|
+
* CommonApi - axios parameter creator
|
|
21159
|
+
* @export
|
|
21160
|
+
*/
|
|
21161
|
+
export declare const CommonApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21162
|
+
/**
|
|
21163
|
+
* Retrieve list of supported languages for query suggestions with language codes, names, and locales
|
|
21164
|
+
* @summary Get Supported Languages
|
|
21165
|
+
* @param {*} [options] Override http request option.
|
|
21166
|
+
* @throws {RequiredError}
|
|
21167
|
+
*/
|
|
21168
|
+
commonLanguagesGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21169
|
+
};
|
|
21170
|
+
/**
|
|
21171
|
+
* CommonApi - functional programming interface
|
|
21172
|
+
* @export
|
|
21173
|
+
*/
|
|
21174
|
+
export declare const CommonApiFp: (configuration?: Configuration) => {
|
|
21175
|
+
/**
|
|
21176
|
+
* Retrieve list of supported languages for query suggestions with language codes, names, and locales
|
|
21177
|
+
* @summary Get Supported Languages
|
|
21178
|
+
* @param {*} [options] Override http request option.
|
|
21179
|
+
* @throws {RequiredError}
|
|
21180
|
+
*/
|
|
21181
|
+
commonLanguagesGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
21182
|
+
[key: string]: any;
|
|
21183
|
+
}>>;
|
|
21184
|
+
};
|
|
21185
|
+
/**
|
|
21186
|
+
* CommonApi - factory interface
|
|
21187
|
+
* @export
|
|
21188
|
+
*/
|
|
21189
|
+
export declare const CommonApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
21190
|
+
/**
|
|
21191
|
+
* Retrieve list of supported languages for query suggestions with language codes, names, and locales
|
|
21192
|
+
* @summary Get Supported Languages
|
|
21193
|
+
* @param {*} [options] Override http request option.
|
|
21194
|
+
* @throws {RequiredError}
|
|
21195
|
+
*/
|
|
21196
|
+
commonLanguagesGet(options?: RawAxiosRequestConfig): AxiosPromise<{
|
|
21197
|
+
[key: string]: any;
|
|
21198
|
+
}>;
|
|
21199
|
+
};
|
|
21200
|
+
/**
|
|
21201
|
+
* CommonApi - object-oriented interface
|
|
21202
|
+
* @export
|
|
21203
|
+
* @class CommonApi
|
|
21204
|
+
* @extends {BaseAPI}
|
|
21205
|
+
*/
|
|
21206
|
+
export declare class CommonApi extends BaseAPI {
|
|
21207
|
+
/**
|
|
21208
|
+
* Retrieve list of supported languages for query suggestions with language codes, names, and locales
|
|
21209
|
+
* @summary Get Supported Languages
|
|
21210
|
+
* @param {*} [options] Override http request option.
|
|
21211
|
+
* @throws {RequiredError}
|
|
21212
|
+
* @memberof CommonApi
|
|
21213
|
+
*/
|
|
21214
|
+
commonLanguagesGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
21215
|
+
[key: string]: any;
|
|
21216
|
+
}, any, {}>>;
|
|
21217
|
+
}
|
|
21157
21218
|
/**
|
|
21158
21219
|
* ConnectorsApi - axios parameter creator
|
|
21159
21220
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -6282,6 +6282,99 @@ export class BillingDashboardApi extends BaseAPI {
|
|
|
6282
6282
|
return BillingDashboardApiFp(this.configuration).adminBillingPaymentTransactionsGet(orgId, startDate, endDate, limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
6283
6283
|
}
|
|
6284
6284
|
}
|
|
6285
|
+
/**
|
|
6286
|
+
* CommonApi - axios parameter creator
|
|
6287
|
+
* @export
|
|
6288
|
+
*/
|
|
6289
|
+
export const CommonApiAxiosParamCreator = function (configuration) {
|
|
6290
|
+
return {
|
|
6291
|
+
/**
|
|
6292
|
+
* Retrieve list of supported languages for query suggestions with language codes, names, and locales
|
|
6293
|
+
* @summary Get Supported Languages
|
|
6294
|
+
* @param {*} [options] Override http request option.
|
|
6295
|
+
* @throws {RequiredError}
|
|
6296
|
+
*/
|
|
6297
|
+
commonLanguagesGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
6298
|
+
const localVarPath = `/common/languages`;
|
|
6299
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6300
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6301
|
+
let baseOptions;
|
|
6302
|
+
if (configuration) {
|
|
6303
|
+
baseOptions = configuration.baseOptions;
|
|
6304
|
+
}
|
|
6305
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6306
|
+
const localVarHeaderParameter = {};
|
|
6307
|
+
const localVarQueryParameter = {};
|
|
6308
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6309
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6310
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6311
|
+
return {
|
|
6312
|
+
url: toPathString(localVarUrlObj),
|
|
6313
|
+
options: localVarRequestOptions,
|
|
6314
|
+
};
|
|
6315
|
+
}),
|
|
6316
|
+
};
|
|
6317
|
+
};
|
|
6318
|
+
/**
|
|
6319
|
+
* CommonApi - functional programming interface
|
|
6320
|
+
* @export
|
|
6321
|
+
*/
|
|
6322
|
+
export const CommonApiFp = function (configuration) {
|
|
6323
|
+
const localVarAxiosParamCreator = CommonApiAxiosParamCreator(configuration);
|
|
6324
|
+
return {
|
|
6325
|
+
/**
|
|
6326
|
+
* Retrieve list of supported languages for query suggestions with language codes, names, and locales
|
|
6327
|
+
* @summary Get Supported Languages
|
|
6328
|
+
* @param {*} [options] Override http request option.
|
|
6329
|
+
* @throws {RequiredError}
|
|
6330
|
+
*/
|
|
6331
|
+
commonLanguagesGet(options) {
|
|
6332
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6333
|
+
var _a, _b, _c;
|
|
6334
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.commonLanguagesGet(options);
|
|
6335
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6336
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CommonApi.commonLanguagesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6337
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6338
|
+
});
|
|
6339
|
+
},
|
|
6340
|
+
};
|
|
6341
|
+
};
|
|
6342
|
+
/**
|
|
6343
|
+
* CommonApi - factory interface
|
|
6344
|
+
* @export
|
|
6345
|
+
*/
|
|
6346
|
+
export const CommonApiFactory = function (configuration, basePath, axios) {
|
|
6347
|
+
const localVarFp = CommonApiFp(configuration);
|
|
6348
|
+
return {
|
|
6349
|
+
/**
|
|
6350
|
+
* Retrieve list of supported languages for query suggestions with language codes, names, and locales
|
|
6351
|
+
* @summary Get Supported Languages
|
|
6352
|
+
* @param {*} [options] Override http request option.
|
|
6353
|
+
* @throws {RequiredError}
|
|
6354
|
+
*/
|
|
6355
|
+
commonLanguagesGet(options) {
|
|
6356
|
+
return localVarFp.commonLanguagesGet(options).then((request) => request(axios, basePath));
|
|
6357
|
+
},
|
|
6358
|
+
};
|
|
6359
|
+
};
|
|
6360
|
+
/**
|
|
6361
|
+
* CommonApi - object-oriented interface
|
|
6362
|
+
* @export
|
|
6363
|
+
* @class CommonApi
|
|
6364
|
+
* @extends {BaseAPI}
|
|
6365
|
+
*/
|
|
6366
|
+
export class CommonApi extends BaseAPI {
|
|
6367
|
+
/**
|
|
6368
|
+
* Retrieve list of supported languages for query suggestions with language codes, names, and locales
|
|
6369
|
+
* @summary Get Supported Languages
|
|
6370
|
+
* @param {*} [options] Override http request option.
|
|
6371
|
+
* @throws {RequiredError}
|
|
6372
|
+
* @memberof CommonApi
|
|
6373
|
+
*/
|
|
6374
|
+
commonLanguagesGet(options) {
|
|
6375
|
+
return CommonApiFp(this.configuration).commonLanguagesGet(options).then((request) => request(this.axios, this.basePath));
|
|
6376
|
+
}
|
|
6377
|
+
}
|
|
6285
6378
|
/**
|
|
6286
6379
|
* ConnectorsApi - axios parameter creator
|
|
6287
6380
|
* @export
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|