@seekora-ai/admin-api 1.1.56 → 1.1.58
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 +18 -17
- package/api.ts +328 -263
- package/dist/api.d.ts +215 -180
- package/dist/api.js +213 -152
- package/dist/esm/api.d.ts +215 -180
- package/dist/esm/api.js +213 -152
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.58.tgz +0 -0
- package/seekora-ai-admin-api-1.1.56.tgz +0 -0
package/api.ts
CHANGED
|
@@ -757,40 +757,140 @@ export interface AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGet200Response {
|
|
|
757
757
|
/**
|
|
758
758
|
*
|
|
759
759
|
* @export
|
|
760
|
-
* @interface
|
|
760
|
+
* @interface AdminPaymentGatewayVerifyInvoicePostRequest
|
|
761
761
|
*/
|
|
762
|
-
export interface
|
|
762
|
+
export interface AdminPaymentGatewayVerifyInvoicePostRequest {
|
|
763
763
|
/**
|
|
764
764
|
*
|
|
765
|
-
* @type {
|
|
766
|
-
* @memberof
|
|
765
|
+
* @type {string}
|
|
766
|
+
* @memberof AdminPaymentGatewayVerifyInvoicePostRequest
|
|
767
767
|
*/
|
|
768
|
-
'
|
|
768
|
+
'gateway_order_id'?: string;
|
|
769
|
+
}
|
|
770
|
+
/**
|
|
771
|
+
*
|
|
772
|
+
* @export
|
|
773
|
+
* @interface AdminV1FeatureLimitsCheckGet200Response
|
|
774
|
+
*/
|
|
775
|
+
export interface AdminV1FeatureLimitsCheckGet200Response {
|
|
776
|
+
/**
|
|
777
|
+
*
|
|
778
|
+
* @type {DataTypesFeatureCheckResult}
|
|
779
|
+
* @memberof AdminV1FeatureLimitsCheckGet200Response
|
|
780
|
+
*/
|
|
781
|
+
'data'?: DataTypesFeatureCheckResult;
|
|
769
782
|
/**
|
|
770
783
|
*
|
|
771
784
|
* @type {string}
|
|
772
|
-
* @memberof
|
|
785
|
+
* @memberof AdminV1FeatureLimitsCheckGet200Response
|
|
773
786
|
*/
|
|
774
787
|
'message'?: string;
|
|
775
788
|
/**
|
|
776
789
|
*
|
|
777
790
|
* @type {number}
|
|
778
|
-
* @memberof
|
|
791
|
+
* @memberof AdminV1FeatureLimitsCheckGet200Response
|
|
779
792
|
*/
|
|
780
793
|
'status'?: number;
|
|
781
794
|
}
|
|
782
795
|
/**
|
|
783
796
|
*
|
|
784
797
|
* @export
|
|
785
|
-
* @interface
|
|
798
|
+
* @interface AdminV1FeatureLimitsHistoryGet200Response
|
|
786
799
|
*/
|
|
787
|
-
export interface
|
|
800
|
+
export interface AdminV1FeatureLimitsHistoryGet200Response {
|
|
801
|
+
/**
|
|
802
|
+
*
|
|
803
|
+
* @type {Array<DataTypesFeatureUsageHistory>}
|
|
804
|
+
* @memberof AdminV1FeatureLimitsHistoryGet200Response
|
|
805
|
+
*/
|
|
806
|
+
'data'?: Array<DataTypesFeatureUsageHistory>;
|
|
788
807
|
/**
|
|
789
808
|
*
|
|
790
809
|
* @type {string}
|
|
791
|
-
* @memberof
|
|
810
|
+
* @memberof AdminV1FeatureLimitsHistoryGet200Response
|
|
792
811
|
*/
|
|
793
|
-
'
|
|
812
|
+
'message'?: string;
|
|
813
|
+
/**
|
|
814
|
+
*
|
|
815
|
+
* @type {number}
|
|
816
|
+
* @memberof AdminV1FeatureLimitsHistoryGet200Response
|
|
817
|
+
*/
|
|
818
|
+
'status'?: number;
|
|
819
|
+
}
|
|
820
|
+
/**
|
|
821
|
+
*
|
|
822
|
+
* @export
|
|
823
|
+
* @interface AdminV1FeatureLimitsPlanGet200Response
|
|
824
|
+
*/
|
|
825
|
+
export interface AdminV1FeatureLimitsPlanGet200Response {
|
|
826
|
+
/**
|
|
827
|
+
*
|
|
828
|
+
* @type {DataTypesPlanFeatures}
|
|
829
|
+
* @memberof AdminV1FeatureLimitsPlanGet200Response
|
|
830
|
+
*/
|
|
831
|
+
'data'?: DataTypesPlanFeatures;
|
|
832
|
+
/**
|
|
833
|
+
*
|
|
834
|
+
* @type {string}
|
|
835
|
+
* @memberof AdminV1FeatureLimitsPlanGet200Response
|
|
836
|
+
*/
|
|
837
|
+
'message'?: string;
|
|
838
|
+
/**
|
|
839
|
+
*
|
|
840
|
+
* @type {number}
|
|
841
|
+
* @memberof AdminV1FeatureLimitsPlanGet200Response
|
|
842
|
+
*/
|
|
843
|
+
'status'?: number;
|
|
844
|
+
}
|
|
845
|
+
/**
|
|
846
|
+
*
|
|
847
|
+
* @export
|
|
848
|
+
* @interface AdminV1FeatureLimitsUsageGet200Response
|
|
849
|
+
*/
|
|
850
|
+
export interface AdminV1FeatureLimitsUsageGet200Response {
|
|
851
|
+
/**
|
|
852
|
+
*
|
|
853
|
+
* @type {Array<DataTypesFeatureUsageStats>}
|
|
854
|
+
* @memberof AdminV1FeatureLimitsUsageGet200Response
|
|
855
|
+
*/
|
|
856
|
+
'data'?: Array<DataTypesFeatureUsageStats>;
|
|
857
|
+
/**
|
|
858
|
+
*
|
|
859
|
+
* @type {string}
|
|
860
|
+
* @memberof AdminV1FeatureLimitsUsageGet200Response
|
|
861
|
+
*/
|
|
862
|
+
'message'?: string;
|
|
863
|
+
/**
|
|
864
|
+
*
|
|
865
|
+
* @type {number}
|
|
866
|
+
* @memberof AdminV1FeatureLimitsUsageGet200Response
|
|
867
|
+
*/
|
|
868
|
+
'status'?: number;
|
|
869
|
+
}
|
|
870
|
+
/**
|
|
871
|
+
*
|
|
872
|
+
* @export
|
|
873
|
+
* @interface AdminV1FeatureLimitsViolationsGet200Response
|
|
874
|
+
*/
|
|
875
|
+
export interface AdminV1FeatureLimitsViolationsGet200Response {
|
|
876
|
+
/**
|
|
877
|
+
*
|
|
878
|
+
* @type {Array<DataTypesFeatureLimitViolation>}
|
|
879
|
+
* @memberof AdminV1FeatureLimitsViolationsGet200Response
|
|
880
|
+
*/
|
|
881
|
+
'data'?: Array<DataTypesFeatureLimitViolation>;
|
|
882
|
+
/**
|
|
883
|
+
*
|
|
884
|
+
* @type {string}
|
|
885
|
+
* @memberof AdminV1FeatureLimitsViolationsGet200Response
|
|
886
|
+
*/
|
|
887
|
+
'message'?: string;
|
|
888
|
+
/**
|
|
889
|
+
*
|
|
890
|
+
* @type {number}
|
|
891
|
+
* @memberof AdminV1FeatureLimitsViolationsGet200Response
|
|
892
|
+
*/
|
|
893
|
+
'status'?: number;
|
|
794
894
|
}
|
|
795
895
|
/**
|
|
796
896
|
*
|
|
@@ -24392,106 +24492,6 @@ export interface FeatureLimitServiceLimitStatus {
|
|
|
24392
24492
|
*/
|
|
24393
24493
|
'plan_name'?: string;
|
|
24394
24494
|
}
|
|
24395
|
-
/**
|
|
24396
|
-
*
|
|
24397
|
-
* @export
|
|
24398
|
-
* @interface FeatureLimitsCheckGet200Response
|
|
24399
|
-
*/
|
|
24400
|
-
export interface FeatureLimitsCheckGet200Response {
|
|
24401
|
-
/**
|
|
24402
|
-
*
|
|
24403
|
-
* @type {DataTypesFeatureCheckResult}
|
|
24404
|
-
* @memberof FeatureLimitsCheckGet200Response
|
|
24405
|
-
*/
|
|
24406
|
-
'data'?: DataTypesFeatureCheckResult;
|
|
24407
|
-
/**
|
|
24408
|
-
*
|
|
24409
|
-
* @type {string}
|
|
24410
|
-
* @memberof FeatureLimitsCheckGet200Response
|
|
24411
|
-
*/
|
|
24412
|
-
'message'?: string;
|
|
24413
|
-
/**
|
|
24414
|
-
*
|
|
24415
|
-
* @type {number}
|
|
24416
|
-
* @memberof FeatureLimitsCheckGet200Response
|
|
24417
|
-
*/
|
|
24418
|
-
'status'?: number;
|
|
24419
|
-
}
|
|
24420
|
-
/**
|
|
24421
|
-
*
|
|
24422
|
-
* @export
|
|
24423
|
-
* @interface FeatureLimitsHistoryGet200Response
|
|
24424
|
-
*/
|
|
24425
|
-
export interface FeatureLimitsHistoryGet200Response {
|
|
24426
|
-
/**
|
|
24427
|
-
*
|
|
24428
|
-
* @type {Array<DataTypesFeatureUsageHistory>}
|
|
24429
|
-
* @memberof FeatureLimitsHistoryGet200Response
|
|
24430
|
-
*/
|
|
24431
|
-
'data'?: Array<DataTypesFeatureUsageHistory>;
|
|
24432
|
-
/**
|
|
24433
|
-
*
|
|
24434
|
-
* @type {string}
|
|
24435
|
-
* @memberof FeatureLimitsHistoryGet200Response
|
|
24436
|
-
*/
|
|
24437
|
-
'message'?: string;
|
|
24438
|
-
/**
|
|
24439
|
-
*
|
|
24440
|
-
* @type {number}
|
|
24441
|
-
* @memberof FeatureLimitsHistoryGet200Response
|
|
24442
|
-
*/
|
|
24443
|
-
'status'?: number;
|
|
24444
|
-
}
|
|
24445
|
-
/**
|
|
24446
|
-
*
|
|
24447
|
-
* @export
|
|
24448
|
-
* @interface FeatureLimitsPlanGet200Response
|
|
24449
|
-
*/
|
|
24450
|
-
export interface FeatureLimitsPlanGet200Response {
|
|
24451
|
-
/**
|
|
24452
|
-
*
|
|
24453
|
-
* @type {DataTypesPlanFeatures}
|
|
24454
|
-
* @memberof FeatureLimitsPlanGet200Response
|
|
24455
|
-
*/
|
|
24456
|
-
'data'?: DataTypesPlanFeatures;
|
|
24457
|
-
/**
|
|
24458
|
-
*
|
|
24459
|
-
* @type {string}
|
|
24460
|
-
* @memberof FeatureLimitsPlanGet200Response
|
|
24461
|
-
*/
|
|
24462
|
-
'message'?: string;
|
|
24463
|
-
/**
|
|
24464
|
-
*
|
|
24465
|
-
* @type {number}
|
|
24466
|
-
* @memberof FeatureLimitsPlanGet200Response
|
|
24467
|
-
*/
|
|
24468
|
-
'status'?: number;
|
|
24469
|
-
}
|
|
24470
|
-
/**
|
|
24471
|
-
*
|
|
24472
|
-
* @export
|
|
24473
|
-
* @interface FeatureLimitsUsageGet200Response
|
|
24474
|
-
*/
|
|
24475
|
-
export interface FeatureLimitsUsageGet200Response {
|
|
24476
|
-
/**
|
|
24477
|
-
*
|
|
24478
|
-
* @type {Array<DataTypesFeatureUsageStats>}
|
|
24479
|
-
* @memberof FeatureLimitsUsageGet200Response
|
|
24480
|
-
*/
|
|
24481
|
-
'data'?: Array<DataTypesFeatureUsageStats>;
|
|
24482
|
-
/**
|
|
24483
|
-
*
|
|
24484
|
-
* @type {string}
|
|
24485
|
-
* @memberof FeatureLimitsUsageGet200Response
|
|
24486
|
-
*/
|
|
24487
|
-
'message'?: string;
|
|
24488
|
-
/**
|
|
24489
|
-
*
|
|
24490
|
-
* @type {number}
|
|
24491
|
-
* @memberof FeatureLimitsUsageGet200Response
|
|
24492
|
-
*/
|
|
24493
|
-
'status'?: number;
|
|
24494
|
-
}
|
|
24495
24495
|
/**
|
|
24496
24496
|
*
|
|
24497
24497
|
* @export
|
|
@@ -43666,15 +43666,17 @@ export class ExternalAPINotificationsApi extends BaseAPI {
|
|
|
43666
43666
|
export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
43667
43667
|
return {
|
|
43668
43668
|
/**
|
|
43669
|
-
*
|
|
43670
|
-
* @summary
|
|
43671
|
-
* @param {string}
|
|
43672
|
-
* @param {number} [
|
|
43669
|
+
* Checks if a specific feature is within limits without incrementing usage
|
|
43670
|
+
* @summary Check if a feature can be used
|
|
43671
|
+
* @param {string} featureName Feature name to check
|
|
43672
|
+
* @param {number} [amount] Amount to check (default: 1)
|
|
43673
43673
|
* @param {*} [options] Override http request option.
|
|
43674
43674
|
* @throws {RequiredError}
|
|
43675
43675
|
*/
|
|
43676
|
-
|
|
43677
|
-
|
|
43676
|
+
adminV1FeatureLimitsCheckGet: async (featureName: string, amount?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43677
|
+
// verify required parameter 'featureName' is not null or undefined
|
|
43678
|
+
assertParamExists('adminV1FeatureLimitsCheckGet', 'featureName', featureName)
|
|
43679
|
+
const localVarPath = `/admin/v1/feature-limits/check`;
|
|
43678
43680
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43679
43681
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43680
43682
|
let baseOptions;
|
|
@@ -43693,8 +43695,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
43693
43695
|
localVarQueryParameter['feature_name'] = featureName;
|
|
43694
43696
|
}
|
|
43695
43697
|
|
|
43696
|
-
if (
|
|
43697
|
-
localVarQueryParameter['
|
|
43698
|
+
if (amount !== undefined) {
|
|
43699
|
+
localVarQueryParameter['amount'] = amount;
|
|
43698
43700
|
}
|
|
43699
43701
|
|
|
43700
43702
|
|
|
@@ -43709,17 +43711,15 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
43709
43711
|
};
|
|
43710
43712
|
},
|
|
43711
43713
|
/**
|
|
43712
|
-
*
|
|
43713
|
-
* @summary
|
|
43714
|
-
* @param {string} featureName
|
|
43715
|
-
* @param {number} [
|
|
43714
|
+
* Retrieves historical feature usage events for the organization
|
|
43715
|
+
* @summary Get feature usage history
|
|
43716
|
+
* @param {string} [featureName] Filter by feature name
|
|
43717
|
+
* @param {number} [limit] Number of records to return (default: 100)
|
|
43716
43718
|
* @param {*} [options] Override http request option.
|
|
43717
43719
|
* @throws {RequiredError}
|
|
43718
43720
|
*/
|
|
43719
|
-
|
|
43720
|
-
|
|
43721
|
-
assertParamExists('featureLimitsCheckGet', 'featureName', featureName)
|
|
43722
|
-
const localVarPath = `/feature-limits/check`;
|
|
43721
|
+
adminV1FeatureLimitsHistoryGet: async (featureName?: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43722
|
+
const localVarPath = `/admin/v1/feature-limits/history`;
|
|
43723
43723
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43724
43724
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43725
43725
|
let baseOptions;
|
|
@@ -43738,8 +43738,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
43738
43738
|
localVarQueryParameter['feature_name'] = featureName;
|
|
43739
43739
|
}
|
|
43740
43740
|
|
|
43741
|
-
if (
|
|
43742
|
-
localVarQueryParameter['
|
|
43741
|
+
if (limit !== undefined) {
|
|
43742
|
+
localVarQueryParameter['limit'] = limit;
|
|
43743
43743
|
}
|
|
43744
43744
|
|
|
43745
43745
|
|
|
@@ -43754,15 +43754,13 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
43754
43754
|
};
|
|
43755
43755
|
},
|
|
43756
43756
|
/**
|
|
43757
|
-
* Retrieves
|
|
43758
|
-
* @summary Get
|
|
43759
|
-
* @param {string} [featureName] Filter by feature name
|
|
43760
|
-
* @param {number} [limit] Number of records to return (default: 100)
|
|
43757
|
+
* Retrieves the organization\'s current plan with all feature limits
|
|
43758
|
+
* @summary Get organization plan features
|
|
43761
43759
|
* @param {*} [options] Override http request option.
|
|
43762
43760
|
* @throws {RequiredError}
|
|
43763
43761
|
*/
|
|
43764
|
-
|
|
43765
|
-
const localVarPath = `/feature-limits/
|
|
43762
|
+
adminV1FeatureLimitsPlanGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43763
|
+
const localVarPath = `/admin/v1/feature-limits/plan`;
|
|
43766
43764
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43767
43765
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43768
43766
|
let baseOptions;
|
|
@@ -43777,14 +43775,6 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
43777
43775
|
// authentication BearerAuth required
|
|
43778
43776
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
43779
43777
|
|
|
43780
|
-
if (featureName !== undefined) {
|
|
43781
|
-
localVarQueryParameter['feature_name'] = featureName;
|
|
43782
|
-
}
|
|
43783
|
-
|
|
43784
|
-
if (limit !== undefined) {
|
|
43785
|
-
localVarQueryParameter['limit'] = limit;
|
|
43786
|
-
}
|
|
43787
|
-
|
|
43788
43778
|
|
|
43789
43779
|
|
|
43790
43780
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -43797,13 +43787,13 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
43797
43787
|
};
|
|
43798
43788
|
},
|
|
43799
43789
|
/**
|
|
43800
|
-
*
|
|
43801
|
-
* @summary Get
|
|
43790
|
+
* Returns plan details and feature availability map for UI rendering
|
|
43791
|
+
* @summary Get plan information for frontend
|
|
43802
43792
|
* @param {*} [options] Override http request option.
|
|
43803
43793
|
* @throws {RequiredError}
|
|
43804
43794
|
*/
|
|
43805
|
-
|
|
43806
|
-
const localVarPath = `/feature-limits/plan`;
|
|
43795
|
+
adminV1FeatureLimitsPlanInfoGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43796
|
+
const localVarPath = `/admin/v1/feature-limits/plan/info`;
|
|
43807
43797
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43808
43798
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43809
43799
|
let baseOptions;
|
|
@@ -43830,13 +43820,13 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
43830
43820
|
};
|
|
43831
43821
|
},
|
|
43832
43822
|
/**
|
|
43833
|
-
* Returns plan
|
|
43834
|
-
* @summary Get plan information
|
|
43823
|
+
* Returns plan information and feature availability map for the current user
|
|
43824
|
+
* @summary Get user plan information
|
|
43835
43825
|
* @param {*} [options] Override http request option.
|
|
43836
43826
|
* @throws {RequiredError}
|
|
43837
43827
|
*/
|
|
43838
|
-
|
|
43839
|
-
const localVarPath = `/feature-limits/plan/info`;
|
|
43828
|
+
adminV1FeatureLimitsPlanUserInfoGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43829
|
+
const localVarPath = `/admin/v1/feature-limits/plan/user-info`;
|
|
43840
43830
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43841
43831
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43842
43832
|
let baseOptions;
|
|
@@ -43868,8 +43858,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
43868
43858
|
* @param {*} [options] Override http request option.
|
|
43869
43859
|
* @throws {RequiredError}
|
|
43870
43860
|
*/
|
|
43871
|
-
|
|
43872
|
-
const localVarPath = `/feature-limits/status`;
|
|
43861
|
+
adminV1FeatureLimitsStatusGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43862
|
+
const localVarPath = `/admin/v1/feature-limits/status`;
|
|
43873
43863
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43874
43864
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43875
43865
|
let baseOptions;
|
|
@@ -43901,8 +43891,43 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
43901
43891
|
* @param {*} [options] Override http request option.
|
|
43902
43892
|
* @throws {RequiredError}
|
|
43903
43893
|
*/
|
|
43904
|
-
|
|
43905
|
-
const localVarPath = `/feature-limits/usage`;
|
|
43894
|
+
adminV1FeatureLimitsUsageGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43895
|
+
const localVarPath = `/admin/v1/feature-limits/usage`;
|
|
43896
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43897
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43898
|
+
let baseOptions;
|
|
43899
|
+
if (configuration) {
|
|
43900
|
+
baseOptions = configuration.baseOptions;
|
|
43901
|
+
}
|
|
43902
|
+
|
|
43903
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
43904
|
+
const localVarHeaderParameter = {} as any;
|
|
43905
|
+
const localVarQueryParameter = {} as any;
|
|
43906
|
+
|
|
43907
|
+
// authentication BearerAuth required
|
|
43908
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
43909
|
+
|
|
43910
|
+
|
|
43911
|
+
|
|
43912
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43913
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43914
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
43915
|
+
|
|
43916
|
+
return {
|
|
43917
|
+
url: toPathString(localVarUrlObj),
|
|
43918
|
+
options: localVarRequestOptions,
|
|
43919
|
+
};
|
|
43920
|
+
},
|
|
43921
|
+
/**
|
|
43922
|
+
* Retrieves log of feature limit violations for monitoring
|
|
43923
|
+
* @summary Get feature limit violations
|
|
43924
|
+
* @param {string} [featureName] Filter by feature name
|
|
43925
|
+
* @param {number} [limit] Number of records to return (default: 50)
|
|
43926
|
+
* @param {*} [options] Override http request option.
|
|
43927
|
+
* @throws {RequiredError}
|
|
43928
|
+
*/
|
|
43929
|
+
adminV1FeatureLimitsViolationsGet: async (featureName?: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43930
|
+
const localVarPath = `/admin/v1/feature-limits/violations`;
|
|
43906
43931
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43907
43932
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43908
43933
|
let baseOptions;
|
|
@@ -43917,6 +43942,14 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
43917
43942
|
// authentication BearerAuth required
|
|
43918
43943
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
43919
43944
|
|
|
43945
|
+
if (featureName !== undefined) {
|
|
43946
|
+
localVarQueryParameter['feature_name'] = featureName;
|
|
43947
|
+
}
|
|
43948
|
+
|
|
43949
|
+
if (limit !== undefined) {
|
|
43950
|
+
localVarQueryParameter['limit'] = limit;
|
|
43951
|
+
}
|
|
43952
|
+
|
|
43920
43953
|
|
|
43921
43954
|
|
|
43922
43955
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -43938,20 +43971,6 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
43938
43971
|
export const FeatureLimitsApiFp = function(configuration?: Configuration) {
|
|
43939
43972
|
const localVarAxiosParamCreator = FeatureLimitsApiAxiosParamCreator(configuration)
|
|
43940
43973
|
return {
|
|
43941
|
-
/**
|
|
43942
|
-
* Retrieves log of feature limit violations for monitoring
|
|
43943
|
-
* @summary Get feature limit violations
|
|
43944
|
-
* @param {string} [featureName] Filter by feature name
|
|
43945
|
-
* @param {number} [limit] Number of records to return (default: 50)
|
|
43946
|
-
* @param {*} [options] Override http request option.
|
|
43947
|
-
* @throws {RequiredError}
|
|
43948
|
-
*/
|
|
43949
|
-
async adminFeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminFeatureLimitsViolationsGet200Response>> {
|
|
43950
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.adminFeatureLimitsViolationsGet(featureName, limit, options);
|
|
43951
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43952
|
-
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.adminFeatureLimitsViolationsGet']?.[localVarOperationServerIndex]?.url;
|
|
43953
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
43954
|
-
},
|
|
43955
43974
|
/**
|
|
43956
43975
|
* Checks if a specific feature is within limits without incrementing usage
|
|
43957
43976
|
* @summary Check if a feature can be used
|
|
@@ -43960,10 +43979,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
|
|
|
43960
43979
|
* @param {*} [options] Override http request option.
|
|
43961
43980
|
* @throws {RequiredError}
|
|
43962
43981
|
*/
|
|
43963
|
-
async
|
|
43964
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
43982
|
+
async adminV1FeatureLimitsCheckGet(featureName: string, amount?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminV1FeatureLimitsCheckGet200Response>> {
|
|
43983
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1FeatureLimitsCheckGet(featureName, amount, options);
|
|
43965
43984
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43966
|
-
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.
|
|
43985
|
+
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsCheckGet']?.[localVarOperationServerIndex]?.url;
|
|
43967
43986
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
43968
43987
|
},
|
|
43969
43988
|
/**
|
|
@@ -43974,10 +43993,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
|
|
|
43974
43993
|
* @param {*} [options] Override http request option.
|
|
43975
43994
|
* @throws {RequiredError}
|
|
43976
43995
|
*/
|
|
43977
|
-
async
|
|
43978
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
43996
|
+
async adminV1FeatureLimitsHistoryGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminV1FeatureLimitsHistoryGet200Response>> {
|
|
43997
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1FeatureLimitsHistoryGet(featureName, limit, options);
|
|
43979
43998
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43980
|
-
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.
|
|
43999
|
+
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsHistoryGet']?.[localVarOperationServerIndex]?.url;
|
|
43981
44000
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
43982
44001
|
},
|
|
43983
44002
|
/**
|
|
@@ -43986,10 +44005,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
|
|
|
43986
44005
|
* @param {*} [options] Override http request option.
|
|
43987
44006
|
* @throws {RequiredError}
|
|
43988
44007
|
*/
|
|
43989
|
-
async
|
|
43990
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
44008
|
+
async adminV1FeatureLimitsPlanGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminV1FeatureLimitsPlanGet200Response>> {
|
|
44009
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1FeatureLimitsPlanGet(options);
|
|
43991
44010
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43992
|
-
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.
|
|
44011
|
+
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsPlanGet']?.[localVarOperationServerIndex]?.url;
|
|
43993
44012
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
43994
44013
|
},
|
|
43995
44014
|
/**
|
|
@@ -43998,10 +44017,22 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
|
|
|
43998
44017
|
* @param {*} [options] Override http request option.
|
|
43999
44018
|
* @throws {RequiredError}
|
|
44000
44019
|
*/
|
|
44001
|
-
async
|
|
44002
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
44020
|
+
async adminV1FeatureLimitsPlanInfoGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
|
|
44021
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1FeatureLimitsPlanInfoGet(options);
|
|
44022
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
44023
|
+
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsPlanInfoGet']?.[localVarOperationServerIndex]?.url;
|
|
44024
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
44025
|
+
},
|
|
44026
|
+
/**
|
|
44027
|
+
* Returns plan information and feature availability map for the current user
|
|
44028
|
+
* @summary Get user plan information
|
|
44029
|
+
* @param {*} [options] Override http request option.
|
|
44030
|
+
* @throws {RequiredError}
|
|
44031
|
+
*/
|
|
44032
|
+
async adminV1FeatureLimitsPlanUserInfoGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
|
|
44033
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1FeatureLimitsPlanUserInfoGet(options);
|
|
44003
44034
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
44004
|
-
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.
|
|
44035
|
+
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsPlanUserInfoGet']?.[localVarOperationServerIndex]?.url;
|
|
44005
44036
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
44006
44037
|
},
|
|
44007
44038
|
/**
|
|
@@ -44010,10 +44041,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
|
|
|
44010
44041
|
* @param {*} [options] Override http request option.
|
|
44011
44042
|
* @throws {RequiredError}
|
|
44012
44043
|
*/
|
|
44013
|
-
async
|
|
44014
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
44044
|
+
async adminV1FeatureLimitsStatusGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseFeatureLimitServiceLimitStatus>> {
|
|
44045
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1FeatureLimitsStatusGet(options);
|
|
44015
44046
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
44016
|
-
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.
|
|
44047
|
+
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsStatusGet']?.[localVarOperationServerIndex]?.url;
|
|
44017
44048
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
44018
44049
|
},
|
|
44019
44050
|
/**
|
|
@@ -44022,10 +44053,24 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
|
|
|
44022
44053
|
* @param {*} [options] Override http request option.
|
|
44023
44054
|
* @throws {RequiredError}
|
|
44024
44055
|
*/
|
|
44025
|
-
async
|
|
44026
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
44056
|
+
async adminV1FeatureLimitsUsageGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminV1FeatureLimitsUsageGet200Response>> {
|
|
44057
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1FeatureLimitsUsageGet(options);
|
|
44027
44058
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
44028
|
-
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.
|
|
44059
|
+
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsUsageGet']?.[localVarOperationServerIndex]?.url;
|
|
44060
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
44061
|
+
},
|
|
44062
|
+
/**
|
|
44063
|
+
* Retrieves log of feature limit violations for monitoring
|
|
44064
|
+
* @summary Get feature limit violations
|
|
44065
|
+
* @param {string} [featureName] Filter by feature name
|
|
44066
|
+
* @param {number} [limit] Number of records to return (default: 50)
|
|
44067
|
+
* @param {*} [options] Override http request option.
|
|
44068
|
+
* @throws {RequiredError}
|
|
44069
|
+
*/
|
|
44070
|
+
async adminV1FeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminV1FeatureLimitsViolationsGet200Response>> {
|
|
44071
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1FeatureLimitsViolationsGet(featureName, limit, options);
|
|
44072
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
44073
|
+
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsViolationsGet']?.[localVarOperationServerIndex]?.url;
|
|
44029
44074
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
44030
44075
|
},
|
|
44031
44076
|
}
|
|
@@ -44038,17 +44083,6 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
|
|
|
44038
44083
|
export const FeatureLimitsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
44039
44084
|
const localVarFp = FeatureLimitsApiFp(configuration)
|
|
44040
44085
|
return {
|
|
44041
|
-
/**
|
|
44042
|
-
* Retrieves log of feature limit violations for monitoring
|
|
44043
|
-
* @summary Get feature limit violations
|
|
44044
|
-
* @param {string} [featureName] Filter by feature name
|
|
44045
|
-
* @param {number} [limit] Number of records to return (default: 50)
|
|
44046
|
-
* @param {*} [options] Override http request option.
|
|
44047
|
-
* @throws {RequiredError}
|
|
44048
|
-
*/
|
|
44049
|
-
adminFeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<AdminFeatureLimitsViolationsGet200Response> {
|
|
44050
|
-
return localVarFp.adminFeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(axios, basePath));
|
|
44051
|
-
},
|
|
44052
44086
|
/**
|
|
44053
44087
|
* Checks if a specific feature is within limits without incrementing usage
|
|
44054
44088
|
* @summary Check if a feature can be used
|
|
@@ -44057,8 +44091,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
|
|
|
44057
44091
|
* @param {*} [options] Override http request option.
|
|
44058
44092
|
* @throws {RequiredError}
|
|
44059
44093
|
*/
|
|
44060
|
-
|
|
44061
|
-
return localVarFp.
|
|
44094
|
+
adminV1FeatureLimitsCheckGet(featureName: string, amount?: number, options?: RawAxiosRequestConfig): AxiosPromise<AdminV1FeatureLimitsCheckGet200Response> {
|
|
44095
|
+
return localVarFp.adminV1FeatureLimitsCheckGet(featureName, amount, options).then((request) => request(axios, basePath));
|
|
44062
44096
|
},
|
|
44063
44097
|
/**
|
|
44064
44098
|
* Retrieves historical feature usage events for the organization
|
|
@@ -44068,8 +44102,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
|
|
|
44068
44102
|
* @param {*} [options] Override http request option.
|
|
44069
44103
|
* @throws {RequiredError}
|
|
44070
44104
|
*/
|
|
44071
|
-
|
|
44072
|
-
return localVarFp.
|
|
44105
|
+
adminV1FeatureLimitsHistoryGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<AdminV1FeatureLimitsHistoryGet200Response> {
|
|
44106
|
+
return localVarFp.adminV1FeatureLimitsHistoryGet(featureName, limit, options).then((request) => request(axios, basePath));
|
|
44073
44107
|
},
|
|
44074
44108
|
/**
|
|
44075
44109
|
* Retrieves the organization\'s current plan with all feature limits
|
|
@@ -44077,8 +44111,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
|
|
|
44077
44111
|
* @param {*} [options] Override http request option.
|
|
44078
44112
|
* @throws {RequiredError}
|
|
44079
44113
|
*/
|
|
44080
|
-
|
|
44081
|
-
return localVarFp.
|
|
44114
|
+
adminV1FeatureLimitsPlanGet(options?: RawAxiosRequestConfig): AxiosPromise<AdminV1FeatureLimitsPlanGet200Response> {
|
|
44115
|
+
return localVarFp.adminV1FeatureLimitsPlanGet(options).then((request) => request(axios, basePath));
|
|
44082
44116
|
},
|
|
44083
44117
|
/**
|
|
44084
44118
|
* Returns plan details and feature availability map for UI rendering
|
|
@@ -44086,8 +44120,17 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
|
|
|
44086
44120
|
* @param {*} [options] Override http request option.
|
|
44087
44121
|
* @throws {RequiredError}
|
|
44088
44122
|
*/
|
|
44089
|
-
|
|
44090
|
-
return localVarFp.
|
|
44123
|
+
adminV1FeatureLimitsPlanInfoGet(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
|
|
44124
|
+
return localVarFp.adminV1FeatureLimitsPlanInfoGet(options).then((request) => request(axios, basePath));
|
|
44125
|
+
},
|
|
44126
|
+
/**
|
|
44127
|
+
* Returns plan information and feature availability map for the current user
|
|
44128
|
+
* @summary Get user plan information
|
|
44129
|
+
* @param {*} [options] Override http request option.
|
|
44130
|
+
* @throws {RequiredError}
|
|
44131
|
+
*/
|
|
44132
|
+
adminV1FeatureLimitsPlanUserInfoGet(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
|
|
44133
|
+
return localVarFp.adminV1FeatureLimitsPlanUserInfoGet(options).then((request) => request(axios, basePath));
|
|
44091
44134
|
},
|
|
44092
44135
|
/**
|
|
44093
44136
|
* Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
|
|
@@ -44095,8 +44138,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
|
|
|
44095
44138
|
* @param {*} [options] Override http request option.
|
|
44096
44139
|
* @throws {RequiredError}
|
|
44097
44140
|
*/
|
|
44098
|
-
|
|
44099
|
-
return localVarFp.
|
|
44141
|
+
adminV1FeatureLimitsStatusGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseFeatureLimitServiceLimitStatus> {
|
|
44142
|
+
return localVarFp.adminV1FeatureLimitsStatusGet(options).then((request) => request(axios, basePath));
|
|
44100
44143
|
},
|
|
44101
44144
|
/**
|
|
44102
44145
|
* Retrieves current feature usage statistics for the organization
|
|
@@ -44104,8 +44147,19 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
|
|
|
44104
44147
|
* @param {*} [options] Override http request option.
|
|
44105
44148
|
* @throws {RequiredError}
|
|
44106
44149
|
*/
|
|
44107
|
-
|
|
44108
|
-
return localVarFp.
|
|
44150
|
+
adminV1FeatureLimitsUsageGet(options?: RawAxiosRequestConfig): AxiosPromise<AdminV1FeatureLimitsUsageGet200Response> {
|
|
44151
|
+
return localVarFp.adminV1FeatureLimitsUsageGet(options).then((request) => request(axios, basePath));
|
|
44152
|
+
},
|
|
44153
|
+
/**
|
|
44154
|
+
* Retrieves log of feature limit violations for monitoring
|
|
44155
|
+
* @summary Get feature limit violations
|
|
44156
|
+
* @param {string} [featureName] Filter by feature name
|
|
44157
|
+
* @param {number} [limit] Number of records to return (default: 50)
|
|
44158
|
+
* @param {*} [options] Override http request option.
|
|
44159
|
+
* @throws {RequiredError}
|
|
44160
|
+
*/
|
|
44161
|
+
adminV1FeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<AdminV1FeatureLimitsViolationsGet200Response> {
|
|
44162
|
+
return localVarFp.adminV1FeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(axios, basePath));
|
|
44109
44163
|
},
|
|
44110
44164
|
};
|
|
44111
44165
|
};
|
|
@@ -44117,19 +44171,6 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
|
|
|
44117
44171
|
* @extends {BaseAPI}
|
|
44118
44172
|
*/
|
|
44119
44173
|
export class FeatureLimitsApi extends BaseAPI {
|
|
44120
|
-
/**
|
|
44121
|
-
* Retrieves log of feature limit violations for monitoring
|
|
44122
|
-
* @summary Get feature limit violations
|
|
44123
|
-
* @param {string} [featureName] Filter by feature name
|
|
44124
|
-
* @param {number} [limit] Number of records to return (default: 50)
|
|
44125
|
-
* @param {*} [options] Override http request option.
|
|
44126
|
-
* @throws {RequiredError}
|
|
44127
|
-
* @memberof FeatureLimitsApi
|
|
44128
|
-
*/
|
|
44129
|
-
public adminFeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig) {
|
|
44130
|
-
return FeatureLimitsApiFp(this.configuration).adminFeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
|
|
44131
|
-
}
|
|
44132
|
-
|
|
44133
44174
|
/**
|
|
44134
44175
|
* Checks if a specific feature is within limits without incrementing usage
|
|
44135
44176
|
* @summary Check if a feature can be used
|
|
@@ -44139,8 +44180,8 @@ export class FeatureLimitsApi extends BaseAPI {
|
|
|
44139
44180
|
* @throws {RequiredError}
|
|
44140
44181
|
* @memberof FeatureLimitsApi
|
|
44141
44182
|
*/
|
|
44142
|
-
public
|
|
44143
|
-
return FeatureLimitsApiFp(this.configuration).
|
|
44183
|
+
public adminV1FeatureLimitsCheckGet(featureName: string, amount?: number, options?: RawAxiosRequestConfig) {
|
|
44184
|
+
return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsCheckGet(featureName, amount, options).then((request) => request(this.axios, this.basePath));
|
|
44144
44185
|
}
|
|
44145
44186
|
|
|
44146
44187
|
/**
|
|
@@ -44152,8 +44193,8 @@ export class FeatureLimitsApi extends BaseAPI {
|
|
|
44152
44193
|
* @throws {RequiredError}
|
|
44153
44194
|
* @memberof FeatureLimitsApi
|
|
44154
44195
|
*/
|
|
44155
|
-
public
|
|
44156
|
-
return FeatureLimitsApiFp(this.configuration).
|
|
44196
|
+
public adminV1FeatureLimitsHistoryGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig) {
|
|
44197
|
+
return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsHistoryGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
|
|
44157
44198
|
}
|
|
44158
44199
|
|
|
44159
44200
|
/**
|
|
@@ -44163,8 +44204,8 @@ export class FeatureLimitsApi extends BaseAPI {
|
|
|
44163
44204
|
* @throws {RequiredError}
|
|
44164
44205
|
* @memberof FeatureLimitsApi
|
|
44165
44206
|
*/
|
|
44166
|
-
public
|
|
44167
|
-
return FeatureLimitsApiFp(this.configuration).
|
|
44207
|
+
public adminV1FeatureLimitsPlanGet(options?: RawAxiosRequestConfig) {
|
|
44208
|
+
return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsPlanGet(options).then((request) => request(this.axios, this.basePath));
|
|
44168
44209
|
}
|
|
44169
44210
|
|
|
44170
44211
|
/**
|
|
@@ -44174,8 +44215,19 @@ export class FeatureLimitsApi extends BaseAPI {
|
|
|
44174
44215
|
* @throws {RequiredError}
|
|
44175
44216
|
* @memberof FeatureLimitsApi
|
|
44176
44217
|
*/
|
|
44177
|
-
public
|
|
44178
|
-
return FeatureLimitsApiFp(this.configuration).
|
|
44218
|
+
public adminV1FeatureLimitsPlanInfoGet(options?: RawAxiosRequestConfig) {
|
|
44219
|
+
return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsPlanInfoGet(options).then((request) => request(this.axios, this.basePath));
|
|
44220
|
+
}
|
|
44221
|
+
|
|
44222
|
+
/**
|
|
44223
|
+
* Returns plan information and feature availability map for the current user
|
|
44224
|
+
* @summary Get user plan information
|
|
44225
|
+
* @param {*} [options] Override http request option.
|
|
44226
|
+
* @throws {RequiredError}
|
|
44227
|
+
* @memberof FeatureLimitsApi
|
|
44228
|
+
*/
|
|
44229
|
+
public adminV1FeatureLimitsPlanUserInfoGet(options?: RawAxiosRequestConfig) {
|
|
44230
|
+
return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsPlanUserInfoGet(options).then((request) => request(this.axios, this.basePath));
|
|
44179
44231
|
}
|
|
44180
44232
|
|
|
44181
44233
|
/**
|
|
@@ -44185,8 +44237,8 @@ export class FeatureLimitsApi extends BaseAPI {
|
|
|
44185
44237
|
* @throws {RequiredError}
|
|
44186
44238
|
* @memberof FeatureLimitsApi
|
|
44187
44239
|
*/
|
|
44188
|
-
public
|
|
44189
|
-
return FeatureLimitsApiFp(this.configuration).
|
|
44240
|
+
public adminV1FeatureLimitsStatusGet(options?: RawAxiosRequestConfig) {
|
|
44241
|
+
return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsStatusGet(options).then((request) => request(this.axios, this.basePath));
|
|
44190
44242
|
}
|
|
44191
44243
|
|
|
44192
44244
|
/**
|
|
@@ -44196,8 +44248,21 @@ export class FeatureLimitsApi extends BaseAPI {
|
|
|
44196
44248
|
* @throws {RequiredError}
|
|
44197
44249
|
* @memberof FeatureLimitsApi
|
|
44198
44250
|
*/
|
|
44199
|
-
public
|
|
44200
|
-
return FeatureLimitsApiFp(this.configuration).
|
|
44251
|
+
public adminV1FeatureLimitsUsageGet(options?: RawAxiosRequestConfig) {
|
|
44252
|
+
return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsUsageGet(options).then((request) => request(this.axios, this.basePath));
|
|
44253
|
+
}
|
|
44254
|
+
|
|
44255
|
+
/**
|
|
44256
|
+
* Retrieves log of feature limit violations for monitoring
|
|
44257
|
+
* @summary Get feature limit violations
|
|
44258
|
+
* @param {string} [featureName] Filter by feature name
|
|
44259
|
+
* @param {number} [limit] Number of records to return (default: 50)
|
|
44260
|
+
* @param {*} [options] Override http request option.
|
|
44261
|
+
* @throws {RequiredError}
|
|
44262
|
+
* @memberof FeatureLimitsApi
|
|
44263
|
+
*/
|
|
44264
|
+
public adminV1FeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig) {
|
|
44265
|
+
return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
|
|
44201
44266
|
}
|
|
44202
44267
|
}
|
|
44203
44268
|
|
|
@@ -44215,8 +44280,8 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration?:
|
|
|
44215
44280
|
* @param {*} [options] Override http request option.
|
|
44216
44281
|
* @throws {RequiredError}
|
|
44217
44282
|
*/
|
|
44218
|
-
|
|
44219
|
-
const localVarPath = `/admin/feature-limits/cache/invalidate`;
|
|
44283
|
+
adminV1FeatureLimitsCacheInvalidatePost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44284
|
+
const localVarPath = `/admin/v1/feature-limits/cache/invalidate`;
|
|
44220
44285
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44221
44286
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44222
44287
|
let baseOptions;
|
|
@@ -44249,8 +44314,8 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration?:
|
|
|
44249
44314
|
* @param {*} [options] Override http request option.
|
|
44250
44315
|
* @throws {RequiredError}
|
|
44251
44316
|
*/
|
|
44252
|
-
|
|
44253
|
-
const localVarPath = `/admin/feature-limits/metrics/sync`;
|
|
44317
|
+
adminV1FeatureLimitsMetricsSyncPost: async (force?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44318
|
+
const localVarPath = `/admin/v1/feature-limits/metrics/sync`;
|
|
44254
44319
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44255
44320
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44256
44321
|
let baseOptions;
|
|
@@ -44287,10 +44352,10 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration?:
|
|
|
44287
44352
|
* @param {*} [options] Override http request option.
|
|
44288
44353
|
* @throws {RequiredError}
|
|
44289
44354
|
*/
|
|
44290
|
-
|
|
44355
|
+
adminV1FeatureLimitsResetPost: async (featureName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44291
44356
|
// verify required parameter 'featureName' is not null or undefined
|
|
44292
|
-
assertParamExists('
|
|
44293
|
-
const localVarPath = `/admin/feature-limits/reset`;
|
|
44357
|
+
assertParamExists('adminV1FeatureLimitsResetPost', 'featureName', featureName)
|
|
44358
|
+
const localVarPath = `/admin/v1/feature-limits/reset`;
|
|
44294
44359
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44295
44360
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44296
44361
|
let baseOptions;
|
|
@@ -44336,10 +44401,10 @@ export const FeatureLimitsAdminApiFp = function(configuration?: Configuration) {
|
|
|
44336
44401
|
* @param {*} [options] Override http request option.
|
|
44337
44402
|
* @throws {RequiredError}
|
|
44338
44403
|
*/
|
|
44339
|
-
async
|
|
44340
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
44404
|
+
async adminV1FeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
44405
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1FeatureLimitsCacheInvalidatePost(options);
|
|
44341
44406
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
44342
|
-
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.
|
|
44407
|
+
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.adminV1FeatureLimitsCacheInvalidatePost']?.[localVarOperationServerIndex]?.url;
|
|
44343
44408
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
44344
44409
|
},
|
|
44345
44410
|
/**
|
|
@@ -44349,10 +44414,10 @@ export const FeatureLimitsAdminApiFp = function(configuration?: Configuration) {
|
|
|
44349
44414
|
* @param {*} [options] Override http request option.
|
|
44350
44415
|
* @throws {RequiredError}
|
|
44351
44416
|
*/
|
|
44352
|
-
async
|
|
44353
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
44417
|
+
async adminV1FeatureLimitsMetricsSyncPost(force?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
44418
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1FeatureLimitsMetricsSyncPost(force, options);
|
|
44354
44419
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
44355
|
-
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.
|
|
44420
|
+
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.adminV1FeatureLimitsMetricsSyncPost']?.[localVarOperationServerIndex]?.url;
|
|
44356
44421
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
44357
44422
|
},
|
|
44358
44423
|
/**
|
|
@@ -44362,10 +44427,10 @@ export const FeatureLimitsAdminApiFp = function(configuration?: Configuration) {
|
|
|
44362
44427
|
* @param {*} [options] Override http request option.
|
|
44363
44428
|
* @throws {RequiredError}
|
|
44364
44429
|
*/
|
|
44365
|
-
async
|
|
44366
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
44430
|
+
async adminV1FeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
44431
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1FeatureLimitsResetPost(featureName, options);
|
|
44367
44432
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
44368
|
-
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.
|
|
44433
|
+
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.adminV1FeatureLimitsResetPost']?.[localVarOperationServerIndex]?.url;
|
|
44369
44434
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
44370
44435
|
},
|
|
44371
44436
|
}
|
|
@@ -44384,8 +44449,8 @@ export const FeatureLimitsAdminApiFactory = function (configuration?: Configurat
|
|
|
44384
44449
|
* @param {*} [options] Override http request option.
|
|
44385
44450
|
* @throws {RequiredError}
|
|
44386
44451
|
*/
|
|
44387
|
-
|
|
44388
|
-
return localVarFp.
|
|
44452
|
+
adminV1FeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
44453
|
+
return localVarFp.adminV1FeatureLimitsCacheInvalidatePost(options).then((request) => request(axios, basePath));
|
|
44389
44454
|
},
|
|
44390
44455
|
/**
|
|
44391
44456
|
* Recalculates and syncs all metrics for the organization from source tables to database and Redis. For increment-based metrics (api_calls, analytics_events), only syncs if Redis is empty unless force=true
|
|
@@ -44394,8 +44459,8 @@ export const FeatureLimitsAdminApiFactory = function (configuration?: Configurat
|
|
|
44394
44459
|
* @param {*} [options] Override http request option.
|
|
44395
44460
|
* @throws {RequiredError}
|
|
44396
44461
|
*/
|
|
44397
|
-
|
|
44398
|
-
return localVarFp.
|
|
44462
|
+
adminV1FeatureLimitsMetricsSyncPost(force?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
44463
|
+
return localVarFp.adminV1FeatureLimitsMetricsSyncPost(force, options).then((request) => request(axios, basePath));
|
|
44399
44464
|
},
|
|
44400
44465
|
/**
|
|
44401
44466
|
* Resets usage counter for a specific feature (admin only)
|
|
@@ -44404,8 +44469,8 @@ export const FeatureLimitsAdminApiFactory = function (configuration?: Configurat
|
|
|
44404
44469
|
* @param {*} [options] Override http request option.
|
|
44405
44470
|
* @throws {RequiredError}
|
|
44406
44471
|
*/
|
|
44407
|
-
|
|
44408
|
-
return localVarFp.
|
|
44472
|
+
adminV1FeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
44473
|
+
return localVarFp.adminV1FeatureLimitsResetPost(featureName, options).then((request) => request(axios, basePath));
|
|
44409
44474
|
},
|
|
44410
44475
|
};
|
|
44411
44476
|
};
|
|
@@ -44424,8 +44489,8 @@ export class FeatureLimitsAdminApi extends BaseAPI {
|
|
|
44424
44489
|
* @throws {RequiredError}
|
|
44425
44490
|
* @memberof FeatureLimitsAdminApi
|
|
44426
44491
|
*/
|
|
44427
|
-
public
|
|
44428
|
-
return FeatureLimitsAdminApiFp(this.configuration).
|
|
44492
|
+
public adminV1FeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig) {
|
|
44493
|
+
return FeatureLimitsAdminApiFp(this.configuration).adminV1FeatureLimitsCacheInvalidatePost(options).then((request) => request(this.axios, this.basePath));
|
|
44429
44494
|
}
|
|
44430
44495
|
|
|
44431
44496
|
/**
|
|
@@ -44436,8 +44501,8 @@ export class FeatureLimitsAdminApi extends BaseAPI {
|
|
|
44436
44501
|
* @throws {RequiredError}
|
|
44437
44502
|
* @memberof FeatureLimitsAdminApi
|
|
44438
44503
|
*/
|
|
44439
|
-
public
|
|
44440
|
-
return FeatureLimitsAdminApiFp(this.configuration).
|
|
44504
|
+
public adminV1FeatureLimitsMetricsSyncPost(force?: boolean, options?: RawAxiosRequestConfig) {
|
|
44505
|
+
return FeatureLimitsAdminApiFp(this.configuration).adminV1FeatureLimitsMetricsSyncPost(force, options).then((request) => request(this.axios, this.basePath));
|
|
44441
44506
|
}
|
|
44442
44507
|
|
|
44443
44508
|
/**
|
|
@@ -44448,8 +44513,8 @@ export class FeatureLimitsAdminApi extends BaseAPI {
|
|
|
44448
44513
|
* @throws {RequiredError}
|
|
44449
44514
|
* @memberof FeatureLimitsAdminApi
|
|
44450
44515
|
*/
|
|
44451
|
-
public
|
|
44452
|
-
return FeatureLimitsAdminApiFp(this.configuration).
|
|
44516
|
+
public adminV1FeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig) {
|
|
44517
|
+
return FeatureLimitsAdminApiFp(this.configuration).adminV1FeatureLimitsResetPost(featureName, options).then((request) => request(this.axios, this.basePath));
|
|
44453
44518
|
}
|
|
44454
44519
|
}
|
|
44455
44520
|
|