@seekora-ai/admin-api 1.1.82 → 1.1.84
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 +32 -5
- package/api.ts +1362 -232
- package/dist/api.d.ts +1356 -224
- package/dist/api.js +28 -29
- package/dist/esm/api.d.ts +1356 -224
- package/dist/esm/api.js +28 -29
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.84.tgz +0 -0
- package/seekora-ai-admin-api-1.1.82.tgz +0 -0
package/api.ts
CHANGED
|
@@ -12432,7 +12432,6 @@ export interface DataTypesBillingAlertRequest {
|
|
|
12432
12432
|
|
|
12433
12433
|
export const DataTypesBillingAlertRequestAlertTypeEnum = {
|
|
12434
12434
|
LowBalance: 'low_balance',
|
|
12435
|
-
ExpiringCredits: 'expiring_credits',
|
|
12436
12435
|
DaysRemaining: 'days_remaining'
|
|
12437
12436
|
} as const;
|
|
12438
12437
|
|
|
@@ -12500,6 +12499,86 @@ export interface DataTypesBillingOrderDetailsResponse {
|
|
|
12500
12499
|
*/
|
|
12501
12500
|
'transactions'?: Array<DataTypesOrderTransactionDisplay>;
|
|
12502
12501
|
}
|
|
12502
|
+
/**
|
|
12503
|
+
*
|
|
12504
|
+
* @export
|
|
12505
|
+
* @interface DataTypesBillingOverviewNewResponse
|
|
12506
|
+
*/
|
|
12507
|
+
export interface DataTypesBillingOverviewNewResponse {
|
|
12508
|
+
/**
|
|
12509
|
+
* Credit balance information
|
|
12510
|
+
* @type {DataTypesCreditBalanceInfo}
|
|
12511
|
+
* @memberof DataTypesBillingOverviewNewResponse
|
|
12512
|
+
*/
|
|
12513
|
+
'credit_balance'?: DataTypesCreditBalanceInfo;
|
|
12514
|
+
/**
|
|
12515
|
+
*
|
|
12516
|
+
* @type {string}
|
|
12517
|
+
* @memberof DataTypesBillingOverviewNewResponse
|
|
12518
|
+
*/
|
|
12519
|
+
'currency'?: string;
|
|
12520
|
+
/**
|
|
12521
|
+
* Current plan information
|
|
12522
|
+
* @type {DataTypesCurrentPlanInfo}
|
|
12523
|
+
* @memberof DataTypesBillingOverviewNewResponse
|
|
12524
|
+
*/
|
|
12525
|
+
'current_plan'?: DataTypesCurrentPlanInfo;
|
|
12526
|
+
/**
|
|
12527
|
+
* Next charge information (for subscriptions)
|
|
12528
|
+
* @type {DataTypesNextChargeInfo}
|
|
12529
|
+
* @memberof DataTypesBillingOverviewNewResponse
|
|
12530
|
+
*/
|
|
12531
|
+
'next_charge'?: DataTypesNextChargeInfo;
|
|
12532
|
+
/**
|
|
12533
|
+
* Projected runout information
|
|
12534
|
+
* @type {DataTypesProjectedRunoutInfo}
|
|
12535
|
+
* @memberof DataTypesBillingOverviewNewResponse
|
|
12536
|
+
*/
|
|
12537
|
+
'projected_runout'?: DataTypesProjectedRunoutInfo;
|
|
12538
|
+
/**
|
|
12539
|
+
* Total spent
|
|
12540
|
+
* @type {number}
|
|
12541
|
+
* @memberof DataTypesBillingOverviewNewResponse
|
|
12542
|
+
*/
|
|
12543
|
+
'total_spent'?: number;
|
|
12544
|
+
/**
|
|
12545
|
+
* Detailed usage metrics for ALL consumables
|
|
12546
|
+
* @type {DataTypesDetailedUsageMetrics}
|
|
12547
|
+
* @memberof DataTypesBillingOverviewNewResponse
|
|
12548
|
+
*/
|
|
12549
|
+
'usage_metrics'?: DataTypesDetailedUsageMetrics;
|
|
12550
|
+
/**
|
|
12551
|
+
* Usage summary for current period
|
|
12552
|
+
* @type {DataTypesUsageSummary}
|
|
12553
|
+
* @memberof DataTypesBillingOverviewNewResponse
|
|
12554
|
+
*/
|
|
12555
|
+
'usage_summary'?: DataTypesUsageSummary;
|
|
12556
|
+
}
|
|
12557
|
+
/**
|
|
12558
|
+
*
|
|
12559
|
+
* @export
|
|
12560
|
+
* @interface DataTypesBooleanFeatureMetric
|
|
12561
|
+
*/
|
|
12562
|
+
export interface DataTypesBooleanFeatureMetric {
|
|
12563
|
+
/**
|
|
12564
|
+
*
|
|
12565
|
+
* @type {string}
|
|
12566
|
+
* @memberof DataTypesBooleanFeatureMetric
|
|
12567
|
+
*/
|
|
12568
|
+
'display_label'?: string;
|
|
12569
|
+
/**
|
|
12570
|
+
*
|
|
12571
|
+
* @type {boolean}
|
|
12572
|
+
* @memberof DataTypesBooleanFeatureMetric
|
|
12573
|
+
*/
|
|
12574
|
+
'enabled'?: boolean;
|
|
12575
|
+
/**
|
|
12576
|
+
*
|
|
12577
|
+
* @type {string}
|
|
12578
|
+
* @memberof DataTypesBooleanFeatureMetric
|
|
12579
|
+
*/
|
|
12580
|
+
'feature_name'?: string;
|
|
12581
|
+
}
|
|
12503
12582
|
/**
|
|
12504
12583
|
*
|
|
12505
12584
|
* @export
|
|
@@ -13326,6 +13405,129 @@ export interface DataTypesConfigurationSchemaResponseWrapper {
|
|
|
13326
13405
|
*/
|
|
13327
13406
|
'status'?: number;
|
|
13328
13407
|
}
|
|
13408
|
+
/**
|
|
13409
|
+
*
|
|
13410
|
+
* @export
|
|
13411
|
+
* @interface DataTypesConsumableMetric
|
|
13412
|
+
*/
|
|
13413
|
+
export interface DataTypesConsumableMetric {
|
|
13414
|
+
/**
|
|
13415
|
+
*
|
|
13416
|
+
* @type {number}
|
|
13417
|
+
* @memberof DataTypesConsumableMetric
|
|
13418
|
+
*/
|
|
13419
|
+
'current_usage'?: number;
|
|
13420
|
+
/**
|
|
13421
|
+
*
|
|
13422
|
+
* @type {string}
|
|
13423
|
+
* @memberof DataTypesConsumableMetric
|
|
13424
|
+
*/
|
|
13425
|
+
'description'?: string;
|
|
13426
|
+
/**
|
|
13427
|
+
*
|
|
13428
|
+
* @type {string}
|
|
13429
|
+
* @memberof DataTypesConsumableMetric
|
|
13430
|
+
*/
|
|
13431
|
+
'display_label'?: string;
|
|
13432
|
+
/**
|
|
13433
|
+
*
|
|
13434
|
+
* @type {string}
|
|
13435
|
+
* @memberof DataTypesConsumableMetric
|
|
13436
|
+
*/
|
|
13437
|
+
'feature_name'?: string;
|
|
13438
|
+
/**
|
|
13439
|
+
*
|
|
13440
|
+
* @type {boolean}
|
|
13441
|
+
* @memberof DataTypesConsumableMetric
|
|
13442
|
+
*/
|
|
13443
|
+
'is_unlimited'?: boolean;
|
|
13444
|
+
/**
|
|
13445
|
+
*
|
|
13446
|
+
* @type {number}
|
|
13447
|
+
* @memberof DataTypesConsumableMetric
|
|
13448
|
+
*/
|
|
13449
|
+
'limit'?: number;
|
|
13450
|
+
/**
|
|
13451
|
+
*
|
|
13452
|
+
* @type {string}
|
|
13453
|
+
* @memberof DataTypesConsumableMetric
|
|
13454
|
+
*/
|
|
13455
|
+
'next_reset'?: string;
|
|
13456
|
+
/**
|
|
13457
|
+
*
|
|
13458
|
+
* @type {number}
|
|
13459
|
+
* @memberof DataTypesConsumableMetric
|
|
13460
|
+
*/
|
|
13461
|
+
'remaining'?: number;
|
|
13462
|
+
/**
|
|
13463
|
+
* \"monthly\", \"never\", etc.
|
|
13464
|
+
* @type {string}
|
|
13465
|
+
* @memberof DataTypesConsumableMetric
|
|
13466
|
+
*/
|
|
13467
|
+
'reset_period'?: string;
|
|
13468
|
+
/**
|
|
13469
|
+
*
|
|
13470
|
+
* @type {number}
|
|
13471
|
+
* @memberof DataTypesConsumableMetric
|
|
13472
|
+
*/
|
|
13473
|
+
'usage_percentage'?: number;
|
|
13474
|
+
/**
|
|
13475
|
+
* \"normal\", \"warning\", \"critical\"
|
|
13476
|
+
* @type {string}
|
|
13477
|
+
* @memberof DataTypesConsumableMetric
|
|
13478
|
+
*/
|
|
13479
|
+
'warning_level'?: string;
|
|
13480
|
+
}
|
|
13481
|
+
/**
|
|
13482
|
+
*
|
|
13483
|
+
* @export
|
|
13484
|
+
* @interface DataTypesConsumptionHistoryResponse
|
|
13485
|
+
*/
|
|
13486
|
+
export interface DataTypesConsumptionHistoryResponse {
|
|
13487
|
+
/**
|
|
13488
|
+
*
|
|
13489
|
+
* @type {Array<DataTypesCreditConsumption>}
|
|
13490
|
+
* @memberof DataTypesConsumptionHistoryResponse
|
|
13491
|
+
*/
|
|
13492
|
+
'consumptions'?: Array<DataTypesCreditConsumption>;
|
|
13493
|
+
/**
|
|
13494
|
+
*
|
|
13495
|
+
* @type {DataTypesPaginationInfo}
|
|
13496
|
+
* @memberof DataTypesConsumptionHistoryResponse
|
|
13497
|
+
*/
|
|
13498
|
+
'pagination'?: DataTypesPaginationInfo;
|
|
13499
|
+
/**
|
|
13500
|
+
*
|
|
13501
|
+
* @type {DataTypesConsumptionSummary}
|
|
13502
|
+
* @memberof DataTypesConsumptionHistoryResponse
|
|
13503
|
+
*/
|
|
13504
|
+
'summary'?: DataTypesConsumptionSummary;
|
|
13505
|
+
}
|
|
13506
|
+
/**
|
|
13507
|
+
*
|
|
13508
|
+
* @export
|
|
13509
|
+
* @interface DataTypesConsumptionSummary
|
|
13510
|
+
*/
|
|
13511
|
+
export interface DataTypesConsumptionSummary {
|
|
13512
|
+
/**
|
|
13513
|
+
*
|
|
13514
|
+
* @type {number}
|
|
13515
|
+
* @memberof DataTypesConsumptionSummary
|
|
13516
|
+
*/
|
|
13517
|
+
'total_consumptions'?: number;
|
|
13518
|
+
/**
|
|
13519
|
+
*
|
|
13520
|
+
* @type {number}
|
|
13521
|
+
* @memberof DataTypesConsumptionSummary
|
|
13522
|
+
*/
|
|
13523
|
+
'total_credits_used'?: number;
|
|
13524
|
+
/**
|
|
13525
|
+
*
|
|
13526
|
+
* @type {number}
|
|
13527
|
+
* @memberof DataTypesConsumptionSummary
|
|
13528
|
+
*/
|
|
13529
|
+
'unique_endpoints'?: number;
|
|
13530
|
+
}
|
|
13329
13531
|
/**
|
|
13330
13532
|
* Request payload for creating a new analytics rule
|
|
13331
13533
|
* @export
|
|
@@ -14613,6 +14815,140 @@ export interface DataTypesCreditAdjustmentDto {
|
|
|
14613
14815
|
*/
|
|
14614
14816
|
'status'?: string;
|
|
14615
14817
|
}
|
|
14818
|
+
/**
|
|
14819
|
+
*
|
|
14820
|
+
* @export
|
|
14821
|
+
* @interface DataTypesCreditBalanceInfo
|
|
14822
|
+
*/
|
|
14823
|
+
export interface DataTypesCreditBalanceInfo {
|
|
14824
|
+
/**
|
|
14825
|
+
*
|
|
14826
|
+
* @type {number}
|
|
14827
|
+
* @memberof DataTypesCreditBalanceInfo
|
|
14828
|
+
*/
|
|
14829
|
+
'subscription_credits_available'?: number;
|
|
14830
|
+
/**
|
|
14831
|
+
*
|
|
14832
|
+
* @type {number}
|
|
14833
|
+
* @memberof DataTypesCreditBalanceInfo
|
|
14834
|
+
*/
|
|
14835
|
+
'subscription_credits_consumed'?: number;
|
|
14836
|
+
/**
|
|
14837
|
+
*
|
|
14838
|
+
* @type {number}
|
|
14839
|
+
* @memberof DataTypesCreditBalanceInfo
|
|
14840
|
+
*/
|
|
14841
|
+
'subscription_credits_total'?: number;
|
|
14842
|
+
/**
|
|
14843
|
+
*
|
|
14844
|
+
* @type {number}
|
|
14845
|
+
* @memberof DataTypesCreditBalanceInfo
|
|
14846
|
+
*/
|
|
14847
|
+
'topup_credits_available'?: number;
|
|
14848
|
+
/**
|
|
14849
|
+
*
|
|
14850
|
+
* @type {number}
|
|
14851
|
+
* @memberof DataTypesCreditBalanceInfo
|
|
14852
|
+
*/
|
|
14853
|
+
'topup_credits_consumed'?: number;
|
|
14854
|
+
/**
|
|
14855
|
+
*
|
|
14856
|
+
* @type {number}
|
|
14857
|
+
* @memberof DataTypesCreditBalanceInfo
|
|
14858
|
+
*/
|
|
14859
|
+
'topup_credits_total'?: number;
|
|
14860
|
+
/**
|
|
14861
|
+
*
|
|
14862
|
+
* @type {number}
|
|
14863
|
+
* @memberof DataTypesCreditBalanceInfo
|
|
14864
|
+
*/
|
|
14865
|
+
'total_consumed_this_cycle'?: number;
|
|
14866
|
+
/**
|
|
14867
|
+
*
|
|
14868
|
+
* @type {number}
|
|
14869
|
+
* @memberof DataTypesCreditBalanceInfo
|
|
14870
|
+
*/
|
|
14871
|
+
'total_credits'?: number;
|
|
14872
|
+
}
|
|
14873
|
+
/**
|
|
14874
|
+
*
|
|
14875
|
+
* @export
|
|
14876
|
+
* @interface DataTypesCreditConsumption
|
|
14877
|
+
*/
|
|
14878
|
+
export interface DataTypesCreditConsumption {
|
|
14879
|
+
/**
|
|
14880
|
+
*
|
|
14881
|
+
* @type {string}
|
|
14882
|
+
* @memberof DataTypesCreditConsumption
|
|
14883
|
+
*/
|
|
14884
|
+
'api_endpoint'?: string;
|
|
14885
|
+
/**
|
|
14886
|
+
*
|
|
14887
|
+
* @type {string}
|
|
14888
|
+
* @memberof DataTypesCreditConsumption
|
|
14889
|
+
*/
|
|
14890
|
+
'consumed_at'?: string;
|
|
14891
|
+
/**
|
|
14892
|
+
*
|
|
14893
|
+
* @type {number}
|
|
14894
|
+
* @memberof DataTypesCreditConsumption
|
|
14895
|
+
*/
|
|
14896
|
+
'consumption_id'?: number;
|
|
14897
|
+
/**
|
|
14898
|
+
*
|
|
14899
|
+
* @type {string}
|
|
14900
|
+
* @memberof DataTypesCreditConsumption
|
|
14901
|
+
*/
|
|
14902
|
+
'credit_source'?: string;
|
|
14903
|
+
/**
|
|
14904
|
+
*
|
|
14905
|
+
* @type {number}
|
|
14906
|
+
* @memberof DataTypesCreditConsumption
|
|
14907
|
+
*/
|
|
14908
|
+
'credits_consumed'?: number;
|
|
14909
|
+
/**
|
|
14910
|
+
*
|
|
14911
|
+
* @type {number}
|
|
14912
|
+
* @memberof DataTypesCreditConsumption
|
|
14913
|
+
*/
|
|
14914
|
+
'execution_time_ms'?: number;
|
|
14915
|
+
/**
|
|
14916
|
+
*
|
|
14917
|
+
* @type {{ [key: string]: any; }}
|
|
14918
|
+
* @memberof DataTypesCreditConsumption
|
|
14919
|
+
*/
|
|
14920
|
+
'fifo_details'?: { [key: string]: any; };
|
|
14921
|
+
/**
|
|
14922
|
+
*
|
|
14923
|
+
* @type {string}
|
|
14924
|
+
* @memberof DataTypesCreditConsumption
|
|
14925
|
+
*/
|
|
14926
|
+
'http_method'?: string;
|
|
14927
|
+
/**
|
|
14928
|
+
*
|
|
14929
|
+
* @type {number}
|
|
14930
|
+
* @memberof DataTypesCreditConsumption
|
|
14931
|
+
*/
|
|
14932
|
+
'org_id'?: number;
|
|
14933
|
+
/**
|
|
14934
|
+
*
|
|
14935
|
+
* @type {string}
|
|
14936
|
+
* @memberof DataTypesCreditConsumption
|
|
14937
|
+
*/
|
|
14938
|
+
'request_id'?: string;
|
|
14939
|
+
/**
|
|
14940
|
+
*
|
|
14941
|
+
* @type {number}
|
|
14942
|
+
* @memberof DataTypesCreditConsumption
|
|
14943
|
+
*/
|
|
14944
|
+
'response_status'?: number;
|
|
14945
|
+
/**
|
|
14946
|
+
*
|
|
14947
|
+
* @type {number}
|
|
14948
|
+
* @memberof DataTypesCreditConsumption
|
|
14949
|
+
*/
|
|
14950
|
+
'store_id'?: number;
|
|
14951
|
+
}
|
|
14616
14952
|
/**
|
|
14617
14953
|
*
|
|
14618
14954
|
* @export
|
|
@@ -14710,7 +15046,7 @@ export interface DataTypesCreditPlan {
|
|
|
14710
15046
|
*/
|
|
14711
15047
|
'price': number;
|
|
14712
15048
|
/**
|
|
14713
|
-
*
|
|
15049
|
+
* Deprecated: kept for DB compat, ignored
|
|
14714
15050
|
* @type {number}
|
|
14715
15051
|
* @memberof DataTypesCreditPlan
|
|
14716
15052
|
*/
|
|
@@ -15354,6 +15690,139 @@ export interface DataTypesDefaultMenu {
|
|
|
15354
15690
|
*/
|
|
15355
15691
|
'sortOrder'?: number;
|
|
15356
15692
|
}
|
|
15693
|
+
/**
|
|
15694
|
+
*
|
|
15695
|
+
* @export
|
|
15696
|
+
* @interface DataTypesDetailedUsageMetrics
|
|
15697
|
+
*/
|
|
15698
|
+
export interface DataTypesDetailedUsageMetrics {
|
|
15699
|
+
/**
|
|
15700
|
+
* Analytics
|
|
15701
|
+
* @type {DataTypesConsumableMetric}
|
|
15702
|
+
* @memberof DataTypesDetailedUsageMetrics
|
|
15703
|
+
*/
|
|
15704
|
+
'analytics_events'?: DataTypesConsumableMetric;
|
|
15705
|
+
/**
|
|
15706
|
+
*
|
|
15707
|
+
* @type {DataTypesConsumableMetric}
|
|
15708
|
+
* @memberof DataTypesDetailedUsageMetrics
|
|
15709
|
+
*/
|
|
15710
|
+
'analytics_events_total'?: DataTypesConsumableMetric;
|
|
15711
|
+
/**
|
|
15712
|
+
*
|
|
15713
|
+
* @type {DataTypesConsumableMetric}
|
|
15714
|
+
* @memberof DataTypesDetailedUsageMetrics
|
|
15715
|
+
*/
|
|
15716
|
+
'analytics_history'?: DataTypesConsumableMetric;
|
|
15717
|
+
/**
|
|
15718
|
+
*
|
|
15719
|
+
* @type {DataTypesBooleanFeatureMetric}
|
|
15720
|
+
* @memberof DataTypesDetailedUsageMetrics
|
|
15721
|
+
*/
|
|
15722
|
+
'api_access'?: DataTypesBooleanFeatureMetric;
|
|
15723
|
+
/**
|
|
15724
|
+
*
|
|
15725
|
+
* @type {DataTypesConsumableMetric}
|
|
15726
|
+
* @memberof DataTypesDetailedUsageMetrics
|
|
15727
|
+
*/
|
|
15728
|
+
'api_calls'?: DataTypesConsumableMetric;
|
|
15729
|
+
/**
|
|
15730
|
+
* Credits and API
|
|
15731
|
+
* @type {DataTypesConsumableMetric}
|
|
15732
|
+
* @memberof DataTypesDetailedUsageMetrics
|
|
15733
|
+
*/
|
|
15734
|
+
'credits'?: DataTypesConsumableMetric;
|
|
15735
|
+
/**
|
|
15736
|
+
*
|
|
15737
|
+
* @type {DataTypesConsumableMetric}
|
|
15738
|
+
* @memberof DataTypesDetailedUsageMetrics
|
|
15739
|
+
*/
|
|
15740
|
+
'credits_used'?: DataTypesConsumableMetric;
|
|
15741
|
+
/**
|
|
15742
|
+
* Boolean features
|
|
15743
|
+
* @type {DataTypesBooleanFeatureMetric}
|
|
15744
|
+
* @memberof DataTypesDetailedUsageMetrics
|
|
15745
|
+
*/
|
|
15746
|
+
'custom_domain'?: DataTypesBooleanFeatureMetric;
|
|
15747
|
+
/**
|
|
15748
|
+
*
|
|
15749
|
+
* @type {DataTypesConsumableMetric}
|
|
15750
|
+
* @memberof DataTypesDetailedUsageMetrics
|
|
15751
|
+
*/
|
|
15752
|
+
'query_suggestions'?: DataTypesConsumableMetric;
|
|
15753
|
+
/**
|
|
15754
|
+
*
|
|
15755
|
+
* @type {DataTypesConsumableMetric}
|
|
15756
|
+
* @memberof DataTypesDetailedUsageMetrics
|
|
15757
|
+
*/
|
|
15758
|
+
'record_size'?: DataTypesConsumableMetric;
|
|
15759
|
+
/**
|
|
15760
|
+
* Records/Documents
|
|
15761
|
+
* @type {DataTypesConsumableMetric}
|
|
15762
|
+
* @memberof DataTypesDetailedUsageMetrics
|
|
15763
|
+
*/
|
|
15764
|
+
'records'?: DataTypesConsumableMetric;
|
|
15765
|
+
/**
|
|
15766
|
+
*
|
|
15767
|
+
* @type {DataTypesStringFeatureMetric}
|
|
15768
|
+
* @memberof DataTypesDetailedUsageMetrics
|
|
15769
|
+
*/
|
|
15770
|
+
'reports'?: DataTypesStringFeatureMetric;
|
|
15771
|
+
/**
|
|
15772
|
+
*
|
|
15773
|
+
* @type {DataTypesConsumableMetric}
|
|
15774
|
+
* @memberof DataTypesDetailedUsageMetrics
|
|
15775
|
+
*/
|
|
15776
|
+
'rules'?: DataTypesConsumableMetric;
|
|
15777
|
+
/**
|
|
15778
|
+
* Search features
|
|
15779
|
+
* @type {DataTypesConsumableMetric}
|
|
15780
|
+
* @memberof DataTypesDetailedUsageMetrics
|
|
15781
|
+
*/
|
|
15782
|
+
'search_requests'?: DataTypesConsumableMetric;
|
|
15783
|
+
/**
|
|
15784
|
+
*
|
|
15785
|
+
* @type {DataTypesConsumableMetric}
|
|
15786
|
+
* @memberof DataTypesDetailedUsageMetrics
|
|
15787
|
+
*/
|
|
15788
|
+
'stopwords'?: DataTypesConsumableMetric;
|
|
15789
|
+
/**
|
|
15790
|
+
* Store-related
|
|
15791
|
+
* @type {DataTypesConsumableMetric}
|
|
15792
|
+
* @memberof DataTypesDetailedUsageMetrics
|
|
15793
|
+
*/
|
|
15794
|
+
'stores'?: DataTypesConsumableMetric;
|
|
15795
|
+
/**
|
|
15796
|
+
* String features
|
|
15797
|
+
* @type {DataTypesStringFeatureMetric}
|
|
15798
|
+
* @memberof DataTypesDetailedUsageMetrics
|
|
15799
|
+
*/
|
|
15800
|
+
'support_level'?: DataTypesStringFeatureMetric;
|
|
15801
|
+
/**
|
|
15802
|
+
*
|
|
15803
|
+
* @type {DataTypesConsumableMetric}
|
|
15804
|
+
* @memberof DataTypesDetailedUsageMetrics
|
|
15805
|
+
*/
|
|
15806
|
+
'synonyms'?: DataTypesConsumableMetric;
|
|
15807
|
+
/**
|
|
15808
|
+
* Team
|
|
15809
|
+
* @type {DataTypesConsumableMetric}
|
|
15810
|
+
* @memberof DataTypesDetailedUsageMetrics
|
|
15811
|
+
*/
|
|
15812
|
+
'team_members'?: DataTypesConsumableMetric;
|
|
15813
|
+
/**
|
|
15814
|
+
*
|
|
15815
|
+
* @type {DataTypesBooleanFeatureMetric}
|
|
15816
|
+
* @memberof DataTypesDetailedUsageMetrics
|
|
15817
|
+
*/
|
|
15818
|
+
'webhooks'?: DataTypesBooleanFeatureMetric;
|
|
15819
|
+
/**
|
|
15820
|
+
*
|
|
15821
|
+
* @type {DataTypesBooleanFeatureMetric}
|
|
15822
|
+
* @memberof DataTypesDetailedUsageMetrics
|
|
15823
|
+
*/
|
|
15824
|
+
'white_labeling'?: DataTypesBooleanFeatureMetric;
|
|
15825
|
+
}
|
|
15357
15826
|
/**
|
|
15358
15827
|
*
|
|
15359
15828
|
* @export
|
|
@@ -15856,6 +16325,18 @@ export interface DataTypesErrorMetaResponse {
|
|
|
15856
16325
|
* @interface DataTypesEventPayload
|
|
15857
16326
|
*/
|
|
15858
16327
|
export interface DataTypesEventPayload {
|
|
16328
|
+
/**
|
|
16329
|
+
* ============================================================================ A/B Testing (V3) ============================================================================
|
|
16330
|
+
* @type {string}
|
|
16331
|
+
* @memberof DataTypesEventPayload
|
|
16332
|
+
*/
|
|
16333
|
+
'ab_test_id'?: string;
|
|
16334
|
+
/**
|
|
16335
|
+
* Variant assignment
|
|
16336
|
+
* @type {string}
|
|
16337
|
+
* @memberof DataTypesEventPayload
|
|
16338
|
+
*/
|
|
16339
|
+
'ab_variant'?: string;
|
|
15859
16340
|
/**
|
|
15860
16341
|
* ============================================================================ Analytics & Metadata ============================================================================
|
|
15861
16342
|
* @type {Array<string>}
|
|
@@ -15904,6 +16385,12 @@ export interface DataTypesEventPayload {
|
|
|
15904
16385
|
* @memberof DataTypesEventPayload
|
|
15905
16386
|
*/
|
|
15906
16387
|
'city'?: string;
|
|
16388
|
+
/**
|
|
16389
|
+
* new_tab, same_page, in_page
|
|
16390
|
+
* @type {string}
|
|
16391
|
+
* @memberof DataTypesEventPayload
|
|
16392
|
+
*/
|
|
16393
|
+
'click_target'?: string;
|
|
15907
16394
|
/**
|
|
15908
16395
|
* query, product, category, brand, trending, recent
|
|
15909
16396
|
* @type {string}
|
|
@@ -15982,6 +16469,12 @@ export interface DataTypesEventPayload {
|
|
|
15982
16469
|
* @memberof DataTypesEventPayload
|
|
15983
16470
|
*/
|
|
15984
16471
|
'custom_json'?: string;
|
|
16472
|
+
/**
|
|
16473
|
+
* ============================================================================ Navigation Tracking (V3) ============================================================================
|
|
16474
|
+
* @type {string}
|
|
16475
|
+
* @memberof DataTypesEventPayload
|
|
16476
|
+
*/
|
|
16477
|
+
'destination_url'?: string;
|
|
15985
16478
|
/**
|
|
15986
16479
|
*
|
|
15987
16480
|
* @type {string}
|
|
@@ -16216,6 +16709,12 @@ export interface DataTypesEventPayload {
|
|
|
16216
16709
|
* @memberof DataTypesEventPayload
|
|
16217
16710
|
*/
|
|
16218
16711
|
'session_id'?: string;
|
|
16712
|
+
/**
|
|
16713
|
+
* URL where click originated
|
|
16714
|
+
* @type {string}
|
|
16715
|
+
* @memberof DataTypesEventPayload
|
|
16716
|
+
*/
|
|
16717
|
+
'source_url'?: string;
|
|
16219
16718
|
/**
|
|
16220
16719
|
*
|
|
16221
16720
|
* @type {string}
|
|
@@ -18018,6 +18517,56 @@ export interface DataTypesGenericResponseDataTypesBillingOrderDetailsResponse {
|
|
|
18018
18517
|
*/
|
|
18019
18518
|
'status'?: number;
|
|
18020
18519
|
}
|
|
18520
|
+
/**
|
|
18521
|
+
*
|
|
18522
|
+
* @export
|
|
18523
|
+
* @interface DataTypesGenericResponseDataTypesBillingOverviewNewResponse
|
|
18524
|
+
*/
|
|
18525
|
+
export interface DataTypesGenericResponseDataTypesBillingOverviewNewResponse {
|
|
18526
|
+
/**
|
|
18527
|
+
*
|
|
18528
|
+
* @type {DataTypesBillingOverviewNewResponse}
|
|
18529
|
+
* @memberof DataTypesGenericResponseDataTypesBillingOverviewNewResponse
|
|
18530
|
+
*/
|
|
18531
|
+
'data'?: DataTypesBillingOverviewNewResponse;
|
|
18532
|
+
/**
|
|
18533
|
+
*
|
|
18534
|
+
* @type {string}
|
|
18535
|
+
* @memberof DataTypesGenericResponseDataTypesBillingOverviewNewResponse
|
|
18536
|
+
*/
|
|
18537
|
+
'message'?: string;
|
|
18538
|
+
/**
|
|
18539
|
+
*
|
|
18540
|
+
* @type {number}
|
|
18541
|
+
* @memberof DataTypesGenericResponseDataTypesBillingOverviewNewResponse
|
|
18542
|
+
*/
|
|
18543
|
+
'status'?: number;
|
|
18544
|
+
}
|
|
18545
|
+
/**
|
|
18546
|
+
*
|
|
18547
|
+
* @export
|
|
18548
|
+
* @interface DataTypesGenericResponseDataTypesConsumptionHistoryResponse
|
|
18549
|
+
*/
|
|
18550
|
+
export interface DataTypesGenericResponseDataTypesConsumptionHistoryResponse {
|
|
18551
|
+
/**
|
|
18552
|
+
*
|
|
18553
|
+
* @type {DataTypesConsumptionHistoryResponse}
|
|
18554
|
+
* @memberof DataTypesGenericResponseDataTypesConsumptionHistoryResponse
|
|
18555
|
+
*/
|
|
18556
|
+
'data'?: DataTypesConsumptionHistoryResponse;
|
|
18557
|
+
/**
|
|
18558
|
+
*
|
|
18559
|
+
* @type {string}
|
|
18560
|
+
* @memberof DataTypesGenericResponseDataTypesConsumptionHistoryResponse
|
|
18561
|
+
*/
|
|
18562
|
+
'message'?: string;
|
|
18563
|
+
/**
|
|
18564
|
+
*
|
|
18565
|
+
* @type {number}
|
|
18566
|
+
* @memberof DataTypesGenericResponseDataTypesConsumptionHistoryResponse
|
|
18567
|
+
*/
|
|
18568
|
+
'status'?: number;
|
|
18569
|
+
}
|
|
18021
18570
|
/**
|
|
18022
18571
|
*
|
|
18023
18572
|
* @export
|
|
@@ -21515,6 +22064,43 @@ export interface DataTypesNewsLetterRequestsListResponse {
|
|
|
21515
22064
|
*/
|
|
21516
22065
|
'status'?: number;
|
|
21517
22066
|
}
|
|
22067
|
+
/**
|
|
22068
|
+
*
|
|
22069
|
+
* @export
|
|
22070
|
+
* @interface DataTypesNextChargeInfo
|
|
22071
|
+
*/
|
|
22072
|
+
export interface DataTypesNextChargeInfo {
|
|
22073
|
+
/**
|
|
22074
|
+
*
|
|
22075
|
+
* @type {number}
|
|
22076
|
+
* @memberof DataTypesNextChargeInfo
|
|
22077
|
+
*/
|
|
22078
|
+
'amount'?: number;
|
|
22079
|
+
/**
|
|
22080
|
+
*
|
|
22081
|
+
* @type {string}
|
|
22082
|
+
* @memberof DataTypesNextChargeInfo
|
|
22083
|
+
*/
|
|
22084
|
+
'charge_date'?: string;
|
|
22085
|
+
/**
|
|
22086
|
+
*
|
|
22087
|
+
* @type {string}
|
|
22088
|
+
* @memberof DataTypesNextChargeInfo
|
|
22089
|
+
*/
|
|
22090
|
+
'currency'?: string;
|
|
22091
|
+
/**
|
|
22092
|
+
*
|
|
22093
|
+
* @type {string}
|
|
22094
|
+
* @memberof DataTypesNextChargeInfo
|
|
22095
|
+
*/
|
|
22096
|
+
'description'?: string;
|
|
22097
|
+
/**
|
|
22098
|
+
*
|
|
22099
|
+
* @type {number}
|
|
22100
|
+
* @memberof DataTypesNextChargeInfo
|
|
22101
|
+
*/
|
|
22102
|
+
'subscription_id'?: number;
|
|
22103
|
+
}
|
|
21518
22104
|
/**
|
|
21519
22105
|
*
|
|
21520
22106
|
* @export
|
|
@@ -24046,6 +24632,37 @@ export interface DataTypesOverrideActions {
|
|
|
24046
24632
|
*/
|
|
24047
24633
|
'stop_processing'?: boolean;
|
|
24048
24634
|
}
|
|
24635
|
+
/**
|
|
24636
|
+
*
|
|
24637
|
+
* @export
|
|
24638
|
+
* @interface DataTypesPaginationInfo
|
|
24639
|
+
*/
|
|
24640
|
+
export interface DataTypesPaginationInfo {
|
|
24641
|
+
/**
|
|
24642
|
+
*
|
|
24643
|
+
* @type {number}
|
|
24644
|
+
* @memberof DataTypesPaginationInfo
|
|
24645
|
+
*/
|
|
24646
|
+
'limit'?: number;
|
|
24647
|
+
/**
|
|
24648
|
+
*
|
|
24649
|
+
* @type {number}
|
|
24650
|
+
* @memberof DataTypesPaginationInfo
|
|
24651
|
+
*/
|
|
24652
|
+
'page'?: number;
|
|
24653
|
+
/**
|
|
24654
|
+
*
|
|
24655
|
+
* @type {number}
|
|
24656
|
+
* @memberof DataTypesPaginationInfo
|
|
24657
|
+
*/
|
|
24658
|
+
'total'?: number;
|
|
24659
|
+
/**
|
|
24660
|
+
*
|
|
24661
|
+
* @type {number}
|
|
24662
|
+
* @memberof DataTypesPaginationInfo
|
|
24663
|
+
*/
|
|
24664
|
+
'total_pages'?: number;
|
|
24665
|
+
}
|
|
24049
24666
|
/**
|
|
24050
24667
|
*
|
|
24051
24668
|
* @export
|
|
@@ -25051,6 +25668,37 @@ export interface DataTypesProfileResponseWrapper {
|
|
|
25051
25668
|
*/
|
|
25052
25669
|
'status'?: number;
|
|
25053
25670
|
}
|
|
25671
|
+
/**
|
|
25672
|
+
*
|
|
25673
|
+
* @export
|
|
25674
|
+
* @interface DataTypesProjectedRunoutInfo
|
|
25675
|
+
*/
|
|
25676
|
+
export interface DataTypesProjectedRunoutInfo {
|
|
25677
|
+
/**
|
|
25678
|
+
*
|
|
25679
|
+
* @type {number}
|
|
25680
|
+
* @memberof DataTypesProjectedRunoutInfo
|
|
25681
|
+
*/
|
|
25682
|
+
'average_daily_consumption'?: number;
|
|
25683
|
+
/**
|
|
25684
|
+
*
|
|
25685
|
+
* @type {number}
|
|
25686
|
+
* @memberof DataTypesProjectedRunoutInfo
|
|
25687
|
+
*/
|
|
25688
|
+
'days_remaining'?: number;
|
|
25689
|
+
/**
|
|
25690
|
+
*
|
|
25691
|
+
* @type {string}
|
|
25692
|
+
* @memberof DataTypesProjectedRunoutInfo
|
|
25693
|
+
*/
|
|
25694
|
+
'projected_runout_date'?: string;
|
|
25695
|
+
/**
|
|
25696
|
+
* \"normal\", \"warning\", \"critical\"
|
|
25697
|
+
* @type {string}
|
|
25698
|
+
* @memberof DataTypesProjectedRunoutInfo
|
|
25699
|
+
*/
|
|
25700
|
+
'warning_level'?: string;
|
|
25701
|
+
}
|
|
25054
25702
|
/**
|
|
25055
25703
|
*
|
|
25056
25704
|
* @export
|
|
@@ -27760,6 +28408,585 @@ export interface DataTypesSetUserCustomPermissionsRequest {
|
|
|
27760
28408
|
*/
|
|
27761
28409
|
'storeAccessGrouped'?: Array<DataTypesGroupedStoreAccess>;
|
|
27762
28410
|
}
|
|
28411
|
+
/**
|
|
28412
|
+
*
|
|
28413
|
+
* @export
|
|
28414
|
+
* @interface DataTypesSlimGroupedPermissionsRequest
|
|
28415
|
+
*/
|
|
28416
|
+
export interface DataTypesSlimGroupedPermissionsRequest {
|
|
28417
|
+
/**
|
|
28418
|
+
*
|
|
28419
|
+
* @type {Array<DataTypesSlimModuleGroupRequest>}
|
|
28420
|
+
* @memberof DataTypesSlimGroupedPermissionsRequest
|
|
28421
|
+
*/
|
|
28422
|
+
'modules'?: Array<DataTypesSlimModuleGroupRequest>;
|
|
28423
|
+
}
|
|
28424
|
+
/**
|
|
28425
|
+
*
|
|
28426
|
+
* @export
|
|
28427
|
+
* @interface DataTypesSlimGroupedRolePermissions
|
|
28428
|
+
*/
|
|
28429
|
+
export interface DataTypesSlimGroupedRolePermissions {
|
|
28430
|
+
/**
|
|
28431
|
+
*
|
|
28432
|
+
* @type {Array<DataTypesSlimModuleGroup>}
|
|
28433
|
+
* @memberof DataTypesSlimGroupedRolePermissions
|
|
28434
|
+
*/
|
|
28435
|
+
'modules'?: Array<DataTypesSlimModuleGroup>;
|
|
28436
|
+
}
|
|
28437
|
+
/**
|
|
28438
|
+
*
|
|
28439
|
+
* @export
|
|
28440
|
+
* @interface DataTypesSlimGroupedStoreAccess
|
|
28441
|
+
*/
|
|
28442
|
+
export interface DataTypesSlimGroupedStoreAccess {
|
|
28443
|
+
/**
|
|
28444
|
+
*
|
|
28445
|
+
* @type {string}
|
|
28446
|
+
* @memberof DataTypesSlimGroupedStoreAccess
|
|
28447
|
+
*/
|
|
28448
|
+
'access_level'?: string;
|
|
28449
|
+
/**
|
|
28450
|
+
*
|
|
28451
|
+
* @type {boolean}
|
|
28452
|
+
* @memberof DataTypesSlimGroupedStoreAccess
|
|
28453
|
+
*/
|
|
28454
|
+
'can_add'?: boolean;
|
|
28455
|
+
/**
|
|
28456
|
+
*
|
|
28457
|
+
* @type {boolean}
|
|
28458
|
+
* @memberof DataTypesSlimGroupedStoreAccess
|
|
28459
|
+
*/
|
|
28460
|
+
'can_approve'?: boolean;
|
|
28461
|
+
/**
|
|
28462
|
+
*
|
|
28463
|
+
* @type {boolean}
|
|
28464
|
+
* @memberof DataTypesSlimGroupedStoreAccess
|
|
28465
|
+
*/
|
|
28466
|
+
'can_delete'?: boolean;
|
|
28467
|
+
/**
|
|
28468
|
+
*
|
|
28469
|
+
* @type {boolean}
|
|
28470
|
+
* @memberof DataTypesSlimGroupedStoreAccess
|
|
28471
|
+
*/
|
|
28472
|
+
'can_modify'?: boolean;
|
|
28473
|
+
/**
|
|
28474
|
+
*
|
|
28475
|
+
* @type {boolean}
|
|
28476
|
+
* @memberof DataTypesSlimGroupedStoreAccess
|
|
28477
|
+
*/
|
|
28478
|
+
'can_view'?: boolean;
|
|
28479
|
+
/**
|
|
28480
|
+
*
|
|
28481
|
+
* @type {boolean}
|
|
28482
|
+
* @memberof DataTypesSlimGroupedStoreAccess
|
|
28483
|
+
*/
|
|
28484
|
+
'full_access'?: boolean;
|
|
28485
|
+
/**
|
|
28486
|
+
*
|
|
28487
|
+
* @type {Array<DataTypesSlimModuleGroup>}
|
|
28488
|
+
* @memberof DataTypesSlimGroupedStoreAccess
|
|
28489
|
+
*/
|
|
28490
|
+
'modules'?: Array<DataTypesSlimModuleGroup>;
|
|
28491
|
+
/**
|
|
28492
|
+
*
|
|
28493
|
+
* @type {number}
|
|
28494
|
+
* @memberof DataTypesSlimGroupedStoreAccess
|
|
28495
|
+
*/
|
|
28496
|
+
'storeId'?: number;
|
|
28497
|
+
/**
|
|
28498
|
+
*
|
|
28499
|
+
* @type {string}
|
|
28500
|
+
* @memberof DataTypesSlimGroupedStoreAccess
|
|
28501
|
+
*/
|
|
28502
|
+
'storeName'?: string;
|
|
28503
|
+
}
|
|
28504
|
+
/**
|
|
28505
|
+
*
|
|
28506
|
+
* @export
|
|
28507
|
+
* @interface DataTypesSlimMenu
|
|
28508
|
+
*/
|
|
28509
|
+
export interface DataTypesSlimMenu {
|
|
28510
|
+
/**
|
|
28511
|
+
*
|
|
28512
|
+
* @type {string}
|
|
28513
|
+
* @memberof DataTypesSlimMenu
|
|
28514
|
+
*/
|
|
28515
|
+
'icon'?: string;
|
|
28516
|
+
/**
|
|
28517
|
+
*
|
|
28518
|
+
* @type {boolean}
|
|
28519
|
+
* @memberof DataTypesSlimMenu
|
|
28520
|
+
*/
|
|
28521
|
+
'isParentMenu'?: boolean;
|
|
28522
|
+
/**
|
|
28523
|
+
*
|
|
28524
|
+
* @type {number}
|
|
28525
|
+
* @memberof DataTypesSlimMenu
|
|
28526
|
+
*/
|
|
28527
|
+
'menuId'?: number;
|
|
28528
|
+
/**
|
|
28529
|
+
*
|
|
28530
|
+
* @type {string}
|
|
28531
|
+
* @memberof DataTypesSlimMenu
|
|
28532
|
+
*/
|
|
28533
|
+
'menuName'?: string;
|
|
28534
|
+
/**
|
|
28535
|
+
*
|
|
28536
|
+
* @type {string}
|
|
28537
|
+
* @memberof DataTypesSlimMenu
|
|
28538
|
+
*/
|
|
28539
|
+
'moduleType'?: string;
|
|
28540
|
+
/**
|
|
28541
|
+
*
|
|
28542
|
+
* @type {number}
|
|
28543
|
+
* @memberof DataTypesSlimMenu
|
|
28544
|
+
*/
|
|
28545
|
+
'parentId'?: number;
|
|
28546
|
+
/**
|
|
28547
|
+
*
|
|
28548
|
+
* @type {number}
|
|
28549
|
+
* @memberof DataTypesSlimMenu
|
|
28550
|
+
*/
|
|
28551
|
+
'sortOrder'?: number;
|
|
28552
|
+
}
|
|
28553
|
+
/**
|
|
28554
|
+
*
|
|
28555
|
+
* @export
|
|
28556
|
+
* @interface DataTypesSlimModuleGroup
|
|
28557
|
+
*/
|
|
28558
|
+
export interface DataTypesSlimModuleGroup {
|
|
28559
|
+
/**
|
|
28560
|
+
*
|
|
28561
|
+
* @type {Array<DataTypesSlimParentMenuGroup>}
|
|
28562
|
+
* @memberof DataTypesSlimModuleGroup
|
|
28563
|
+
*/
|
|
28564
|
+
'groups'?: Array<DataTypesSlimParentMenuGroup>;
|
|
28565
|
+
/**
|
|
28566
|
+
*
|
|
28567
|
+
* @type {string}
|
|
28568
|
+
* @memberof DataTypesSlimModuleGroup
|
|
28569
|
+
*/
|
|
28570
|
+
'moduleType'?: string;
|
|
28571
|
+
}
|
|
28572
|
+
/**
|
|
28573
|
+
*
|
|
28574
|
+
* @export
|
|
28575
|
+
* @interface DataTypesSlimModuleGroupRequest
|
|
28576
|
+
*/
|
|
28577
|
+
export interface DataTypesSlimModuleGroupRequest {
|
|
28578
|
+
/**
|
|
28579
|
+
*
|
|
28580
|
+
* @type {Array<DataTypesSlimParentMenuGroupRequest>}
|
|
28581
|
+
* @memberof DataTypesSlimModuleGroupRequest
|
|
28582
|
+
*/
|
|
28583
|
+
'groups'?: Array<DataTypesSlimParentMenuGroupRequest>;
|
|
28584
|
+
/**
|
|
28585
|
+
*
|
|
28586
|
+
* @type {string}
|
|
28587
|
+
* @memberof DataTypesSlimModuleGroupRequest
|
|
28588
|
+
*/
|
|
28589
|
+
'moduleType'?: string;
|
|
28590
|
+
}
|
|
28591
|
+
/**
|
|
28592
|
+
*
|
|
28593
|
+
* @export
|
|
28594
|
+
* @interface DataTypesSlimParentMenuGroup
|
|
28595
|
+
*/
|
|
28596
|
+
export interface DataTypesSlimParentMenuGroup {
|
|
28597
|
+
/**
|
|
28598
|
+
*
|
|
28599
|
+
* @type {Array<DataTypesSlimRoleRightWithMenu>}
|
|
28600
|
+
* @memberof DataTypesSlimParentMenuGroup
|
|
28601
|
+
*/
|
|
28602
|
+
'children'?: Array<DataTypesSlimRoleRightWithMenu>;
|
|
28603
|
+
/**
|
|
28604
|
+
*
|
|
28605
|
+
* @type {DataTypesSlimRoleRightWithMenu}
|
|
28606
|
+
* @memberof DataTypesSlimParentMenuGroup
|
|
28607
|
+
*/
|
|
28608
|
+
'parentMenu'?: DataTypesSlimRoleRightWithMenu;
|
|
28609
|
+
}
|
|
28610
|
+
/**
|
|
28611
|
+
*
|
|
28612
|
+
* @export
|
|
28613
|
+
* @interface DataTypesSlimParentMenuGroupRequest
|
|
28614
|
+
*/
|
|
28615
|
+
export interface DataTypesSlimParentMenuGroupRequest {
|
|
28616
|
+
/**
|
|
28617
|
+
*
|
|
28618
|
+
* @type {Array<DataTypesSlimPermissionEntry>}
|
|
28619
|
+
* @memberof DataTypesSlimParentMenuGroupRequest
|
|
28620
|
+
*/
|
|
28621
|
+
'children'?: Array<DataTypesSlimPermissionEntry>;
|
|
28622
|
+
/**
|
|
28623
|
+
*
|
|
28624
|
+
* @type {DataTypesSlimPermissionEntry}
|
|
28625
|
+
* @memberof DataTypesSlimParentMenuGroupRequest
|
|
28626
|
+
*/
|
|
28627
|
+
'parentMenu'?: DataTypesSlimPermissionEntry;
|
|
28628
|
+
}
|
|
28629
|
+
/**
|
|
28630
|
+
*
|
|
28631
|
+
* @export
|
|
28632
|
+
* @interface DataTypesSlimPermissionEntry
|
|
28633
|
+
*/
|
|
28634
|
+
export interface DataTypesSlimPermissionEntry {
|
|
28635
|
+
/**
|
|
28636
|
+
*
|
|
28637
|
+
* @type {boolean}
|
|
28638
|
+
* @memberof DataTypesSlimPermissionEntry
|
|
28639
|
+
*/
|
|
28640
|
+
'canAdd'?: boolean;
|
|
28641
|
+
/**
|
|
28642
|
+
*
|
|
28643
|
+
* @type {boolean}
|
|
28644
|
+
* @memberof DataTypesSlimPermissionEntry
|
|
28645
|
+
*/
|
|
28646
|
+
'canApprove'?: boolean;
|
|
28647
|
+
/**
|
|
28648
|
+
*
|
|
28649
|
+
* @type {boolean}
|
|
28650
|
+
* @memberof DataTypesSlimPermissionEntry
|
|
28651
|
+
*/
|
|
28652
|
+
'canDelete'?: boolean;
|
|
28653
|
+
/**
|
|
28654
|
+
*
|
|
28655
|
+
* @type {boolean}
|
|
28656
|
+
* @memberof DataTypesSlimPermissionEntry
|
|
28657
|
+
*/
|
|
28658
|
+
'canModify'?: boolean;
|
|
28659
|
+
/**
|
|
28660
|
+
*
|
|
28661
|
+
* @type {boolean}
|
|
28662
|
+
* @memberof DataTypesSlimPermissionEntry
|
|
28663
|
+
*/
|
|
28664
|
+
'canView'?: boolean;
|
|
28665
|
+
/**
|
|
28666
|
+
*
|
|
28667
|
+
* @type {boolean}
|
|
28668
|
+
* @memberof DataTypesSlimPermissionEntry
|
|
28669
|
+
*/
|
|
28670
|
+
'fullAccess'?: boolean;
|
|
28671
|
+
/**
|
|
28672
|
+
*
|
|
28673
|
+
* @type {boolean}
|
|
28674
|
+
* @memberof DataTypesSlimPermissionEntry
|
|
28675
|
+
*/
|
|
28676
|
+
'isEnabled'?: boolean;
|
|
28677
|
+
/**
|
|
28678
|
+
*
|
|
28679
|
+
* @type {number}
|
|
28680
|
+
* @memberof DataTypesSlimPermissionEntry
|
|
28681
|
+
*/
|
|
28682
|
+
'menuId': number;
|
|
28683
|
+
}
|
|
28684
|
+
/**
|
|
28685
|
+
*
|
|
28686
|
+
* @export
|
|
28687
|
+
* @interface DataTypesSlimRolePermissionsResponse
|
|
28688
|
+
*/
|
|
28689
|
+
export interface DataTypesSlimRolePermissionsResponse {
|
|
28690
|
+
/**
|
|
28691
|
+
*
|
|
28692
|
+
* @type {boolean}
|
|
28693
|
+
* @memberof DataTypesSlimRolePermissionsResponse
|
|
28694
|
+
*/
|
|
28695
|
+
'allStoresFullAccess'?: boolean;
|
|
28696
|
+
/**
|
|
28697
|
+
*
|
|
28698
|
+
* @type {boolean}
|
|
28699
|
+
* @memberof DataTypesSlimRolePermissionsResponse
|
|
28700
|
+
*/
|
|
28701
|
+
'fullAccess'?: boolean;
|
|
28702
|
+
/**
|
|
28703
|
+
*
|
|
28704
|
+
* @type {DataTypesSlimGroupedRolePermissions}
|
|
28705
|
+
* @memberof DataTypesSlimRolePermissionsResponse
|
|
28706
|
+
*/
|
|
28707
|
+
'orgLevelMenusGrouped'?: DataTypesSlimGroupedRolePermissions;
|
|
28708
|
+
/**
|
|
28709
|
+
*
|
|
28710
|
+
* @type {number}
|
|
28711
|
+
* @memberof DataTypesSlimRolePermissionsResponse
|
|
28712
|
+
*/
|
|
28713
|
+
'roleId'?: number;
|
|
28714
|
+
/**
|
|
28715
|
+
*
|
|
28716
|
+
* @type {string}
|
|
28717
|
+
* @memberof DataTypesSlimRolePermissionsResponse
|
|
28718
|
+
*/
|
|
28719
|
+
'roleName'?: string;
|
|
28720
|
+
/**
|
|
28721
|
+
*
|
|
28722
|
+
* @type {Array<DataTypesSlimGroupedStoreAccess>}
|
|
28723
|
+
* @memberof DataTypesSlimRolePermissionsResponse
|
|
28724
|
+
*/
|
|
28725
|
+
'storeAccessGrouped'?: Array<DataTypesSlimGroupedStoreAccess>;
|
|
28726
|
+
}
|
|
28727
|
+
/**
|
|
28728
|
+
*
|
|
28729
|
+
* @export
|
|
28730
|
+
* @interface DataTypesSlimRoleRightWithMenu
|
|
28731
|
+
*/
|
|
28732
|
+
export interface DataTypesSlimRoleRightWithMenu {
|
|
28733
|
+
/**
|
|
28734
|
+
*
|
|
28735
|
+
* @type {boolean}
|
|
28736
|
+
* @memberof DataTypesSlimRoleRightWithMenu
|
|
28737
|
+
*/
|
|
28738
|
+
'canAdd'?: boolean;
|
|
28739
|
+
/**
|
|
28740
|
+
*
|
|
28741
|
+
* @type {boolean}
|
|
28742
|
+
* @memberof DataTypesSlimRoleRightWithMenu
|
|
28743
|
+
*/
|
|
28744
|
+
'canApprove'?: boolean;
|
|
28745
|
+
/**
|
|
28746
|
+
*
|
|
28747
|
+
* @type {boolean}
|
|
28748
|
+
* @memberof DataTypesSlimRoleRightWithMenu
|
|
28749
|
+
*/
|
|
28750
|
+
'canDelete'?: boolean;
|
|
28751
|
+
/**
|
|
28752
|
+
*
|
|
28753
|
+
* @type {boolean}
|
|
28754
|
+
* @memberof DataTypesSlimRoleRightWithMenu
|
|
28755
|
+
*/
|
|
28756
|
+
'canModify'?: boolean;
|
|
28757
|
+
/**
|
|
28758
|
+
*
|
|
28759
|
+
* @type {boolean}
|
|
28760
|
+
* @memberof DataTypesSlimRoleRightWithMenu
|
|
28761
|
+
*/
|
|
28762
|
+
'canView'?: boolean;
|
|
28763
|
+
/**
|
|
28764
|
+
*
|
|
28765
|
+
* @type {boolean}
|
|
28766
|
+
* @memberof DataTypesSlimRoleRightWithMenu
|
|
28767
|
+
*/
|
|
28768
|
+
'fullAccess'?: boolean;
|
|
28769
|
+
/**
|
|
28770
|
+
*
|
|
28771
|
+
* @type {boolean}
|
|
28772
|
+
* @memberof DataTypesSlimRoleRightWithMenu
|
|
28773
|
+
*/
|
|
28774
|
+
'isEnabled'?: boolean;
|
|
28775
|
+
/**
|
|
28776
|
+
*
|
|
28777
|
+
* @type {DataTypesSlimMenu}
|
|
28778
|
+
* @memberof DataTypesSlimRoleRightWithMenu
|
|
28779
|
+
*/
|
|
28780
|
+
'menu'?: DataTypesSlimMenu;
|
|
28781
|
+
/**
|
|
28782
|
+
*
|
|
28783
|
+
* @type {number}
|
|
28784
|
+
* @memberof DataTypesSlimRoleRightWithMenu
|
|
28785
|
+
*/
|
|
28786
|
+
'menuId'?: number;
|
|
28787
|
+
/**
|
|
28788
|
+
*
|
|
28789
|
+
* @type {number}
|
|
28790
|
+
* @memberof DataTypesSlimRoleRightWithMenu
|
|
28791
|
+
*/
|
|
28792
|
+
'roleRightId'?: number;
|
|
28793
|
+
}
|
|
28794
|
+
/**
|
|
28795
|
+
*
|
|
28796
|
+
* @export
|
|
28797
|
+
* @interface DataTypesSlimStoreAccessRequest
|
|
28798
|
+
*/
|
|
28799
|
+
export interface DataTypesSlimStoreAccessRequest {
|
|
28800
|
+
/**
|
|
28801
|
+
*
|
|
28802
|
+
* @type {string}
|
|
28803
|
+
* @memberof DataTypesSlimStoreAccessRequest
|
|
28804
|
+
*/
|
|
28805
|
+
'access_level'?: string;
|
|
28806
|
+
/**
|
|
28807
|
+
*
|
|
28808
|
+
* @type {boolean}
|
|
28809
|
+
* @memberof DataTypesSlimStoreAccessRequest
|
|
28810
|
+
*/
|
|
28811
|
+
'can_add'?: boolean;
|
|
28812
|
+
/**
|
|
28813
|
+
*
|
|
28814
|
+
* @type {boolean}
|
|
28815
|
+
* @memberof DataTypesSlimStoreAccessRequest
|
|
28816
|
+
*/
|
|
28817
|
+
'can_approve'?: boolean;
|
|
28818
|
+
/**
|
|
28819
|
+
*
|
|
28820
|
+
* @type {boolean}
|
|
28821
|
+
* @memberof DataTypesSlimStoreAccessRequest
|
|
28822
|
+
*/
|
|
28823
|
+
'can_delete'?: boolean;
|
|
28824
|
+
/**
|
|
28825
|
+
*
|
|
28826
|
+
* @type {boolean}
|
|
28827
|
+
* @memberof DataTypesSlimStoreAccessRequest
|
|
28828
|
+
*/
|
|
28829
|
+
'can_modify'?: boolean;
|
|
28830
|
+
/**
|
|
28831
|
+
*
|
|
28832
|
+
* @type {boolean}
|
|
28833
|
+
* @memberof DataTypesSlimStoreAccessRequest
|
|
28834
|
+
*/
|
|
28835
|
+
'can_view'?: boolean;
|
|
28836
|
+
/**
|
|
28837
|
+
*
|
|
28838
|
+
* @type {boolean}
|
|
28839
|
+
* @memberof DataTypesSlimStoreAccessRequest
|
|
28840
|
+
*/
|
|
28841
|
+
'full_access'?: boolean;
|
|
28842
|
+
/**
|
|
28843
|
+
*
|
|
28844
|
+
* @type {Array<DataTypesSlimModuleGroupRequest>}
|
|
28845
|
+
* @memberof DataTypesSlimStoreAccessRequest
|
|
28846
|
+
*/
|
|
28847
|
+
'modules'?: Array<DataTypesSlimModuleGroupRequest>;
|
|
28848
|
+
/**
|
|
28849
|
+
*
|
|
28850
|
+
* @type {number}
|
|
28851
|
+
* @memberof DataTypesSlimStoreAccessRequest
|
|
28852
|
+
*/
|
|
28853
|
+
'storeId': number;
|
|
28854
|
+
}
|
|
28855
|
+
/**
|
|
28856
|
+
*
|
|
28857
|
+
* @export
|
|
28858
|
+
* @interface DataTypesSlimUpdateRolePermissionsRequest
|
|
28859
|
+
*/
|
|
28860
|
+
export interface DataTypesSlimUpdateRolePermissionsRequest {
|
|
28861
|
+
/**
|
|
28862
|
+
*
|
|
28863
|
+
* @type {boolean}
|
|
28864
|
+
* @memberof DataTypesSlimUpdateRolePermissionsRequest
|
|
28865
|
+
*/
|
|
28866
|
+
'allStoresFullAccess'?: boolean;
|
|
28867
|
+
/**
|
|
28868
|
+
*
|
|
28869
|
+
* @type {boolean}
|
|
28870
|
+
* @memberof DataTypesSlimUpdateRolePermissionsRequest
|
|
28871
|
+
*/
|
|
28872
|
+
'fullAccess'?: boolean;
|
|
28873
|
+
/**
|
|
28874
|
+
*
|
|
28875
|
+
* @type {DataTypesSlimGroupedPermissionsRequest}
|
|
28876
|
+
* @memberof DataTypesSlimUpdateRolePermissionsRequest
|
|
28877
|
+
*/
|
|
28878
|
+
'orgLevelMenusGrouped'?: DataTypesSlimGroupedPermissionsRequest;
|
|
28879
|
+
/**
|
|
28880
|
+
*
|
|
28881
|
+
* @type {number}
|
|
28882
|
+
* @memberof DataTypesSlimUpdateRolePermissionsRequest
|
|
28883
|
+
*/
|
|
28884
|
+
'roleId'?: number;
|
|
28885
|
+
/**
|
|
28886
|
+
*
|
|
28887
|
+
* @type {Array<DataTypesSlimStoreAccessRequest>}
|
|
28888
|
+
* @memberof DataTypesSlimUpdateRolePermissionsRequest
|
|
28889
|
+
*/
|
|
28890
|
+
'storeAccessGrouped'?: Array<DataTypesSlimStoreAccessRequest>;
|
|
28891
|
+
}
|
|
28892
|
+
/**
|
|
28893
|
+
*
|
|
28894
|
+
* @export
|
|
28895
|
+
* @interface DataTypesSlimUpdateUserRolePermissionsRequest
|
|
28896
|
+
*/
|
|
28897
|
+
export interface DataTypesSlimUpdateUserRolePermissionsRequest {
|
|
28898
|
+
/**
|
|
28899
|
+
*
|
|
28900
|
+
* @type {boolean}
|
|
28901
|
+
* @memberof DataTypesSlimUpdateUserRolePermissionsRequest
|
|
28902
|
+
*/
|
|
28903
|
+
'allStoresFullAccess'?: boolean;
|
|
28904
|
+
/**
|
|
28905
|
+
*
|
|
28906
|
+
* @type {boolean}
|
|
28907
|
+
* @memberof DataTypesSlimUpdateUserRolePermissionsRequest
|
|
28908
|
+
*/
|
|
28909
|
+
'fullAccess'?: boolean;
|
|
28910
|
+
/**
|
|
28911
|
+
*
|
|
28912
|
+
* @type {DataTypesSlimGroupedPermissionsRequest}
|
|
28913
|
+
* @memberof DataTypesSlimUpdateUserRolePermissionsRequest
|
|
28914
|
+
*/
|
|
28915
|
+
'orgLevelMenusGrouped'?: DataTypesSlimGroupedPermissionsRequest;
|
|
28916
|
+
/**
|
|
28917
|
+
*
|
|
28918
|
+
* @type {Array<DataTypesSlimStoreAccessRequest>}
|
|
28919
|
+
* @memberof DataTypesSlimUpdateUserRolePermissionsRequest
|
|
28920
|
+
*/
|
|
28921
|
+
'storeAccessGrouped'?: Array<DataTypesSlimStoreAccessRequest>;
|
|
28922
|
+
/**
|
|
28923
|
+
*
|
|
28924
|
+
* @type {number}
|
|
28925
|
+
* @memberof DataTypesSlimUpdateUserRolePermissionsRequest
|
|
28926
|
+
*/
|
|
28927
|
+
'userId'?: number;
|
|
28928
|
+
}
|
|
28929
|
+
/**
|
|
28930
|
+
*
|
|
28931
|
+
* @export
|
|
28932
|
+
* @interface DataTypesSlimUserRolePermissionsResponse
|
|
28933
|
+
*/
|
|
28934
|
+
export interface DataTypesSlimUserRolePermissionsResponse {
|
|
28935
|
+
/**
|
|
28936
|
+
*
|
|
28937
|
+
* @type {boolean}
|
|
28938
|
+
* @memberof DataTypesSlimUserRolePermissionsResponse
|
|
28939
|
+
*/
|
|
28940
|
+
'allStoresFullAccess'?: boolean;
|
|
28941
|
+
/**
|
|
28942
|
+
*
|
|
28943
|
+
* @type {boolean}
|
|
28944
|
+
* @memberof DataTypesSlimUserRolePermissionsResponse
|
|
28945
|
+
*/
|
|
28946
|
+
'fullAccess'?: boolean;
|
|
28947
|
+
/**
|
|
28948
|
+
*
|
|
28949
|
+
* @type {DataTypesSlimGroupedRolePermissions}
|
|
28950
|
+
* @memberof DataTypesSlimUserRolePermissionsResponse
|
|
28951
|
+
*/
|
|
28952
|
+
'orgLevelMenusGrouped'?: DataTypesSlimGroupedRolePermissions;
|
|
28953
|
+
/**
|
|
28954
|
+
*
|
|
28955
|
+
* @type {number}
|
|
28956
|
+
* @memberof DataTypesSlimUserRolePermissionsResponse
|
|
28957
|
+
*/
|
|
28958
|
+
'roleId'?: number;
|
|
28959
|
+
/**
|
|
28960
|
+
*
|
|
28961
|
+
* @type {string}
|
|
28962
|
+
* @memberof DataTypesSlimUserRolePermissionsResponse
|
|
28963
|
+
*/
|
|
28964
|
+
'roleName'?: string;
|
|
28965
|
+
/**
|
|
28966
|
+
*
|
|
28967
|
+
* @type {Array<DataTypesSlimGroupedStoreAccess>}
|
|
28968
|
+
* @memberof DataTypesSlimUserRolePermissionsResponse
|
|
28969
|
+
*/
|
|
28970
|
+
'storeAccessGrouped'?: Array<DataTypesSlimGroupedStoreAccess>;
|
|
28971
|
+
/**
|
|
28972
|
+
*
|
|
28973
|
+
* @type {boolean}
|
|
28974
|
+
* @memberof DataTypesSlimUserRolePermissionsResponse
|
|
28975
|
+
*/
|
|
28976
|
+
'useCustomPermissions'?: boolean;
|
|
28977
|
+
/**
|
|
28978
|
+
*
|
|
28979
|
+
* @type {number}
|
|
28980
|
+
* @memberof DataTypesSlimUserRolePermissionsResponse
|
|
28981
|
+
*/
|
|
28982
|
+
'userId'?: number;
|
|
28983
|
+
/**
|
|
28984
|
+
*
|
|
28985
|
+
* @type {number}
|
|
28986
|
+
* @memberof DataTypesSlimUserRolePermissionsResponse
|
|
28987
|
+
*/
|
|
28988
|
+
'userSpecificRoleId'?: number;
|
|
28989
|
+
}
|
|
27763
28990
|
/**
|
|
27764
28991
|
*
|
|
27765
28992
|
* @export
|
|
@@ -28664,6 +29891,31 @@ export interface DataTypesStoresListResponse {
|
|
|
28664
29891
|
*/
|
|
28665
29892
|
'status'?: number;
|
|
28666
29893
|
}
|
|
29894
|
+
/**
|
|
29895
|
+
*
|
|
29896
|
+
* @export
|
|
29897
|
+
* @interface DataTypesStringFeatureMetric
|
|
29898
|
+
*/
|
|
29899
|
+
export interface DataTypesStringFeatureMetric {
|
|
29900
|
+
/**
|
|
29901
|
+
*
|
|
29902
|
+
* @type {string}
|
|
29903
|
+
* @memberof DataTypesStringFeatureMetric
|
|
29904
|
+
*/
|
|
29905
|
+
'display_label'?: string;
|
|
29906
|
+
/**
|
|
29907
|
+
*
|
|
29908
|
+
* @type {string}
|
|
29909
|
+
* @memberof DataTypesStringFeatureMetric
|
|
29910
|
+
*/
|
|
29911
|
+
'feature_name'?: string;
|
|
29912
|
+
/**
|
|
29913
|
+
*
|
|
29914
|
+
* @type {string}
|
|
29915
|
+
* @memberof DataTypesStringFeatureMetric
|
|
29916
|
+
*/
|
|
29917
|
+
'value'?: string;
|
|
29918
|
+
}
|
|
28667
29919
|
/**
|
|
28668
29920
|
*
|
|
28669
29921
|
* @export
|
|
@@ -30500,55 +31752,6 @@ export interface DataTypesUpdateProfileRequest {
|
|
|
30500
31752
|
*/
|
|
30501
31753
|
'userphone': string;
|
|
30502
31754
|
}
|
|
30503
|
-
/**
|
|
30504
|
-
*
|
|
30505
|
-
* @export
|
|
30506
|
-
* @interface DataTypesUpdateRolePermissionsRequest
|
|
30507
|
-
*/
|
|
30508
|
-
export interface DataTypesUpdateRolePermissionsRequest {
|
|
30509
|
-
/**
|
|
30510
|
-
* Full access to all stores for all users with this role
|
|
30511
|
-
* @type {boolean}
|
|
30512
|
-
* @memberof DataTypesUpdateRolePermissionsRequest
|
|
30513
|
-
*/
|
|
30514
|
-
'allStoresFullAccess'?: boolean;
|
|
30515
|
-
/**
|
|
30516
|
-
* Full access at role level (applies to all stores)
|
|
30517
|
-
* @type {boolean}
|
|
30518
|
-
* @memberof DataTypesUpdateRolePermissionsRequest
|
|
30519
|
-
*/
|
|
30520
|
-
'fullAccess'?: boolean;
|
|
30521
|
-
/**
|
|
30522
|
-
* Org-level menu/route permissions (flat format - for backward compatibility)
|
|
30523
|
-
* @type {Array<DataTypesRoleRightRequestDto>}
|
|
30524
|
-
* @memberof DataTypesUpdateRolePermissionsRequest
|
|
30525
|
-
*/
|
|
30526
|
-
'orgLevelMenus'?: Array<DataTypesRoleRightRequestDto>;
|
|
30527
|
-
/**
|
|
30528
|
-
* Grouped structures (preferred format for frontend)
|
|
30529
|
-
* @type {DataTypesGroupedRolePermissions}
|
|
30530
|
-
* @memberof DataTypesUpdateRolePermissionsRequest
|
|
30531
|
-
*/
|
|
30532
|
-
'orgLevelMenusGrouped'?: DataTypesGroupedRolePermissions;
|
|
30533
|
-
/**
|
|
30534
|
-
*
|
|
30535
|
-
* @type {number}
|
|
30536
|
-
* @memberof DataTypesUpdateRolePermissionsRequest
|
|
30537
|
-
*/
|
|
30538
|
-
'roleId': number;
|
|
30539
|
-
/**
|
|
30540
|
-
* Store-level menu/route permissions (flat format - for backward compatibility)
|
|
30541
|
-
* @type {Array<DataTypesStoreLevelMenuRight>}
|
|
30542
|
-
* @memberof DataTypesUpdateRolePermissionsRequest
|
|
30543
|
-
*/
|
|
30544
|
-
'storeAccess'?: Array<DataTypesStoreLevelMenuRight>;
|
|
30545
|
-
/**
|
|
30546
|
-
* Store-level menus grouped by module and parent
|
|
30547
|
-
* @type {Array<DataTypesGroupedStoreAccess>}
|
|
30548
|
-
* @memberof DataTypesUpdateRolePermissionsRequest
|
|
30549
|
-
*/
|
|
30550
|
-
'storeAccessGrouped'?: Array<DataTypesGroupedStoreAccess>;
|
|
30551
|
-
}
|
|
30552
31755
|
/**
|
|
30553
31756
|
*
|
|
30554
31757
|
* @export
|
|
@@ -30657,55 +31860,6 @@ export const DataTypesUpdateStoreAccessRequestAccessLevelEnum = {
|
|
|
30657
31860
|
|
|
30658
31861
|
export type DataTypesUpdateStoreAccessRequestAccessLevelEnum = typeof DataTypesUpdateStoreAccessRequestAccessLevelEnum[keyof typeof DataTypesUpdateStoreAccessRequestAccessLevelEnum];
|
|
30659
31862
|
|
|
30660
|
-
/**
|
|
30661
|
-
*
|
|
30662
|
-
* @export
|
|
30663
|
-
* @interface DataTypesUpdateUserRolePermissionsRequest
|
|
30664
|
-
*/
|
|
30665
|
-
export interface DataTypesUpdateUserRolePermissionsRequest {
|
|
30666
|
-
/**
|
|
30667
|
-
* Full access to all stores for all users with this role
|
|
30668
|
-
* @type {boolean}
|
|
30669
|
-
* @memberof DataTypesUpdateUserRolePermissionsRequest
|
|
30670
|
-
*/
|
|
30671
|
-
'allStoresFullAccess'?: boolean;
|
|
30672
|
-
/**
|
|
30673
|
-
* Full access at user-specific role level
|
|
30674
|
-
* @type {boolean}
|
|
30675
|
-
* @memberof DataTypesUpdateUserRolePermissionsRequest
|
|
30676
|
-
*/
|
|
30677
|
-
'fullAccess'?: boolean;
|
|
30678
|
-
/**
|
|
30679
|
-
* Org-level menu/route permissions (flat format - for backward compatibility)
|
|
30680
|
-
* @type {Array<DataTypesRoleRightRequestDto>}
|
|
30681
|
-
* @memberof DataTypesUpdateUserRolePermissionsRequest
|
|
30682
|
-
*/
|
|
30683
|
-
'orgLevelMenus'?: Array<DataTypesRoleRightRequestDto>;
|
|
30684
|
-
/**
|
|
30685
|
-
* Grouped structures (preferred format for frontend)
|
|
30686
|
-
* @type {DataTypesGroupedRolePermissions}
|
|
30687
|
-
* @memberof DataTypesUpdateUserRolePermissionsRequest
|
|
30688
|
-
*/
|
|
30689
|
-
'orgLevelMenusGrouped'?: DataTypesGroupedRolePermissions;
|
|
30690
|
-
/**
|
|
30691
|
-
* Store-level menu/route permissions (flat format - for backward compatibility)
|
|
30692
|
-
* @type {Array<DataTypesStoreLevelMenuRight>}
|
|
30693
|
-
* @memberof DataTypesUpdateUserRolePermissionsRequest
|
|
30694
|
-
*/
|
|
30695
|
-
'storeAccess'?: Array<DataTypesStoreLevelMenuRight>;
|
|
30696
|
-
/**
|
|
30697
|
-
* Store-level menus grouped by module and parent
|
|
30698
|
-
* @type {Array<DataTypesGroupedStoreAccess>}
|
|
30699
|
-
* @memberof DataTypesUpdateUserRolePermissionsRequest
|
|
30700
|
-
*/
|
|
30701
|
-
'storeAccessGrouped'?: Array<DataTypesGroupedStoreAccess>;
|
|
30702
|
-
/**
|
|
30703
|
-
*
|
|
30704
|
-
* @type {number}
|
|
30705
|
-
* @memberof DataTypesUpdateUserRolePermissionsRequest
|
|
30706
|
-
*/
|
|
30707
|
-
'userId': number;
|
|
30708
|
-
}
|
|
30709
31863
|
/**
|
|
30710
31864
|
*
|
|
30711
31865
|
* @export
|
|
@@ -30913,6 +32067,43 @@ export interface DataTypesUsageBreakdownRow {
|
|
|
30913
32067
|
*/
|
|
30914
32068
|
'timestamp'?: string;
|
|
30915
32069
|
}
|
|
32070
|
+
/**
|
|
32071
|
+
*
|
|
32072
|
+
* @export
|
|
32073
|
+
* @interface DataTypesUsageSummary
|
|
32074
|
+
*/
|
|
32075
|
+
export interface DataTypesUsageSummary {
|
|
32076
|
+
/**
|
|
32077
|
+
* \"This month\", \"Last 30 days\", etc.
|
|
32078
|
+
* @type {string}
|
|
32079
|
+
* @memberof DataTypesUsageSummary
|
|
32080
|
+
*/
|
|
32081
|
+
'period'?: string;
|
|
32082
|
+
/**
|
|
32083
|
+
*
|
|
32084
|
+
* @type {number}
|
|
32085
|
+
* @memberof DataTypesUsageSummary
|
|
32086
|
+
*/
|
|
32087
|
+
'records'?: number;
|
|
32088
|
+
/**
|
|
32089
|
+
*
|
|
32090
|
+
* @type {number}
|
|
32091
|
+
* @memberof DataTypesUsageSummary
|
|
32092
|
+
*/
|
|
32093
|
+
'search_requests'?: number;
|
|
32094
|
+
/**
|
|
32095
|
+
*
|
|
32096
|
+
* @type {number}
|
|
32097
|
+
* @memberof DataTypesUsageSummary
|
|
32098
|
+
*/
|
|
32099
|
+
'store_count'?: number;
|
|
32100
|
+
/**
|
|
32101
|
+
*
|
|
32102
|
+
* @type {number}
|
|
32103
|
+
* @memberof DataTypesUsageSummary
|
|
32104
|
+
*/
|
|
32105
|
+
'total_credits_used'?: number;
|
|
32106
|
+
}
|
|
30916
32107
|
/**
|
|
30917
32108
|
*
|
|
30918
32109
|
* @export
|
|
@@ -31193,91 +32384,6 @@ export interface DataTypesUserResponse {
|
|
|
31193
32384
|
*/
|
|
31194
32385
|
'status'?: number;
|
|
31195
32386
|
}
|
|
31196
|
-
/**
|
|
31197
|
-
*
|
|
31198
|
-
* @export
|
|
31199
|
-
* @interface DataTypesUserRolePermissionsResponse
|
|
31200
|
-
*/
|
|
31201
|
-
export interface DataTypesUserRolePermissionsResponse {
|
|
31202
|
-
/**
|
|
31203
|
-
* Full access to all stores for all users with this role
|
|
31204
|
-
* @type {boolean}
|
|
31205
|
-
* @memberof DataTypesUserRolePermissionsResponse
|
|
31206
|
-
*/
|
|
31207
|
-
'allStoresFullAccess'?: boolean;
|
|
31208
|
-
/**
|
|
31209
|
-
* All menus available to modifying user
|
|
31210
|
-
* @type {Array<DataTypesMenu>}
|
|
31211
|
-
* @memberof DataTypesUserRolePermissionsResponse
|
|
31212
|
-
*/
|
|
31213
|
-
'availableMenus'?: Array<DataTypesMenu>;
|
|
31214
|
-
/**
|
|
31215
|
-
* All stores available to modifying user
|
|
31216
|
-
* @type {Array<DataTypesStore>}
|
|
31217
|
-
* @memberof DataTypesUserRolePermissionsResponse
|
|
31218
|
-
*/
|
|
31219
|
-
'availableStores'?: Array<DataTypesStore>;
|
|
31220
|
-
/**
|
|
31221
|
-
* Full access at user-specific role level
|
|
31222
|
-
* @type {boolean}
|
|
31223
|
-
* @memberof DataTypesUserRolePermissionsResponse
|
|
31224
|
-
*/
|
|
31225
|
-
'fullAccess'?: boolean;
|
|
31226
|
-
/**
|
|
31227
|
-
* Org-level menu/route permissions (flat list - for backward compatibility)
|
|
31228
|
-
* @type {Array<DataTypesRoleRightWithMenu>}
|
|
31229
|
-
* @memberof DataTypesUserRolePermissionsResponse
|
|
31230
|
-
*/
|
|
31231
|
-
'orgLevelMenus'?: Array<DataTypesRoleRightWithMenu>;
|
|
31232
|
-
/**
|
|
31233
|
-
* Grouped structures for frontend display
|
|
31234
|
-
* @type {DataTypesGroupedRolePermissions}
|
|
31235
|
-
* @memberof DataTypesUserRolePermissionsResponse
|
|
31236
|
-
*/
|
|
31237
|
-
'orgLevelMenusGrouped'?: DataTypesGroupedRolePermissions;
|
|
31238
|
-
/**
|
|
31239
|
-
*
|
|
31240
|
-
* @type {number}
|
|
31241
|
-
* @memberof DataTypesUserRolePermissionsResponse
|
|
31242
|
-
*/
|
|
31243
|
-
'roleId'?: number;
|
|
31244
|
-
/**
|
|
31245
|
-
*
|
|
31246
|
-
* @type {string}
|
|
31247
|
-
* @memberof DataTypesUserRolePermissionsResponse
|
|
31248
|
-
*/
|
|
31249
|
-
'roleName'?: string;
|
|
31250
|
-
/**
|
|
31251
|
-
* Store-level menu/route permissions (includes store access fields)
|
|
31252
|
-
* @type {Array<DataTypesStoreLevelMenuRightWithMenu>}
|
|
31253
|
-
* @memberof DataTypesUserRolePermissionsResponse
|
|
31254
|
-
*/
|
|
31255
|
-
'storeAccess'?: Array<DataTypesStoreLevelMenuRightWithMenu>;
|
|
31256
|
-
/**
|
|
31257
|
-
* Store-level menus grouped by module and parent
|
|
31258
|
-
* @type {Array<DataTypesGroupedStoreAccess>}
|
|
31259
|
-
* @memberof DataTypesUserRolePermissionsResponse
|
|
31260
|
-
*/
|
|
31261
|
-
'storeAccessGrouped'?: Array<DataTypesGroupedStoreAccess>;
|
|
31262
|
-
/**
|
|
31263
|
-
*
|
|
31264
|
-
* @type {boolean}
|
|
31265
|
-
* @memberof DataTypesUserRolePermissionsResponse
|
|
31266
|
-
*/
|
|
31267
|
-
'useCustomPermissions'?: boolean;
|
|
31268
|
-
/**
|
|
31269
|
-
*
|
|
31270
|
-
* @type {number}
|
|
31271
|
-
* @memberof DataTypesUserRolePermissionsResponse
|
|
31272
|
-
*/
|
|
31273
|
-
'userId'?: number;
|
|
31274
|
-
/**
|
|
31275
|
-
*
|
|
31276
|
-
* @type {number}
|
|
31277
|
-
* @memberof DataTypesUserRolePermissionsResponse
|
|
31278
|
-
*/
|
|
31279
|
-
'userSpecificRoleId'?: number;
|
|
31280
|
-
}
|
|
31281
32387
|
/**
|
|
31282
32388
|
*
|
|
31283
32389
|
* @export
|
|
@@ -32130,43 +33236,67 @@ export interface FeatureLimitServiceAPICallStatus {
|
|
|
32130
33236
|
*/
|
|
32131
33237
|
export interface FeatureLimitServiceCreditStatus {
|
|
32132
33238
|
/**
|
|
32133
|
-
*
|
|
33239
|
+
* Remaining in THIS cycle (total - consumed_this_cycle)
|
|
32134
33240
|
* @type {number}
|
|
32135
33241
|
* @memberof FeatureLimitServiceCreditStatus
|
|
32136
33242
|
*/
|
|
32137
33243
|
'available'?: number;
|
|
32138
33244
|
/**
|
|
32139
|
-
*
|
|
33245
|
+
* Credits consumed in THIS billing cycle
|
|
32140
33246
|
* @type {number}
|
|
32141
33247
|
* @memberof FeatureLimitServiceCreditStatus
|
|
32142
33248
|
*/
|
|
32143
|
-
'
|
|
33249
|
+
'consumed_this_cycle'?: number;
|
|
32144
33250
|
/**
|
|
32145
|
-
*
|
|
32146
|
-
* @type {
|
|
33251
|
+
* Billing cycle end date
|
|
33252
|
+
* @type {string}
|
|
32147
33253
|
* @memberof FeatureLimitServiceCreditStatus
|
|
32148
33254
|
*/
|
|
32149
|
-
'
|
|
33255
|
+
'cycle_end'?: string;
|
|
32150
33256
|
/**
|
|
32151
|
-
*
|
|
33257
|
+
* Billing cycle start date
|
|
32152
33258
|
* @type {string}
|
|
32153
33259
|
* @memberof FeatureLimitServiceCreditStatus
|
|
32154
33260
|
*/
|
|
32155
|
-
'
|
|
33261
|
+
'cycle_start'?: string;
|
|
32156
33262
|
/**
|
|
32157
|
-
*
|
|
33263
|
+
* True if actual balance (subscription + topup) <= 0
|
|
32158
33264
|
* @type {boolean}
|
|
32159
33265
|
* @memberof FeatureLimitServiceCreditStatus
|
|
32160
33266
|
*/
|
|
32161
33267
|
'is_exhausted'?: boolean;
|
|
32162
33268
|
/**
|
|
32163
|
-
*
|
|
33269
|
+
* All-time consumed credits
|
|
33270
|
+
* @type {number}
|
|
33271
|
+
* @memberof FeatureLimitServiceCreditStatus
|
|
33272
|
+
*/
|
|
33273
|
+
'lifetime_consumed'?: number;
|
|
33274
|
+
/**
|
|
33275
|
+
* All-time purchased credits
|
|
33276
|
+
* @type {number}
|
|
33277
|
+
* @memberof FeatureLimitServiceCreditStatus
|
|
33278
|
+
*/
|
|
33279
|
+
'lifetime_purchased'?: number;
|
|
33280
|
+
/**
|
|
33281
|
+
* Actual subscription balance (includes rollover across cycles)
|
|
33282
|
+
* @type {number}
|
|
33283
|
+
* @memberof FeatureLimitServiceCreditStatus
|
|
33284
|
+
*/
|
|
33285
|
+
'subscription_available'?: number;
|
|
33286
|
+
/**
|
|
33287
|
+
* Actual top-up balance (purchased credits, never expire)
|
|
33288
|
+
* @type {number}
|
|
33289
|
+
* @memberof FeatureLimitServiceCreditStatus
|
|
33290
|
+
*/
|
|
33291
|
+
'topup_available'?: number;
|
|
33292
|
+
/**
|
|
33293
|
+
* THIS cycle\'s allocated credits (e.g., 1,600,000/month)
|
|
32164
33294
|
* @type {number}
|
|
32165
33295
|
* @memberof FeatureLimitServiceCreditStatus
|
|
32166
33296
|
*/
|
|
32167
33297
|
'total'?: number;
|
|
32168
33298
|
/**
|
|
32169
|
-
*
|
|
33299
|
+
* consumed_this_cycle / total * 100
|
|
32170
33300
|
* @type {number}
|
|
32171
33301
|
* @memberof FeatureLimitServiceCreditStatus
|
|
32172
33302
|
*/
|
|
@@ -53322,7 +54452,7 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
|
|
|
53322
54452
|
* @param {*} [options] Override http request option.
|
|
53323
54453
|
* @throws {RequiredError}
|
|
53324
54454
|
*/
|
|
53325
|
-
async adminBillingOverviewNewGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
54455
|
+
async adminBillingOverviewNewGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesBillingOverviewNewResponse>> {
|
|
53326
54456
|
const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingOverviewNewGet(options);
|
|
53327
54457
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
53328
54458
|
const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingOverviewNewGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -53840,7 +54970,7 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
|
|
|
53840
54970
|
* @param {*} [options] Override http request option.
|
|
53841
54971
|
* @throws {RequiredError}
|
|
53842
54972
|
*/
|
|
53843
|
-
adminBillingOverviewNewGet(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
54973
|
+
adminBillingOverviewNewGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesBillingOverviewNewResponse> {
|
|
53844
54974
|
return localVarFp.adminBillingOverviewNewGet(options).then((request) => request(axios, basePath));
|
|
53845
54975
|
},
|
|
53846
54976
|
/**
|
|
@@ -57736,7 +58866,7 @@ export const CreditsApiFp = function(configuration?: Configuration) {
|
|
|
57736
58866
|
* @param {*} [options] Override http request option.
|
|
57737
58867
|
* @throws {RequiredError}
|
|
57738
58868
|
*/
|
|
57739
|
-
async creditsConsumptionHistoryGet(page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
58869
|
+
async creditsConsumptionHistoryGet(page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesConsumptionHistoryResponse>> {
|
|
57740
58870
|
const localVarAxiosArgs = await localVarAxiosParamCreator.creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options);
|
|
57741
58871
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
57742
58872
|
const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsConsumptionHistoryGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -57855,7 +58985,7 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
|
|
|
57855
58985
|
* @param {*} [options] Override http request option.
|
|
57856
58986
|
* @throws {RequiredError}
|
|
57857
58987
|
*/
|
|
57858
|
-
creditsConsumptionHistoryGet(page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
58988
|
+
creditsConsumptionHistoryGet(page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesConsumptionHistoryResponse> {
|
|
57859
58989
|
return localVarFp.creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options).then((request) => request(axios, basePath));
|
|
57860
58990
|
},
|
|
57861
58991
|
/**
|
|
@@ -79904,15 +81034,15 @@ export const RolesApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
79904
81034
|
* Updates role permissions with org-level and store-level separation
|
|
79905
81035
|
* @summary Update role permissions
|
|
79906
81036
|
* @param {number} roleId Role ID
|
|
79907
|
-
* @param {
|
|
81037
|
+
* @param {DataTypesSlimUpdateRolePermissionsRequest} dataTypesSlimUpdateRolePermissionsRequest Permission configuration (slim). Also accepts DataTypes.UpdateRolePermissionsRequest (legacy)
|
|
79908
81038
|
* @param {*} [options] Override http request option.
|
|
79909
81039
|
* @throws {RequiredError}
|
|
79910
81040
|
*/
|
|
79911
|
-
adminRolesRoleIdPermissionsPut: async (roleId: number,
|
|
81041
|
+
adminRolesRoleIdPermissionsPut: async (roleId: number, dataTypesSlimUpdateRolePermissionsRequest: DataTypesSlimUpdateRolePermissionsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
79912
81042
|
// verify required parameter 'roleId' is not null or undefined
|
|
79913
81043
|
assertParamExists('adminRolesRoleIdPermissionsPut', 'roleId', roleId)
|
|
79914
|
-
// verify required parameter '
|
|
79915
|
-
assertParamExists('adminRolesRoleIdPermissionsPut', '
|
|
81044
|
+
// verify required parameter 'dataTypesSlimUpdateRolePermissionsRequest' is not null or undefined
|
|
81045
|
+
assertParamExists('adminRolesRoleIdPermissionsPut', 'dataTypesSlimUpdateRolePermissionsRequest', dataTypesSlimUpdateRolePermissionsRequest)
|
|
79916
81046
|
const localVarPath = `/admin/roles/{roleId}/permissions`
|
|
79917
81047
|
.replace(`{${"roleId"}}`, encodeURIComponent(String(roleId)));
|
|
79918
81048
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -79936,7 +81066,7 @@ export const RolesApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
79936
81066
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79937
81067
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
79938
81068
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
79939
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
81069
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesSlimUpdateRolePermissionsRequest, localVarRequestOptions, configuration)
|
|
79940
81070
|
|
|
79941
81071
|
return {
|
|
79942
81072
|
url: toPathString(localVarUrlObj),
|
|
@@ -80038,7 +81168,7 @@ export const RolesApiFp = function(configuration?: Configuration) {
|
|
|
80038
81168
|
* @param {*} [options] Override http request option.
|
|
80039
81169
|
* @throws {RequiredError}
|
|
80040
81170
|
*/
|
|
80041
|
-
async adminRolesRoleIdPermissionsGet(roleId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
81171
|
+
async adminRolesRoleIdPermissionsGet(roleId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSlimRolePermissionsResponse>> {
|
|
80042
81172
|
const localVarAxiosArgs = await localVarAxiosParamCreator.adminRolesRoleIdPermissionsGet(roleId, options);
|
|
80043
81173
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
80044
81174
|
const localVarOperationServerBasePath = operationServerMap['RolesApi.adminRolesRoleIdPermissionsGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -80048,12 +81178,12 @@ export const RolesApiFp = function(configuration?: Configuration) {
|
|
|
80048
81178
|
* Updates role permissions with org-level and store-level separation
|
|
80049
81179
|
* @summary Update role permissions
|
|
80050
81180
|
* @param {number} roleId Role ID
|
|
80051
|
-
* @param {
|
|
81181
|
+
* @param {DataTypesSlimUpdateRolePermissionsRequest} dataTypesSlimUpdateRolePermissionsRequest Permission configuration (slim). Also accepts DataTypes.UpdateRolePermissionsRequest (legacy)
|
|
80052
81182
|
* @param {*} [options] Override http request option.
|
|
80053
81183
|
* @throws {RequiredError}
|
|
80054
81184
|
*/
|
|
80055
|
-
async adminRolesRoleIdPermissionsPut(roleId: number,
|
|
80056
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.adminRolesRoleIdPermissionsPut(roleId,
|
|
81185
|
+
async adminRolesRoleIdPermissionsPut(roleId: number, dataTypesSlimUpdateRolePermissionsRequest: DataTypesSlimUpdateRolePermissionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
81186
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminRolesRoleIdPermissionsPut(roleId, dataTypesSlimUpdateRolePermissionsRequest, options);
|
|
80057
81187
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
80058
81188
|
const localVarOperationServerBasePath = operationServerMap['RolesApi.adminRolesRoleIdPermissionsPut']?.[localVarOperationServerIndex]?.url;
|
|
80059
81189
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -80135,19 +81265,19 @@ export const RolesApiFactory = function (configuration?: Configuration, basePath
|
|
|
80135
81265
|
* @param {*} [options] Override http request option.
|
|
80136
81266
|
* @throws {RequiredError}
|
|
80137
81267
|
*/
|
|
80138
|
-
adminRolesRoleIdPermissionsGet(roleId: number, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
81268
|
+
adminRolesRoleIdPermissionsGet(roleId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSlimRolePermissionsResponse> {
|
|
80139
81269
|
return localVarFp.adminRolesRoleIdPermissionsGet(roleId, options).then((request) => request(axios, basePath));
|
|
80140
81270
|
},
|
|
80141
81271
|
/**
|
|
80142
81272
|
* Updates role permissions with org-level and store-level separation
|
|
80143
81273
|
* @summary Update role permissions
|
|
80144
81274
|
* @param {number} roleId Role ID
|
|
80145
|
-
* @param {
|
|
81275
|
+
* @param {DataTypesSlimUpdateRolePermissionsRequest} dataTypesSlimUpdateRolePermissionsRequest Permission configuration (slim). Also accepts DataTypes.UpdateRolePermissionsRequest (legacy)
|
|
80146
81276
|
* @param {*} [options] Override http request option.
|
|
80147
81277
|
* @throws {RequiredError}
|
|
80148
81278
|
*/
|
|
80149
|
-
adminRolesRoleIdPermissionsPut(roleId: number,
|
|
80150
|
-
return localVarFp.adminRolesRoleIdPermissionsPut(roleId,
|
|
81279
|
+
adminRolesRoleIdPermissionsPut(roleId: number, dataTypesSlimUpdateRolePermissionsRequest: DataTypesSlimUpdateRolePermissionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
81280
|
+
return localVarFp.adminRolesRoleIdPermissionsPut(roleId, dataTypesSlimUpdateRolePermissionsRequest, options).then((request) => request(axios, basePath));
|
|
80151
81281
|
},
|
|
80152
81282
|
};
|
|
80153
81283
|
};
|
|
@@ -80247,13 +81377,13 @@ export class RolesApi extends BaseAPI {
|
|
|
80247
81377
|
* Updates role permissions with org-level and store-level separation
|
|
80248
81378
|
* @summary Update role permissions
|
|
80249
81379
|
* @param {number} roleId Role ID
|
|
80250
|
-
* @param {
|
|
81380
|
+
* @param {DataTypesSlimUpdateRolePermissionsRequest} dataTypesSlimUpdateRolePermissionsRequest Permission configuration (slim). Also accepts DataTypes.UpdateRolePermissionsRequest (legacy)
|
|
80251
81381
|
* @param {*} [options] Override http request option.
|
|
80252
81382
|
* @throws {RequiredError}
|
|
80253
81383
|
* @memberof RolesApi
|
|
80254
81384
|
*/
|
|
80255
|
-
public adminRolesRoleIdPermissionsPut(roleId: number,
|
|
80256
|
-
return RolesApiFp(this.configuration).adminRolesRoleIdPermissionsPut(roleId,
|
|
81385
|
+
public adminRolesRoleIdPermissionsPut(roleId: number, dataTypesSlimUpdateRolePermissionsRequest: DataTypesSlimUpdateRolePermissionsRequest, options?: RawAxiosRequestConfig) {
|
|
81386
|
+
return RolesApiFp(this.configuration).adminRolesRoleIdPermissionsPut(roleId, dataTypesSlimUpdateRolePermissionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
80257
81387
|
}
|
|
80258
81388
|
}
|
|
80259
81389
|
|
|
@@ -90091,15 +91221,15 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
90091
91221
|
* Updates user-specific role permissions with org-level and store-level separation
|
|
90092
91222
|
* @summary Update user-specific role permissions
|
|
90093
91223
|
* @param {number} userId User ID
|
|
90094
|
-
* @param {
|
|
91224
|
+
* @param {DataTypesSlimUpdateUserRolePermissionsRequest} dataTypesSlimUpdateUserRolePermissionsRequest Permission configuration (slim). Also accepts DataTypes.UpdateUserRolePermissionsRequest (legacy)
|
|
90095
91225
|
* @param {*} [options] Override http request option.
|
|
90096
91226
|
* @throws {RequiredError}
|
|
90097
91227
|
*/
|
|
90098
|
-
adminUsersUserIdPermissionsRolePut: async (userId: number,
|
|
91228
|
+
adminUsersUserIdPermissionsRolePut: async (userId: number, dataTypesSlimUpdateUserRolePermissionsRequest: DataTypesSlimUpdateUserRolePermissionsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
90099
91229
|
// verify required parameter 'userId' is not null or undefined
|
|
90100
91230
|
assertParamExists('adminUsersUserIdPermissionsRolePut', 'userId', userId)
|
|
90101
|
-
// verify required parameter '
|
|
90102
|
-
assertParamExists('adminUsersUserIdPermissionsRolePut', '
|
|
91231
|
+
// verify required parameter 'dataTypesSlimUpdateUserRolePermissionsRequest' is not null or undefined
|
|
91232
|
+
assertParamExists('adminUsersUserIdPermissionsRolePut', 'dataTypesSlimUpdateUserRolePermissionsRequest', dataTypesSlimUpdateUserRolePermissionsRequest)
|
|
90103
91233
|
const localVarPath = `/admin/users/{userId}/permissions/role`
|
|
90104
91234
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
90105
91235
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -90123,7 +91253,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
90123
91253
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
90124
91254
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
90125
91255
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
90126
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
91256
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesSlimUpdateUserRolePermissionsRequest, localVarRequestOptions, configuration)
|
|
90127
91257
|
|
|
90128
91258
|
return {
|
|
90129
91259
|
url: toPathString(localVarUrlObj),
|
|
@@ -90280,7 +91410,7 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
|
90280
91410
|
* @param {*} [options] Override http request option.
|
|
90281
91411
|
* @throws {RequiredError}
|
|
90282
91412
|
*/
|
|
90283
|
-
async adminUsersUserIdPermissionsRoleGet(userId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
91413
|
+
async adminUsersUserIdPermissionsRoleGet(userId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSlimUserRolePermissionsResponse>> {
|
|
90284
91414
|
const localVarAxiosArgs = await localVarAxiosParamCreator.adminUsersUserIdPermissionsRoleGet(userId, options);
|
|
90285
91415
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
90286
91416
|
const localVarOperationServerBasePath = operationServerMap['UserApi.adminUsersUserIdPermissionsRoleGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -90290,12 +91420,12 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
|
90290
91420
|
* Updates user-specific role permissions with org-level and store-level separation
|
|
90291
91421
|
* @summary Update user-specific role permissions
|
|
90292
91422
|
* @param {number} userId User ID
|
|
90293
|
-
* @param {
|
|
91423
|
+
* @param {DataTypesSlimUpdateUserRolePermissionsRequest} dataTypesSlimUpdateUserRolePermissionsRequest Permission configuration (slim). Also accepts DataTypes.UpdateUserRolePermissionsRequest (legacy)
|
|
90294
91424
|
* @param {*} [options] Override http request option.
|
|
90295
91425
|
* @throws {RequiredError}
|
|
90296
91426
|
*/
|
|
90297
|
-
async adminUsersUserIdPermissionsRolePut(userId: number,
|
|
90298
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.adminUsersUserIdPermissionsRolePut(userId,
|
|
91427
|
+
async adminUsersUserIdPermissionsRolePut(userId: number, dataTypesSlimUpdateUserRolePermissionsRequest: DataTypesSlimUpdateUserRolePermissionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
91428
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminUsersUserIdPermissionsRolePut(userId, dataTypesSlimUpdateUserRolePermissionsRequest, options);
|
|
90299
91429
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
90300
91430
|
const localVarOperationServerBasePath = operationServerMap['UserApi.adminUsersUserIdPermissionsRolePut']?.[localVarOperationServerIndex]?.url;
|
|
90301
91431
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -90420,19 +91550,19 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
90420
91550
|
* @param {*} [options] Override http request option.
|
|
90421
91551
|
* @throws {RequiredError}
|
|
90422
91552
|
*/
|
|
90423
|
-
adminUsersUserIdPermissionsRoleGet(userId: number, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
91553
|
+
adminUsersUserIdPermissionsRoleGet(userId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSlimUserRolePermissionsResponse> {
|
|
90424
91554
|
return localVarFp.adminUsersUserIdPermissionsRoleGet(userId, options).then((request) => request(axios, basePath));
|
|
90425
91555
|
},
|
|
90426
91556
|
/**
|
|
90427
91557
|
* Updates user-specific role permissions with org-level and store-level separation
|
|
90428
91558
|
* @summary Update user-specific role permissions
|
|
90429
91559
|
* @param {number} userId User ID
|
|
90430
|
-
* @param {
|
|
91560
|
+
* @param {DataTypesSlimUpdateUserRolePermissionsRequest} dataTypesSlimUpdateUserRolePermissionsRequest Permission configuration (slim). Also accepts DataTypes.UpdateUserRolePermissionsRequest (legacy)
|
|
90431
91561
|
* @param {*} [options] Override http request option.
|
|
90432
91562
|
* @throws {RequiredError}
|
|
90433
91563
|
*/
|
|
90434
|
-
adminUsersUserIdPermissionsRolePut(userId: number,
|
|
90435
|
-
return localVarFp.adminUsersUserIdPermissionsRolePut(userId,
|
|
91564
|
+
adminUsersUserIdPermissionsRolePut(userId: number, dataTypesSlimUpdateUserRolePermissionsRequest: DataTypesSlimUpdateUserRolePermissionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
91565
|
+
return localVarFp.adminUsersUserIdPermissionsRolePut(userId, dataTypesSlimUpdateUserRolePermissionsRequest, options).then((request) => request(axios, basePath));
|
|
90436
91566
|
},
|
|
90437
91567
|
};
|
|
90438
91568
|
};
|
|
@@ -90583,13 +91713,13 @@ export class UserApi extends BaseAPI {
|
|
|
90583
91713
|
* Updates user-specific role permissions with org-level and store-level separation
|
|
90584
91714
|
* @summary Update user-specific role permissions
|
|
90585
91715
|
* @param {number} userId User ID
|
|
90586
|
-
* @param {
|
|
91716
|
+
* @param {DataTypesSlimUpdateUserRolePermissionsRequest} dataTypesSlimUpdateUserRolePermissionsRequest Permission configuration (slim). Also accepts DataTypes.UpdateUserRolePermissionsRequest (legacy)
|
|
90587
91717
|
* @param {*} [options] Override http request option.
|
|
90588
91718
|
* @throws {RequiredError}
|
|
90589
91719
|
* @memberof UserApi
|
|
90590
91720
|
*/
|
|
90591
|
-
public adminUsersUserIdPermissionsRolePut(userId: number,
|
|
90592
|
-
return UserApiFp(this.configuration).adminUsersUserIdPermissionsRolePut(userId,
|
|
91721
|
+
public adminUsersUserIdPermissionsRolePut(userId: number, dataTypesSlimUpdateUserRolePermissionsRequest: DataTypesSlimUpdateUserRolePermissionsRequest, options?: RawAxiosRequestConfig) {
|
|
91722
|
+
return UserApiFp(this.configuration).adminUsersUserIdPermissionsRolePut(userId, dataTypesSlimUpdateUserRolePermissionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
90593
91723
|
}
|
|
90594
91724
|
}
|
|
90595
91725
|
|