@seekora-ai/admin-api 1.1.36 → 1.1.37
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 +27 -14
- package/api.ts +894 -131
- package/dist/api.d.ts +627 -56
- package/dist/api.js +502 -138
- package/dist/esm/api.d.ts +627 -56
- package/dist/esm/api.js +487 -131
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.37.tgz +0 -0
- package/seekora-ai-admin-api-1.1.36.tgz +0 -0
package/api.ts
CHANGED
|
@@ -8897,6 +8897,103 @@ export interface DataTypesDefaultDeclensionsResponseWrapper {
|
|
|
8897
8897
|
*/
|
|
8898
8898
|
'status'?: number;
|
|
8899
8899
|
}
|
|
8900
|
+
/**
|
|
8901
|
+
*
|
|
8902
|
+
* @export
|
|
8903
|
+
* @interface DataTypesDefaultMenu
|
|
8904
|
+
*/
|
|
8905
|
+
export interface DataTypesDefaultMenu {
|
|
8906
|
+
/**
|
|
8907
|
+
*
|
|
8908
|
+
* @type {string}
|
|
8909
|
+
* @memberof DataTypesDefaultMenu
|
|
8910
|
+
*/
|
|
8911
|
+
'createdDateTime'?: string;
|
|
8912
|
+
/**
|
|
8913
|
+
*
|
|
8914
|
+
* @type {number}
|
|
8915
|
+
* @memberof DataTypesDefaultMenu
|
|
8916
|
+
*/
|
|
8917
|
+
'createdUserId'?: number;
|
|
8918
|
+
/**
|
|
8919
|
+
*
|
|
8920
|
+
* @type {number}
|
|
8921
|
+
* @memberof DataTypesDefaultMenu
|
|
8922
|
+
*/
|
|
8923
|
+
'defaultMenuId'?: number;
|
|
8924
|
+
/**
|
|
8925
|
+
*
|
|
8926
|
+
* @type {string}
|
|
8927
|
+
* @memberof DataTypesDefaultMenu
|
|
8928
|
+
*/
|
|
8929
|
+
'formName'?: string;
|
|
8930
|
+
/**
|
|
8931
|
+
*
|
|
8932
|
+
* @type {string}
|
|
8933
|
+
* @memberof DataTypesDefaultMenu
|
|
8934
|
+
*/
|
|
8935
|
+
'icon'?: string;
|
|
8936
|
+
/**
|
|
8937
|
+
*
|
|
8938
|
+
* @type {boolean}
|
|
8939
|
+
* @memberof DataTypesDefaultMenu
|
|
8940
|
+
*/
|
|
8941
|
+
'isActive'?: boolean;
|
|
8942
|
+
/**
|
|
8943
|
+
*
|
|
8944
|
+
* @type {boolean}
|
|
8945
|
+
* @memberof DataTypesDefaultMenu
|
|
8946
|
+
*/
|
|
8947
|
+
'isGloballyVisible'?: boolean;
|
|
8948
|
+
/**
|
|
8949
|
+
*
|
|
8950
|
+
* @type {boolean}
|
|
8951
|
+
* @memberof DataTypesDefaultMenu
|
|
8952
|
+
*/
|
|
8953
|
+
'isParentMenu'?: boolean;
|
|
8954
|
+
/**
|
|
8955
|
+
* \'org\' or \'store\'
|
|
8956
|
+
* @type {string}
|
|
8957
|
+
* @memberof DataTypesDefaultMenu
|
|
8958
|
+
*/
|
|
8959
|
+
'menuLevel'?: string;
|
|
8960
|
+
/**
|
|
8961
|
+
*
|
|
8962
|
+
* @type {string}
|
|
8963
|
+
* @memberof DataTypesDefaultMenu
|
|
8964
|
+
*/
|
|
8965
|
+
'menuLocation'?: string;
|
|
8966
|
+
/**
|
|
8967
|
+
*
|
|
8968
|
+
* @type {string}
|
|
8969
|
+
* @memberof DataTypesDefaultMenu
|
|
8970
|
+
*/
|
|
8971
|
+
'menuName'?: string;
|
|
8972
|
+
/**
|
|
8973
|
+
*
|
|
8974
|
+
* @type {string}
|
|
8975
|
+
* @memberof DataTypesDefaultMenu
|
|
8976
|
+
*/
|
|
8977
|
+
'moduleType'?: string;
|
|
8978
|
+
/**
|
|
8979
|
+
*
|
|
8980
|
+
* @type {string}
|
|
8981
|
+
* @memberof DataTypesDefaultMenu
|
|
8982
|
+
*/
|
|
8983
|
+
'parentMenuName'?: string;
|
|
8984
|
+
/**
|
|
8985
|
+
*
|
|
8986
|
+
* @type {string}
|
|
8987
|
+
* @memberof DataTypesDefaultMenu
|
|
8988
|
+
*/
|
|
8989
|
+
'route'?: string;
|
|
8990
|
+
/**
|
|
8991
|
+
*
|
|
8992
|
+
* @type {number}
|
|
8993
|
+
* @memberof DataTypesDefaultMenu
|
|
8994
|
+
*/
|
|
8995
|
+
'sortOrder'?: number;
|
|
8996
|
+
}
|
|
8900
8997
|
/**
|
|
8901
8998
|
*
|
|
8902
8999
|
* @export
|
|
@@ -9942,6 +10039,31 @@ export interface DataTypesGenericResponseAny {
|
|
|
9942
10039
|
*/
|
|
9943
10040
|
'status'?: number;
|
|
9944
10041
|
}
|
|
10042
|
+
/**
|
|
10043
|
+
*
|
|
10044
|
+
* @export
|
|
10045
|
+
* @interface DataTypesGenericResponseArrayDataTypesDefaultMenu
|
|
10046
|
+
*/
|
|
10047
|
+
export interface DataTypesGenericResponseArrayDataTypesDefaultMenu {
|
|
10048
|
+
/**
|
|
10049
|
+
*
|
|
10050
|
+
* @type {Array<DataTypesDefaultMenu>}
|
|
10051
|
+
* @memberof DataTypesGenericResponseArrayDataTypesDefaultMenu
|
|
10052
|
+
*/
|
|
10053
|
+
'data'?: Array<DataTypesDefaultMenu>;
|
|
10054
|
+
/**
|
|
10055
|
+
*
|
|
10056
|
+
* @type {string}
|
|
10057
|
+
* @memberof DataTypesGenericResponseArrayDataTypesDefaultMenu
|
|
10058
|
+
*/
|
|
10059
|
+
'message'?: string;
|
|
10060
|
+
/**
|
|
10061
|
+
*
|
|
10062
|
+
* @type {number}
|
|
10063
|
+
* @memberof DataTypesGenericResponseArrayDataTypesDefaultMenu
|
|
10064
|
+
*/
|
|
10065
|
+
'status'?: number;
|
|
10066
|
+
}
|
|
9945
10067
|
/**
|
|
9946
10068
|
*
|
|
9947
10069
|
* @export
|
|
@@ -10317,6 +10439,31 @@ export interface DataTypesGenericResponseDataTypesUsageBreakdownGraphResponse {
|
|
|
10317
10439
|
*/
|
|
10318
10440
|
'status'?: number;
|
|
10319
10441
|
}
|
|
10442
|
+
/**
|
|
10443
|
+
*
|
|
10444
|
+
* @export
|
|
10445
|
+
* @interface DataTypesGenericResponseDefaultMenuRoutesUpdateMenuVisibilityResponse
|
|
10446
|
+
*/
|
|
10447
|
+
export interface DataTypesGenericResponseDefaultMenuRoutesUpdateMenuVisibilityResponse {
|
|
10448
|
+
/**
|
|
10449
|
+
*
|
|
10450
|
+
* @type {DefaultMenuRoutesUpdateMenuVisibilityResponse}
|
|
10451
|
+
* @memberof DataTypesGenericResponseDefaultMenuRoutesUpdateMenuVisibilityResponse
|
|
10452
|
+
*/
|
|
10453
|
+
'data'?: DefaultMenuRoutesUpdateMenuVisibilityResponse;
|
|
10454
|
+
/**
|
|
10455
|
+
*
|
|
10456
|
+
* @type {string}
|
|
10457
|
+
* @memberof DataTypesGenericResponseDefaultMenuRoutesUpdateMenuVisibilityResponse
|
|
10458
|
+
*/
|
|
10459
|
+
'message'?: string;
|
|
10460
|
+
/**
|
|
10461
|
+
*
|
|
10462
|
+
* @type {number}
|
|
10463
|
+
* @memberof DataTypesGenericResponseDefaultMenuRoutesUpdateMenuVisibilityResponse
|
|
10464
|
+
*/
|
|
10465
|
+
'status'?: number;
|
|
10466
|
+
}
|
|
10320
10467
|
/**
|
|
10321
10468
|
*
|
|
10322
10469
|
* @export
|
|
@@ -10342,6 +10489,56 @@ export interface DataTypesGenericResponseFeatureLimitServiceLimitStatus {
|
|
|
10342
10489
|
*/
|
|
10343
10490
|
'status'?: number;
|
|
10344
10491
|
}
|
|
10492
|
+
/**
|
|
10493
|
+
*
|
|
10494
|
+
* @export
|
|
10495
|
+
* @interface DataTypesGenericResponseMenuRoutesAddMenuResponse
|
|
10496
|
+
*/
|
|
10497
|
+
export interface DataTypesGenericResponseMenuRoutesAddMenuResponse {
|
|
10498
|
+
/**
|
|
10499
|
+
*
|
|
10500
|
+
* @type {MenuRoutesAddMenuResponse}
|
|
10501
|
+
* @memberof DataTypesGenericResponseMenuRoutesAddMenuResponse
|
|
10502
|
+
*/
|
|
10503
|
+
'data'?: MenuRoutesAddMenuResponse;
|
|
10504
|
+
/**
|
|
10505
|
+
*
|
|
10506
|
+
* @type {string}
|
|
10507
|
+
* @memberof DataTypesGenericResponseMenuRoutesAddMenuResponse
|
|
10508
|
+
*/
|
|
10509
|
+
'message'?: string;
|
|
10510
|
+
/**
|
|
10511
|
+
*
|
|
10512
|
+
* @type {number}
|
|
10513
|
+
* @memberof DataTypesGenericResponseMenuRoutesAddMenuResponse
|
|
10514
|
+
*/
|
|
10515
|
+
'status'?: number;
|
|
10516
|
+
}
|
|
10517
|
+
/**
|
|
10518
|
+
*
|
|
10519
|
+
* @export
|
|
10520
|
+
* @interface DataTypesGenericResponseString
|
|
10521
|
+
*/
|
|
10522
|
+
export interface DataTypesGenericResponseString {
|
|
10523
|
+
/**
|
|
10524
|
+
*
|
|
10525
|
+
* @type {string}
|
|
10526
|
+
* @memberof DataTypesGenericResponseString
|
|
10527
|
+
*/
|
|
10528
|
+
'data'?: string;
|
|
10529
|
+
/**
|
|
10530
|
+
*
|
|
10531
|
+
* @type {string}
|
|
10532
|
+
* @memberof DataTypesGenericResponseString
|
|
10533
|
+
*/
|
|
10534
|
+
'message'?: string;
|
|
10535
|
+
/**
|
|
10536
|
+
*
|
|
10537
|
+
* @type {number}
|
|
10538
|
+
* @memberof DataTypesGenericResponseString
|
|
10539
|
+
*/
|
|
10540
|
+
'status'?: number;
|
|
10541
|
+
}
|
|
10345
10542
|
/**
|
|
10346
10543
|
*
|
|
10347
10544
|
* @export
|
|
@@ -22389,6 +22586,56 @@ export interface DataTypesWordWithStatusEnhanced {
|
|
|
22389
22586
|
*/
|
|
22390
22587
|
'wordid'?: number;
|
|
22391
22588
|
}
|
|
22589
|
+
/**
|
|
22590
|
+
*
|
|
22591
|
+
* @export
|
|
22592
|
+
* @interface DefaultMenuRoutesUpdateMenuVisibilityRequest
|
|
22593
|
+
*/
|
|
22594
|
+
export interface DefaultMenuRoutesUpdateMenuVisibilityRequest {
|
|
22595
|
+
/**
|
|
22596
|
+
*
|
|
22597
|
+
* @type {number}
|
|
22598
|
+
* @memberof DefaultMenuRoutesUpdateMenuVisibilityRequest
|
|
22599
|
+
*/
|
|
22600
|
+
'defaultMenuId': number;
|
|
22601
|
+
/**
|
|
22602
|
+
*
|
|
22603
|
+
* @type {boolean}
|
|
22604
|
+
* @memberof DefaultMenuRoutesUpdateMenuVisibilityRequest
|
|
22605
|
+
*/
|
|
22606
|
+
'isGloballyVisible'?: boolean;
|
|
22607
|
+
}
|
|
22608
|
+
/**
|
|
22609
|
+
*
|
|
22610
|
+
* @export
|
|
22611
|
+
* @interface DefaultMenuRoutesUpdateMenuVisibilityResponse
|
|
22612
|
+
*/
|
|
22613
|
+
export interface DefaultMenuRoutesUpdateMenuVisibilityResponse {
|
|
22614
|
+
/**
|
|
22615
|
+
*
|
|
22616
|
+
* @type {number}
|
|
22617
|
+
* @memberof DefaultMenuRoutesUpdateMenuVisibilityResponse
|
|
22618
|
+
*/
|
|
22619
|
+
'defaultMenuId'?: number;
|
|
22620
|
+
/**
|
|
22621
|
+
*
|
|
22622
|
+
* @type {boolean}
|
|
22623
|
+
* @memberof DefaultMenuRoutesUpdateMenuVisibilityResponse
|
|
22624
|
+
*/
|
|
22625
|
+
'isGloballyVisible'?: boolean;
|
|
22626
|
+
/**
|
|
22627
|
+
*
|
|
22628
|
+
* @type {string}
|
|
22629
|
+
* @memberof DefaultMenuRoutesUpdateMenuVisibilityResponse
|
|
22630
|
+
*/
|
|
22631
|
+
'menuLevel'?: string;
|
|
22632
|
+
/**
|
|
22633
|
+
*
|
|
22634
|
+
* @type {string}
|
|
22635
|
+
* @memberof DefaultMenuRoutesUpdateMenuVisibilityResponse
|
|
22636
|
+
*/
|
|
22637
|
+
'menuName'?: string;
|
|
22638
|
+
}
|
|
22392
22639
|
/**
|
|
22393
22640
|
*
|
|
22394
22641
|
* @export
|
|
@@ -22709,6 +22956,149 @@ export interface FeatureLimitsUsageGet200Response {
|
|
|
22709
22956
|
*/
|
|
22710
22957
|
'status'?: number;
|
|
22711
22958
|
}
|
|
22959
|
+
/**
|
|
22960
|
+
*
|
|
22961
|
+
* @export
|
|
22962
|
+
* @interface MenuRoutesAddMenuRequest
|
|
22963
|
+
*/
|
|
22964
|
+
export interface MenuRoutesAddMenuRequest {
|
|
22965
|
+
/**
|
|
22966
|
+
* Optional description for audit
|
|
22967
|
+
* @type {string}
|
|
22968
|
+
* @memberof MenuRoutesAddMenuRequest
|
|
22969
|
+
*/
|
|
22970
|
+
'description'?: string;
|
|
22971
|
+
/**
|
|
22972
|
+
*
|
|
22973
|
+
* @type {string}
|
|
22974
|
+
* @memberof MenuRoutesAddMenuRequest
|
|
22975
|
+
*/
|
|
22976
|
+
'formName': string;
|
|
22977
|
+
/**
|
|
22978
|
+
*
|
|
22979
|
+
* @type {string}
|
|
22980
|
+
* @memberof MenuRoutesAddMenuRequest
|
|
22981
|
+
*/
|
|
22982
|
+
'icon': string;
|
|
22983
|
+
/**
|
|
22984
|
+
*
|
|
22985
|
+
* @type {boolean}
|
|
22986
|
+
* @memberof MenuRoutesAddMenuRequest
|
|
22987
|
+
*/
|
|
22988
|
+
'isParentMenu'?: boolean;
|
|
22989
|
+
/**
|
|
22990
|
+
*
|
|
22991
|
+
* @type {string}
|
|
22992
|
+
* @memberof MenuRoutesAddMenuRequest
|
|
22993
|
+
*/
|
|
22994
|
+
'menuLevel': MenuRoutesAddMenuRequestMenuLevelEnum;
|
|
22995
|
+
/**
|
|
22996
|
+
*
|
|
22997
|
+
* @type {string}
|
|
22998
|
+
* @memberof MenuRoutesAddMenuRequest
|
|
22999
|
+
*/
|
|
23000
|
+
'menuLocation': MenuRoutesAddMenuRequestMenuLocationEnum;
|
|
23001
|
+
/**
|
|
23002
|
+
*
|
|
23003
|
+
* @type {string}
|
|
23004
|
+
* @memberof MenuRoutesAddMenuRequest
|
|
23005
|
+
*/
|
|
23006
|
+
'menuName': string;
|
|
23007
|
+
/**
|
|
23008
|
+
*
|
|
23009
|
+
* @type {string}
|
|
23010
|
+
* @memberof MenuRoutesAddMenuRequest
|
|
23011
|
+
*/
|
|
23012
|
+
'moduleType': MenuRoutesAddMenuRequestModuleTypeEnum;
|
|
23013
|
+
/**
|
|
23014
|
+
* Only for child menus
|
|
23015
|
+
* @type {string}
|
|
23016
|
+
* @memberof MenuRoutesAddMenuRequest
|
|
23017
|
+
*/
|
|
23018
|
+
'parentMenuName'?: string;
|
|
23019
|
+
/**
|
|
23020
|
+
*
|
|
23021
|
+
* @type {string}
|
|
23022
|
+
* @memberof MenuRoutesAddMenuRequest
|
|
23023
|
+
*/
|
|
23024
|
+
'route': string;
|
|
23025
|
+
/**
|
|
23026
|
+
*
|
|
23027
|
+
* @type {number}
|
|
23028
|
+
* @memberof MenuRoutesAddMenuRequest
|
|
23029
|
+
*/
|
|
23030
|
+
'sortOrder'?: number;
|
|
23031
|
+
}
|
|
23032
|
+
|
|
23033
|
+
export const MenuRoutesAddMenuRequestMenuLevelEnum = {
|
|
23034
|
+
Org: 'org',
|
|
23035
|
+
Store: 'store'
|
|
23036
|
+
} as const;
|
|
23037
|
+
|
|
23038
|
+
export type MenuRoutesAddMenuRequestMenuLevelEnum = typeof MenuRoutesAddMenuRequestMenuLevelEnum[keyof typeof MenuRoutesAddMenuRequestMenuLevelEnum];
|
|
23039
|
+
export const MenuRoutesAddMenuRequestMenuLocationEnum = {
|
|
23040
|
+
Navbar: 'navbar',
|
|
23041
|
+
ProfileDropdown: 'profile_dropdown'
|
|
23042
|
+
} as const;
|
|
23043
|
+
|
|
23044
|
+
export type MenuRoutesAddMenuRequestMenuLocationEnum = typeof MenuRoutesAddMenuRequestMenuLocationEnum[keyof typeof MenuRoutesAddMenuRequestMenuLocationEnum];
|
|
23045
|
+
export const MenuRoutesAddMenuRequestModuleTypeEnum = {
|
|
23046
|
+
Admin: 'Admin',
|
|
23047
|
+
Search: 'Search',
|
|
23048
|
+
Billing: 'Billing'
|
|
23049
|
+
} as const;
|
|
23050
|
+
|
|
23051
|
+
export type MenuRoutesAddMenuRequestModuleTypeEnum = typeof MenuRoutesAddMenuRequestModuleTypeEnum[keyof typeof MenuRoutesAddMenuRequestModuleTypeEnum];
|
|
23052
|
+
|
|
23053
|
+
/**
|
|
23054
|
+
*
|
|
23055
|
+
* @export
|
|
23056
|
+
* @interface MenuRoutesAddMenuResponse
|
|
23057
|
+
*/
|
|
23058
|
+
export interface MenuRoutesAddMenuResponse {
|
|
23059
|
+
/**
|
|
23060
|
+
*
|
|
23061
|
+
* @type {boolean}
|
|
23062
|
+
* @memberof MenuRoutesAddMenuResponse
|
|
23063
|
+
*/
|
|
23064
|
+
'defaultMenuAdded'?: boolean;
|
|
23065
|
+
/**
|
|
23066
|
+
*
|
|
23067
|
+
* @type {number}
|
|
23068
|
+
* @memberof MenuRoutesAddMenuResponse
|
|
23069
|
+
*/
|
|
23070
|
+
'menuId'?: number;
|
|
23071
|
+
/**
|
|
23072
|
+
*
|
|
23073
|
+
* @type {number}
|
|
23074
|
+
* @memberof MenuRoutesAddMenuResponse
|
|
23075
|
+
*/
|
|
23076
|
+
'menusCreated'?: number;
|
|
23077
|
+
/**
|
|
23078
|
+
*
|
|
23079
|
+
* @type {number}
|
|
23080
|
+
* @memberof MenuRoutesAddMenuResponse
|
|
23081
|
+
*/
|
|
23082
|
+
'organizationsAffected'?: number;
|
|
23083
|
+
/**
|
|
23084
|
+
*
|
|
23085
|
+
* @type {number}
|
|
23086
|
+
* @memberof MenuRoutesAddMenuResponse
|
|
23087
|
+
*/
|
|
23088
|
+
'permissionsCreated'?: number;
|
|
23089
|
+
/**
|
|
23090
|
+
*
|
|
23091
|
+
* @type {number}
|
|
23092
|
+
* @memberof MenuRoutesAddMenuResponse
|
|
23093
|
+
*/
|
|
23094
|
+
'storesAffected'?: number;
|
|
23095
|
+
/**
|
|
23096
|
+
*
|
|
23097
|
+
* @type {{ [key: string]: any; }}
|
|
23098
|
+
* @memberof MenuRoutesAddMenuResponse
|
|
23099
|
+
*/
|
|
23100
|
+
'summary'?: { [key: string]: any; };
|
|
23101
|
+
}
|
|
22712
23102
|
/**
|
|
22713
23103
|
*
|
|
22714
23104
|
* @export
|
|
@@ -40479,6 +40869,192 @@ export class CustomStopwordsApi extends BaseAPI {
|
|
|
40479
40869
|
|
|
40480
40870
|
|
|
40481
40871
|
|
|
40872
|
+
/**
|
|
40873
|
+
* DefaultMenuManagementApi - axios parameter creator
|
|
40874
|
+
* @export
|
|
40875
|
+
*/
|
|
40876
|
+
export const DefaultMenuManagementApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40877
|
+
return {
|
|
40878
|
+
/**
|
|
40879
|
+
* Retrieve all default menus with their global visibility settings
|
|
40880
|
+
* @summary Get all default menus with visibility flags
|
|
40881
|
+
* @param {string} [menuLevel] Filter by menu level (org/store)
|
|
40882
|
+
* @param {*} [options] Override http request option.
|
|
40883
|
+
* @throws {RequiredError}
|
|
40884
|
+
*/
|
|
40885
|
+
adminDefaultMenusGet: async (menuLevel?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40886
|
+
const localVarPath = `/admin/default-menus`;
|
|
40887
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40888
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40889
|
+
let baseOptions;
|
|
40890
|
+
if (configuration) {
|
|
40891
|
+
baseOptions = configuration.baseOptions;
|
|
40892
|
+
}
|
|
40893
|
+
|
|
40894
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
40895
|
+
const localVarHeaderParameter = {} as any;
|
|
40896
|
+
const localVarQueryParameter = {} as any;
|
|
40897
|
+
|
|
40898
|
+
// authentication BearerAuth required
|
|
40899
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
40900
|
+
|
|
40901
|
+
if (menuLevel !== undefined) {
|
|
40902
|
+
localVarQueryParameter['menuLevel'] = menuLevel;
|
|
40903
|
+
}
|
|
40904
|
+
|
|
40905
|
+
|
|
40906
|
+
|
|
40907
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40908
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40909
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
40910
|
+
|
|
40911
|
+
return {
|
|
40912
|
+
url: toPathString(localVarUrlObj),
|
|
40913
|
+
options: localVarRequestOptions,
|
|
40914
|
+
};
|
|
40915
|
+
},
|
|
40916
|
+
/**
|
|
40917
|
+
* Update the global visibility flag for a default menu
|
|
40918
|
+
* @summary Update menu global visibility
|
|
40919
|
+
* @param {DefaultMenuRoutesUpdateMenuVisibilityRequest} defaultMenuRoutesUpdateMenuVisibilityRequest Visibility update details
|
|
40920
|
+
* @param {*} [options] Override http request option.
|
|
40921
|
+
* @throws {RequiredError}
|
|
40922
|
+
*/
|
|
40923
|
+
adminDefaultMenusVisibilityPut: async (defaultMenuRoutesUpdateMenuVisibilityRequest: DefaultMenuRoutesUpdateMenuVisibilityRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40924
|
+
// verify required parameter 'defaultMenuRoutesUpdateMenuVisibilityRequest' is not null or undefined
|
|
40925
|
+
assertParamExists('adminDefaultMenusVisibilityPut', 'defaultMenuRoutesUpdateMenuVisibilityRequest', defaultMenuRoutesUpdateMenuVisibilityRequest)
|
|
40926
|
+
const localVarPath = `/admin/default-menus/visibility`;
|
|
40927
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40928
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40929
|
+
let baseOptions;
|
|
40930
|
+
if (configuration) {
|
|
40931
|
+
baseOptions = configuration.baseOptions;
|
|
40932
|
+
}
|
|
40933
|
+
|
|
40934
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
40935
|
+
const localVarHeaderParameter = {} as any;
|
|
40936
|
+
const localVarQueryParameter = {} as any;
|
|
40937
|
+
|
|
40938
|
+
// authentication BearerAuth required
|
|
40939
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
40940
|
+
|
|
40941
|
+
|
|
40942
|
+
|
|
40943
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
40944
|
+
|
|
40945
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40946
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40947
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
40948
|
+
localVarRequestOptions.data = serializeDataIfNeeded(defaultMenuRoutesUpdateMenuVisibilityRequest, localVarRequestOptions, configuration)
|
|
40949
|
+
|
|
40950
|
+
return {
|
|
40951
|
+
url: toPathString(localVarUrlObj),
|
|
40952
|
+
options: localVarRequestOptions,
|
|
40953
|
+
};
|
|
40954
|
+
},
|
|
40955
|
+
}
|
|
40956
|
+
};
|
|
40957
|
+
|
|
40958
|
+
/**
|
|
40959
|
+
* DefaultMenuManagementApi - functional programming interface
|
|
40960
|
+
* @export
|
|
40961
|
+
*/
|
|
40962
|
+
export const DefaultMenuManagementApiFp = function(configuration?: Configuration) {
|
|
40963
|
+
const localVarAxiosParamCreator = DefaultMenuManagementApiAxiosParamCreator(configuration)
|
|
40964
|
+
return {
|
|
40965
|
+
/**
|
|
40966
|
+
* Retrieve all default menus with their global visibility settings
|
|
40967
|
+
* @summary Get all default menus with visibility flags
|
|
40968
|
+
* @param {string} [menuLevel] Filter by menu level (org/store)
|
|
40969
|
+
* @param {*} [options] Override http request option.
|
|
40970
|
+
* @throws {RequiredError}
|
|
40971
|
+
*/
|
|
40972
|
+
async adminDefaultMenusGet(menuLevel?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseArrayDataTypesDefaultMenu>> {
|
|
40973
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminDefaultMenusGet(menuLevel, options);
|
|
40974
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40975
|
+
const localVarOperationServerBasePath = operationServerMap['DefaultMenuManagementApi.adminDefaultMenusGet']?.[localVarOperationServerIndex]?.url;
|
|
40976
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
40977
|
+
},
|
|
40978
|
+
/**
|
|
40979
|
+
* Update the global visibility flag for a default menu
|
|
40980
|
+
* @summary Update menu global visibility
|
|
40981
|
+
* @param {DefaultMenuRoutesUpdateMenuVisibilityRequest} defaultMenuRoutesUpdateMenuVisibilityRequest Visibility update details
|
|
40982
|
+
* @param {*} [options] Override http request option.
|
|
40983
|
+
* @throws {RequiredError}
|
|
40984
|
+
*/
|
|
40985
|
+
async adminDefaultMenusVisibilityPut(defaultMenuRoutesUpdateMenuVisibilityRequest: DefaultMenuRoutesUpdateMenuVisibilityRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDefaultMenuRoutesUpdateMenuVisibilityResponse>> {
|
|
40986
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminDefaultMenusVisibilityPut(defaultMenuRoutesUpdateMenuVisibilityRequest, options);
|
|
40987
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40988
|
+
const localVarOperationServerBasePath = operationServerMap['DefaultMenuManagementApi.adminDefaultMenusVisibilityPut']?.[localVarOperationServerIndex]?.url;
|
|
40989
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
40990
|
+
},
|
|
40991
|
+
}
|
|
40992
|
+
};
|
|
40993
|
+
|
|
40994
|
+
/**
|
|
40995
|
+
* DefaultMenuManagementApi - factory interface
|
|
40996
|
+
* @export
|
|
40997
|
+
*/
|
|
40998
|
+
export const DefaultMenuManagementApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
40999
|
+
const localVarFp = DefaultMenuManagementApiFp(configuration)
|
|
41000
|
+
return {
|
|
41001
|
+
/**
|
|
41002
|
+
* Retrieve all default menus with their global visibility settings
|
|
41003
|
+
* @summary Get all default menus with visibility flags
|
|
41004
|
+
* @param {string} [menuLevel] Filter by menu level (org/store)
|
|
41005
|
+
* @param {*} [options] Override http request option.
|
|
41006
|
+
* @throws {RequiredError}
|
|
41007
|
+
*/
|
|
41008
|
+
adminDefaultMenusGet(menuLevel?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseArrayDataTypesDefaultMenu> {
|
|
41009
|
+
return localVarFp.adminDefaultMenusGet(menuLevel, options).then((request) => request(axios, basePath));
|
|
41010
|
+
},
|
|
41011
|
+
/**
|
|
41012
|
+
* Update the global visibility flag for a default menu
|
|
41013
|
+
* @summary Update menu global visibility
|
|
41014
|
+
* @param {DefaultMenuRoutesUpdateMenuVisibilityRequest} defaultMenuRoutesUpdateMenuVisibilityRequest Visibility update details
|
|
41015
|
+
* @param {*} [options] Override http request option.
|
|
41016
|
+
* @throws {RequiredError}
|
|
41017
|
+
*/
|
|
41018
|
+
adminDefaultMenusVisibilityPut(defaultMenuRoutesUpdateMenuVisibilityRequest: DefaultMenuRoutesUpdateMenuVisibilityRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDefaultMenuRoutesUpdateMenuVisibilityResponse> {
|
|
41019
|
+
return localVarFp.adminDefaultMenusVisibilityPut(defaultMenuRoutesUpdateMenuVisibilityRequest, options).then((request) => request(axios, basePath));
|
|
41020
|
+
},
|
|
41021
|
+
};
|
|
41022
|
+
};
|
|
41023
|
+
|
|
41024
|
+
/**
|
|
41025
|
+
* DefaultMenuManagementApi - object-oriented interface
|
|
41026
|
+
* @export
|
|
41027
|
+
* @class DefaultMenuManagementApi
|
|
41028
|
+
* @extends {BaseAPI}
|
|
41029
|
+
*/
|
|
41030
|
+
export class DefaultMenuManagementApi extends BaseAPI {
|
|
41031
|
+
/**
|
|
41032
|
+
* Retrieve all default menus with their global visibility settings
|
|
41033
|
+
* @summary Get all default menus with visibility flags
|
|
41034
|
+
* @param {string} [menuLevel] Filter by menu level (org/store)
|
|
41035
|
+
* @param {*} [options] Override http request option.
|
|
41036
|
+
* @throws {RequiredError}
|
|
41037
|
+
* @memberof DefaultMenuManagementApi
|
|
41038
|
+
*/
|
|
41039
|
+
public adminDefaultMenusGet(menuLevel?: string, options?: RawAxiosRequestConfig) {
|
|
41040
|
+
return DefaultMenuManagementApiFp(this.configuration).adminDefaultMenusGet(menuLevel, options).then((request) => request(this.axios, this.basePath));
|
|
41041
|
+
}
|
|
41042
|
+
|
|
41043
|
+
/**
|
|
41044
|
+
* Update the global visibility flag for a default menu
|
|
41045
|
+
* @summary Update menu global visibility
|
|
41046
|
+
* @param {DefaultMenuRoutesUpdateMenuVisibilityRequest} defaultMenuRoutesUpdateMenuVisibilityRequest Visibility update details
|
|
41047
|
+
* @param {*} [options] Override http request option.
|
|
41048
|
+
* @throws {RequiredError}
|
|
41049
|
+
* @memberof DefaultMenuManagementApi
|
|
41050
|
+
*/
|
|
41051
|
+
public adminDefaultMenusVisibilityPut(defaultMenuRoutesUpdateMenuVisibilityRequest: DefaultMenuRoutesUpdateMenuVisibilityRequest, options?: RawAxiosRequestConfig) {
|
|
41052
|
+
return DefaultMenuManagementApiFp(this.configuration).adminDefaultMenusVisibilityPut(defaultMenuRoutesUpdateMenuVisibilityRequest, options).then((request) => request(this.axios, this.basePath));
|
|
41053
|
+
}
|
|
41054
|
+
}
|
|
41055
|
+
|
|
41056
|
+
|
|
41057
|
+
|
|
40482
41058
|
/**
|
|
40483
41059
|
* DocumentsApi - axios parameter creator
|
|
40484
41060
|
* @export
|
|
@@ -43506,6 +44082,193 @@ export class LimitsApi extends BaseAPI {
|
|
|
43506
44082
|
|
|
43507
44083
|
|
|
43508
44084
|
|
|
44085
|
+
/**
|
|
44086
|
+
* MenuManagementApi - axios parameter creator
|
|
44087
|
+
* @export
|
|
44088
|
+
*/
|
|
44089
|
+
export const MenuManagementApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
44090
|
+
return {
|
|
44091
|
+
/**
|
|
44092
|
+
* Safely adds a new menu to default configuration and retroactively applies to existing users/orgs/stores
|
|
44093
|
+
* @summary Add new menu with permissions
|
|
44094
|
+
* @param {MenuRoutesAddMenuRequest} menuRoutesAddMenuRequest Menu details
|
|
44095
|
+
* @param {*} [options] Override http request option.
|
|
44096
|
+
* @throws {RequiredError}
|
|
44097
|
+
*/
|
|
44098
|
+
adminMenusAddPost: async (menuRoutesAddMenuRequest: MenuRoutesAddMenuRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44099
|
+
// verify required parameter 'menuRoutesAddMenuRequest' is not null or undefined
|
|
44100
|
+
assertParamExists('adminMenusAddPost', 'menuRoutesAddMenuRequest', menuRoutesAddMenuRequest)
|
|
44101
|
+
const localVarPath = `/admin/menus/add`;
|
|
44102
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44103
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44104
|
+
let baseOptions;
|
|
44105
|
+
if (configuration) {
|
|
44106
|
+
baseOptions = configuration.baseOptions;
|
|
44107
|
+
}
|
|
44108
|
+
|
|
44109
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
44110
|
+
const localVarHeaderParameter = {} as any;
|
|
44111
|
+
const localVarQueryParameter = {} as any;
|
|
44112
|
+
|
|
44113
|
+
// authentication BearerAuth required
|
|
44114
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
44115
|
+
|
|
44116
|
+
|
|
44117
|
+
|
|
44118
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
44119
|
+
|
|
44120
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
44121
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
44122
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
44123
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menuRoutesAddMenuRequest, localVarRequestOptions, configuration)
|
|
44124
|
+
|
|
44125
|
+
return {
|
|
44126
|
+
url: toPathString(localVarUrlObj),
|
|
44127
|
+
options: localVarRequestOptions,
|
|
44128
|
+
};
|
|
44129
|
+
},
|
|
44130
|
+
/**
|
|
44131
|
+
* Preview what would happen when adding a menu (dry run)
|
|
44132
|
+
* @summary Get menu addition preview
|
|
44133
|
+
* @param {MenuRoutesAddMenuRequest} menuRoutesAddMenuRequest Menu details
|
|
44134
|
+
* @param {*} [options] Override http request option.
|
|
44135
|
+
* @throws {RequiredError}
|
|
44136
|
+
*/
|
|
44137
|
+
adminMenusPreviewPost: async (menuRoutesAddMenuRequest: MenuRoutesAddMenuRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44138
|
+
// verify required parameter 'menuRoutesAddMenuRequest' is not null or undefined
|
|
44139
|
+
assertParamExists('adminMenusPreviewPost', 'menuRoutesAddMenuRequest', menuRoutesAddMenuRequest)
|
|
44140
|
+
const localVarPath = `/admin/menus/preview`;
|
|
44141
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44142
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44143
|
+
let baseOptions;
|
|
44144
|
+
if (configuration) {
|
|
44145
|
+
baseOptions = configuration.baseOptions;
|
|
44146
|
+
}
|
|
44147
|
+
|
|
44148
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
44149
|
+
const localVarHeaderParameter = {} as any;
|
|
44150
|
+
const localVarQueryParameter = {} as any;
|
|
44151
|
+
|
|
44152
|
+
// authentication BearerAuth required
|
|
44153
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
44154
|
+
|
|
44155
|
+
|
|
44156
|
+
|
|
44157
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
44158
|
+
|
|
44159
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
44160
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
44161
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
44162
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menuRoutesAddMenuRequest, localVarRequestOptions, configuration)
|
|
44163
|
+
|
|
44164
|
+
return {
|
|
44165
|
+
url: toPathString(localVarUrlObj),
|
|
44166
|
+
options: localVarRequestOptions,
|
|
44167
|
+
};
|
|
44168
|
+
},
|
|
44169
|
+
}
|
|
44170
|
+
};
|
|
44171
|
+
|
|
44172
|
+
/**
|
|
44173
|
+
* MenuManagementApi - functional programming interface
|
|
44174
|
+
* @export
|
|
44175
|
+
*/
|
|
44176
|
+
export const MenuManagementApiFp = function(configuration?: Configuration) {
|
|
44177
|
+
const localVarAxiosParamCreator = MenuManagementApiAxiosParamCreator(configuration)
|
|
44178
|
+
return {
|
|
44179
|
+
/**
|
|
44180
|
+
* Safely adds a new menu to default configuration and retroactively applies to existing users/orgs/stores
|
|
44181
|
+
* @summary Add new menu with permissions
|
|
44182
|
+
* @param {MenuRoutesAddMenuRequest} menuRoutesAddMenuRequest Menu details
|
|
44183
|
+
* @param {*} [options] Override http request option.
|
|
44184
|
+
* @throws {RequiredError}
|
|
44185
|
+
*/
|
|
44186
|
+
async adminMenusAddPost(menuRoutesAddMenuRequest: MenuRoutesAddMenuRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseMenuRoutesAddMenuResponse>> {
|
|
44187
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminMenusAddPost(menuRoutesAddMenuRequest, options);
|
|
44188
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
44189
|
+
const localVarOperationServerBasePath = operationServerMap['MenuManagementApi.adminMenusAddPost']?.[localVarOperationServerIndex]?.url;
|
|
44190
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
44191
|
+
},
|
|
44192
|
+
/**
|
|
44193
|
+
* Preview what would happen when adding a menu (dry run)
|
|
44194
|
+
* @summary Get menu addition preview
|
|
44195
|
+
* @param {MenuRoutesAddMenuRequest} menuRoutesAddMenuRequest Menu details
|
|
44196
|
+
* @param {*} [options] Override http request option.
|
|
44197
|
+
* @throws {RequiredError}
|
|
44198
|
+
*/
|
|
44199
|
+
async adminMenusPreviewPost(menuRoutesAddMenuRequest: MenuRoutesAddMenuRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseString>> {
|
|
44200
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminMenusPreviewPost(menuRoutesAddMenuRequest, options);
|
|
44201
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
44202
|
+
const localVarOperationServerBasePath = operationServerMap['MenuManagementApi.adminMenusPreviewPost']?.[localVarOperationServerIndex]?.url;
|
|
44203
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
44204
|
+
},
|
|
44205
|
+
}
|
|
44206
|
+
};
|
|
44207
|
+
|
|
44208
|
+
/**
|
|
44209
|
+
* MenuManagementApi - factory interface
|
|
44210
|
+
* @export
|
|
44211
|
+
*/
|
|
44212
|
+
export const MenuManagementApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
44213
|
+
const localVarFp = MenuManagementApiFp(configuration)
|
|
44214
|
+
return {
|
|
44215
|
+
/**
|
|
44216
|
+
* Safely adds a new menu to default configuration and retroactively applies to existing users/orgs/stores
|
|
44217
|
+
* @summary Add new menu with permissions
|
|
44218
|
+
* @param {MenuRoutesAddMenuRequest} menuRoutesAddMenuRequest Menu details
|
|
44219
|
+
* @param {*} [options] Override http request option.
|
|
44220
|
+
* @throws {RequiredError}
|
|
44221
|
+
*/
|
|
44222
|
+
adminMenusAddPost(menuRoutesAddMenuRequest: MenuRoutesAddMenuRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseMenuRoutesAddMenuResponse> {
|
|
44223
|
+
return localVarFp.adminMenusAddPost(menuRoutesAddMenuRequest, options).then((request) => request(axios, basePath));
|
|
44224
|
+
},
|
|
44225
|
+
/**
|
|
44226
|
+
* Preview what would happen when adding a menu (dry run)
|
|
44227
|
+
* @summary Get menu addition preview
|
|
44228
|
+
* @param {MenuRoutesAddMenuRequest} menuRoutesAddMenuRequest Menu details
|
|
44229
|
+
* @param {*} [options] Override http request option.
|
|
44230
|
+
* @throws {RequiredError}
|
|
44231
|
+
*/
|
|
44232
|
+
adminMenusPreviewPost(menuRoutesAddMenuRequest: MenuRoutesAddMenuRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseString> {
|
|
44233
|
+
return localVarFp.adminMenusPreviewPost(menuRoutesAddMenuRequest, options).then((request) => request(axios, basePath));
|
|
44234
|
+
},
|
|
44235
|
+
};
|
|
44236
|
+
};
|
|
44237
|
+
|
|
44238
|
+
/**
|
|
44239
|
+
* MenuManagementApi - object-oriented interface
|
|
44240
|
+
* @export
|
|
44241
|
+
* @class MenuManagementApi
|
|
44242
|
+
* @extends {BaseAPI}
|
|
44243
|
+
*/
|
|
44244
|
+
export class MenuManagementApi extends BaseAPI {
|
|
44245
|
+
/**
|
|
44246
|
+
* Safely adds a new menu to default configuration and retroactively applies to existing users/orgs/stores
|
|
44247
|
+
* @summary Add new menu with permissions
|
|
44248
|
+
* @param {MenuRoutesAddMenuRequest} menuRoutesAddMenuRequest Menu details
|
|
44249
|
+
* @param {*} [options] Override http request option.
|
|
44250
|
+
* @throws {RequiredError}
|
|
44251
|
+
* @memberof MenuManagementApi
|
|
44252
|
+
*/
|
|
44253
|
+
public adminMenusAddPost(menuRoutesAddMenuRequest: MenuRoutesAddMenuRequest, options?: RawAxiosRequestConfig) {
|
|
44254
|
+
return MenuManagementApiFp(this.configuration).adminMenusAddPost(menuRoutesAddMenuRequest, options).then((request) => request(this.axios, this.basePath));
|
|
44255
|
+
}
|
|
44256
|
+
|
|
44257
|
+
/**
|
|
44258
|
+
* Preview what would happen when adding a menu (dry run)
|
|
44259
|
+
* @summary Get menu addition preview
|
|
44260
|
+
* @param {MenuRoutesAddMenuRequest} menuRoutesAddMenuRequest Menu details
|
|
44261
|
+
* @param {*} [options] Override http request option.
|
|
44262
|
+
* @throws {RequiredError}
|
|
44263
|
+
* @memberof MenuManagementApi
|
|
44264
|
+
*/
|
|
44265
|
+
public adminMenusPreviewPost(menuRoutesAddMenuRequest: MenuRoutesAddMenuRequest, options?: RawAxiosRequestConfig) {
|
|
44266
|
+
return MenuManagementApiFp(this.configuration).adminMenusPreviewPost(menuRoutesAddMenuRequest, options).then((request) => request(this.axios, this.basePath));
|
|
44267
|
+
}
|
|
44268
|
+
}
|
|
44269
|
+
|
|
44270
|
+
|
|
44271
|
+
|
|
43509
44272
|
/**
|
|
43510
44273
|
* MenuRouteMetricsApi - axios parameter creator
|
|
43511
44274
|
* @export
|
|
@@ -48617,9 +49380,9 @@ export class ParentMenusApi extends BaseAPI {
|
|
|
48617
49380
|
export const PaymentGatewayApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
48618
49381
|
return {
|
|
48619
49382
|
/**
|
|
48620
|
-
* Creates a payment order using specified or default payment gateway
|
|
49383
|
+
* Creates a payment order using specified or default payment gateway. Organization ID is automatically extracted from JWT token.
|
|
48621
49384
|
* @summary Create a new payment order
|
|
48622
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
49385
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details (org_id will be auto-populated from JWT)
|
|
48623
49386
|
* @param {*} [options] Override http request option.
|
|
48624
49387
|
* @throws {RequiredError}
|
|
48625
49388
|
*/
|
|
@@ -49164,9 +49927,9 @@ export const PaymentGatewayApiFp = function(configuration?: Configuration) {
|
|
|
49164
49927
|
const localVarAxiosParamCreator = PaymentGatewayApiAxiosParamCreator(configuration)
|
|
49165
49928
|
return {
|
|
49166
49929
|
/**
|
|
49167
|
-
* Creates a payment order using specified or default payment gateway
|
|
49930
|
+
* Creates a payment order using specified or default payment gateway. Organization ID is automatically extracted from JWT token.
|
|
49168
49931
|
* @summary Create a new payment order
|
|
49169
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
49932
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details (org_id will be auto-populated from JWT)
|
|
49170
49933
|
* @param {*} [options] Override http request option.
|
|
49171
49934
|
* @throws {RequiredError}
|
|
49172
49935
|
*/
|
|
@@ -49354,9 +50117,9 @@ export const PaymentGatewayApiFactory = function (configuration?: Configuration,
|
|
|
49354
50117
|
const localVarFp = PaymentGatewayApiFp(configuration)
|
|
49355
50118
|
return {
|
|
49356
50119
|
/**
|
|
49357
|
-
* Creates a payment order using specified or default payment gateway
|
|
50120
|
+
* Creates a payment order using specified or default payment gateway. Organization ID is automatically extracted from JWT token.
|
|
49358
50121
|
* @summary Create a new payment order
|
|
49359
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
50122
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details (org_id will be auto-populated from JWT)
|
|
49360
50123
|
* @param {*} [options] Override http request option.
|
|
49361
50124
|
* @throws {RequiredError}
|
|
49362
50125
|
*/
|
|
@@ -49505,9 +50268,9 @@ export const PaymentGatewayApiFactory = function (configuration?: Configuration,
|
|
|
49505
50268
|
*/
|
|
49506
50269
|
export class PaymentGatewayApi extends BaseAPI {
|
|
49507
50270
|
/**
|
|
49508
|
-
* Creates a payment order using specified or default payment gateway
|
|
50271
|
+
* Creates a payment order using specified or default payment gateway. Organization ID is automatically extracted from JWT token.
|
|
49509
50272
|
* @summary Create a new payment order
|
|
49510
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
50273
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details (org_id will be auto-populated from JWT)
|
|
49511
50274
|
* @param {*} [options] Override http request option.
|
|
49512
50275
|
* @throws {RequiredError}
|
|
49513
50276
|
* @memberof PaymentGatewayApi
|
|
@@ -61907,10 +62670,10 @@ export const TeamApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
61907
62670
|
* @param {*} [options] Override http request option.
|
|
61908
62671
|
* @throws {RequiredError}
|
|
61909
62672
|
*/
|
|
61910
|
-
|
|
62673
|
+
v1InvitationsInvitationIdDelete: async (invitationId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61911
62674
|
// verify required parameter 'invitationId' is not null or undefined
|
|
61912
|
-
assertParamExists('
|
|
61913
|
-
const localVarPath = `/
|
|
62675
|
+
assertParamExists('v1InvitationsInvitationIdDelete', 'invitationId', invitationId)
|
|
62676
|
+
const localVarPath = `/v1/invitations/{invitationId}`
|
|
61914
62677
|
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
61915
62678
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61916
62679
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -61944,10 +62707,10 @@ export const TeamApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
61944
62707
|
* @param {*} [options] Override http request option.
|
|
61945
62708
|
* @throws {RequiredError}
|
|
61946
62709
|
*/
|
|
61947
|
-
|
|
62710
|
+
v1InvitationsTokenAcceptPost: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61948
62711
|
// verify required parameter 'token' is not null or undefined
|
|
61949
|
-
assertParamExists('
|
|
61950
|
-
const localVarPath = `/
|
|
62712
|
+
assertParamExists('v1InvitationsTokenAcceptPost', 'token', token)
|
|
62713
|
+
const localVarPath = `/v1/invitations/{token}/accept`
|
|
61951
62714
|
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
|
61952
62715
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61953
62716
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -61981,10 +62744,10 @@ export const TeamApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
61981
62744
|
* @param {*} [options] Override http request option.
|
|
61982
62745
|
* @throws {RequiredError}
|
|
61983
62746
|
*/
|
|
61984
|
-
|
|
62747
|
+
v1StoresStoreIdAccessGet: async (storeId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61985
62748
|
// verify required parameter 'storeId' is not null or undefined
|
|
61986
|
-
assertParamExists('
|
|
61987
|
-
const localVarPath = `/
|
|
62749
|
+
assertParamExists('v1StoresStoreIdAccessGet', 'storeId', storeId)
|
|
62750
|
+
const localVarPath = `/v1/stores/{storeId}/access`
|
|
61988
62751
|
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
|
|
61989
62752
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61990
62753
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -62019,12 +62782,12 @@ export const TeamApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
62019
62782
|
* @param {*} [options] Override http request option.
|
|
62020
62783
|
* @throws {RequiredError}
|
|
62021
62784
|
*/
|
|
62022
|
-
|
|
62785
|
+
v1StoresStoreIdAccessPost: async (storeId: number, dataTypesGrantStoreAccessRequest: DataTypesGrantStoreAccessRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
62023
62786
|
// verify required parameter 'storeId' is not null or undefined
|
|
62024
|
-
assertParamExists('
|
|
62787
|
+
assertParamExists('v1StoresStoreIdAccessPost', 'storeId', storeId)
|
|
62025
62788
|
// verify required parameter 'dataTypesGrantStoreAccessRequest' is not null or undefined
|
|
62026
|
-
assertParamExists('
|
|
62027
|
-
const localVarPath = `/
|
|
62789
|
+
assertParamExists('v1StoresStoreIdAccessPost', 'dataTypesGrantStoreAccessRequest', dataTypesGrantStoreAccessRequest)
|
|
62790
|
+
const localVarPath = `/v1/stores/{storeId}/access`
|
|
62028
62791
|
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
|
|
62029
62792
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62030
62793
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -62062,12 +62825,12 @@ export const TeamApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
62062
62825
|
* @param {*} [options] Override http request option.
|
|
62063
62826
|
* @throws {RequiredError}
|
|
62064
62827
|
*/
|
|
62065
|
-
|
|
62828
|
+
v1StoresStoreIdAccessUserIdDelete: async (storeId: number, userId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
62066
62829
|
// verify required parameter 'storeId' is not null or undefined
|
|
62067
|
-
assertParamExists('
|
|
62830
|
+
assertParamExists('v1StoresStoreIdAccessUserIdDelete', 'storeId', storeId)
|
|
62068
62831
|
// verify required parameter 'userId' is not null or undefined
|
|
62069
|
-
assertParamExists('
|
|
62070
|
-
const localVarPath = `/
|
|
62832
|
+
assertParamExists('v1StoresStoreIdAccessUserIdDelete', 'userId', userId)
|
|
62833
|
+
const localVarPath = `/v1/stores/{storeId}/access/{userId}`
|
|
62071
62834
|
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)))
|
|
62072
62835
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
62073
62836
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -62104,14 +62867,14 @@ export const TeamApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
62104
62867
|
* @param {*} [options] Override http request option.
|
|
62105
62868
|
* @throws {RequiredError}
|
|
62106
62869
|
*/
|
|
62107
|
-
|
|
62870
|
+
v1StoresStoreIdAccessUserIdPut: async (storeId: number, userId: number, dataTypesUpdateStoreAccessRequest: DataTypesUpdateStoreAccessRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
62108
62871
|
// verify required parameter 'storeId' is not null or undefined
|
|
62109
|
-
assertParamExists('
|
|
62872
|
+
assertParamExists('v1StoresStoreIdAccessUserIdPut', 'storeId', storeId)
|
|
62110
62873
|
// verify required parameter 'userId' is not null or undefined
|
|
62111
|
-
assertParamExists('
|
|
62874
|
+
assertParamExists('v1StoresStoreIdAccessUserIdPut', 'userId', userId)
|
|
62112
62875
|
// verify required parameter 'dataTypesUpdateStoreAccessRequest' is not null or undefined
|
|
62113
|
-
assertParamExists('
|
|
62114
|
-
const localVarPath = `/
|
|
62876
|
+
assertParamExists('v1StoresStoreIdAccessUserIdPut', 'dataTypesUpdateStoreAccessRequest', dataTypesUpdateStoreAccessRequest)
|
|
62877
|
+
const localVarPath = `/v1/stores/{storeId}/access/{userId}`
|
|
62115
62878
|
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)))
|
|
62116
62879
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
62117
62880
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -62148,8 +62911,8 @@ export const TeamApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
62148
62911
|
* @param {*} [options] Override http request option.
|
|
62149
62912
|
* @throws {RequiredError}
|
|
62150
62913
|
*/
|
|
62151
|
-
|
|
62152
|
-
const localVarPath = `/
|
|
62914
|
+
v1TeamInvitationsGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
62915
|
+
const localVarPath = `/v1/team/invitations`;
|
|
62153
62916
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62154
62917
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
62155
62918
|
let baseOptions;
|
|
@@ -62181,8 +62944,8 @@ export const TeamApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
62181
62944
|
* @param {*} [options] Override http request option.
|
|
62182
62945
|
* @throws {RequiredError}
|
|
62183
62946
|
*/
|
|
62184
|
-
|
|
62185
|
-
const localVarPath = `/
|
|
62947
|
+
v1TeamMembersGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
62948
|
+
const localVarPath = `/v1/team/members`;
|
|
62186
62949
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62187
62950
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
62188
62951
|
let baseOptions;
|
|
@@ -62215,10 +62978,10 @@ export const TeamApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
62215
62978
|
* @param {*} [options] Override http request option.
|
|
62216
62979
|
* @throws {RequiredError}
|
|
62217
62980
|
*/
|
|
62218
|
-
|
|
62981
|
+
v1TeamMembersInvitePost: async (dataTypesInviteMemberRequest: DataTypesInviteMemberRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
62219
62982
|
// verify required parameter 'dataTypesInviteMemberRequest' is not null or undefined
|
|
62220
|
-
assertParamExists('
|
|
62221
|
-
const localVarPath = `/
|
|
62983
|
+
assertParamExists('v1TeamMembersInvitePost', 'dataTypesInviteMemberRequest', dataTypesInviteMemberRequest)
|
|
62984
|
+
const localVarPath = `/v1/team/members/invite`;
|
|
62222
62985
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62223
62986
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
62224
62987
|
let baseOptions;
|
|
@@ -62254,10 +63017,10 @@ export const TeamApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
62254
63017
|
* @param {*} [options] Override http request option.
|
|
62255
63018
|
* @throws {RequiredError}
|
|
62256
63019
|
*/
|
|
62257
|
-
|
|
63020
|
+
v1TeamMembersMemberIdDelete: async (memberId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
62258
63021
|
// verify required parameter 'memberId' is not null or undefined
|
|
62259
|
-
assertParamExists('
|
|
62260
|
-
const localVarPath = `/
|
|
63022
|
+
assertParamExists('v1TeamMembersMemberIdDelete', 'memberId', memberId)
|
|
63023
|
+
const localVarPath = `/v1/team/members/{memberId}`
|
|
62261
63024
|
.replace(`{${"memberId"}}`, encodeURIComponent(String(memberId)));
|
|
62262
63025
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62263
63026
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -62292,12 +63055,12 @@ export const TeamApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
62292
63055
|
* @param {*} [options] Override http request option.
|
|
62293
63056
|
* @throws {RequiredError}
|
|
62294
63057
|
*/
|
|
62295
|
-
|
|
63058
|
+
v1TeamMembersMemberIdRolePut: async (memberId: number, dataTypesUpdateMemberRoleRequest: DataTypesUpdateMemberRoleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
62296
63059
|
// verify required parameter 'memberId' is not null or undefined
|
|
62297
|
-
assertParamExists('
|
|
63060
|
+
assertParamExists('v1TeamMembersMemberIdRolePut', 'memberId', memberId)
|
|
62298
63061
|
// verify required parameter 'dataTypesUpdateMemberRoleRequest' is not null or undefined
|
|
62299
|
-
assertParamExists('
|
|
62300
|
-
const localVarPath = `/
|
|
63062
|
+
assertParamExists('v1TeamMembersMemberIdRolePut', 'dataTypesUpdateMemberRoleRequest', dataTypesUpdateMemberRoleRequest)
|
|
63063
|
+
const localVarPath = `/v1/team/members/{memberId}/role`
|
|
62301
63064
|
.replace(`{${"memberId"}}`, encodeURIComponent(String(memberId)));
|
|
62302
63065
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62303
63066
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -62334,10 +63097,10 @@ export const TeamApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
62334
63097
|
* @param {*} [options] Override http request option.
|
|
62335
63098
|
* @throws {RequiredError}
|
|
62336
63099
|
*/
|
|
62337
|
-
|
|
63100
|
+
v1UsersUserIdStoresGet: async (userId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
62338
63101
|
// verify required parameter 'userId' is not null or undefined
|
|
62339
|
-
assertParamExists('
|
|
62340
|
-
const localVarPath = `/
|
|
63102
|
+
assertParamExists('v1UsersUserIdStoresGet', 'userId', userId)
|
|
63103
|
+
const localVarPath = `/v1/users/{userId}/stores`
|
|
62341
63104
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
62342
63105
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62343
63106
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -62381,10 +63144,10 @@ export const TeamApiFp = function(configuration?: Configuration) {
|
|
|
62381
63144
|
* @param {*} [options] Override http request option.
|
|
62382
63145
|
* @throws {RequiredError}
|
|
62383
63146
|
*/
|
|
62384
|
-
async
|
|
62385
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
63147
|
+
async v1InvitationsInvitationIdDelete(invitationId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
63148
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1InvitationsInvitationIdDelete(invitationId, options);
|
|
62386
63149
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
62387
|
-
const localVarOperationServerBasePath = operationServerMap['TeamApi.
|
|
63150
|
+
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1InvitationsInvitationIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
62388
63151
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
62389
63152
|
},
|
|
62390
63153
|
/**
|
|
@@ -62394,10 +63157,10 @@ export const TeamApiFp = function(configuration?: Configuration) {
|
|
|
62394
63157
|
* @param {*} [options] Override http request option.
|
|
62395
63158
|
* @throws {RequiredError}
|
|
62396
63159
|
*/
|
|
62397
|
-
async
|
|
62398
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
63160
|
+
async v1InvitationsTokenAcceptPost(token: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
63161
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1InvitationsTokenAcceptPost(token, options);
|
|
62399
63162
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
62400
|
-
const localVarOperationServerBasePath = operationServerMap['TeamApi.
|
|
63163
|
+
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1InvitationsTokenAcceptPost']?.[localVarOperationServerIndex]?.url;
|
|
62401
63164
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
62402
63165
|
},
|
|
62403
63166
|
/**
|
|
@@ -62407,10 +63170,10 @@ export const TeamApiFp = function(configuration?: Configuration) {
|
|
|
62407
63170
|
* @param {*} [options] Override http request option.
|
|
62408
63171
|
* @throws {RequiredError}
|
|
62409
63172
|
*/
|
|
62410
|
-
async
|
|
62411
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
63173
|
+
async v1StoresStoreIdAccessGet(storeId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesStoreAccessResponse>> {
|
|
63174
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1StoresStoreIdAccessGet(storeId, options);
|
|
62412
63175
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
62413
|
-
const localVarOperationServerBasePath = operationServerMap['TeamApi.
|
|
63176
|
+
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1StoresStoreIdAccessGet']?.[localVarOperationServerIndex]?.url;
|
|
62414
63177
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
62415
63178
|
},
|
|
62416
63179
|
/**
|
|
@@ -62421,10 +63184,10 @@ export const TeamApiFp = function(configuration?: Configuration) {
|
|
|
62421
63184
|
* @param {*} [options] Override http request option.
|
|
62422
63185
|
* @throws {RequiredError}
|
|
62423
63186
|
*/
|
|
62424
|
-
async
|
|
62425
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
63187
|
+
async v1StoresStoreIdAccessPost(storeId: number, dataTypesGrantStoreAccessRequest: DataTypesGrantStoreAccessRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
63188
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options);
|
|
62426
63189
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
62427
|
-
const localVarOperationServerBasePath = operationServerMap['TeamApi.
|
|
63190
|
+
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1StoresStoreIdAccessPost']?.[localVarOperationServerIndex]?.url;
|
|
62428
63191
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
62429
63192
|
},
|
|
62430
63193
|
/**
|
|
@@ -62435,10 +63198,10 @@ export const TeamApiFp = function(configuration?: Configuration) {
|
|
|
62435
63198
|
* @param {*} [options] Override http request option.
|
|
62436
63199
|
* @throws {RequiredError}
|
|
62437
63200
|
*/
|
|
62438
|
-
async
|
|
62439
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
63201
|
+
async v1StoresStoreIdAccessUserIdDelete(storeId: number, userId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
63202
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1StoresStoreIdAccessUserIdDelete(storeId, userId, options);
|
|
62440
63203
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
62441
|
-
const localVarOperationServerBasePath = operationServerMap['TeamApi.
|
|
63204
|
+
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1StoresStoreIdAccessUserIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
62442
63205
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
62443
63206
|
},
|
|
62444
63207
|
/**
|
|
@@ -62450,10 +63213,10 @@ export const TeamApiFp = function(configuration?: Configuration) {
|
|
|
62450
63213
|
* @param {*} [options] Override http request option.
|
|
62451
63214
|
* @throws {RequiredError}
|
|
62452
63215
|
*/
|
|
62453
|
-
async
|
|
62454
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
63216
|
+
async v1StoresStoreIdAccessUserIdPut(storeId: number, userId: number, dataTypesUpdateStoreAccessRequest: DataTypesUpdateStoreAccessRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
63217
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options);
|
|
62455
63218
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
62456
|
-
const localVarOperationServerBasePath = operationServerMap['TeamApi.
|
|
63219
|
+
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1StoresStoreIdAccessUserIdPut']?.[localVarOperationServerIndex]?.url;
|
|
62457
63220
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
62458
63221
|
},
|
|
62459
63222
|
/**
|
|
@@ -62462,10 +63225,10 @@ export const TeamApiFp = function(configuration?: Configuration) {
|
|
|
62462
63225
|
* @param {*} [options] Override http request option.
|
|
62463
63226
|
* @throws {RequiredError}
|
|
62464
63227
|
*/
|
|
62465
|
-
async
|
|
62466
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
63228
|
+
async v1TeamInvitationsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesTeamInvitationsResponse>> {
|
|
63229
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1TeamInvitationsGet(options);
|
|
62467
63230
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
62468
|
-
const localVarOperationServerBasePath = operationServerMap['TeamApi.
|
|
63231
|
+
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1TeamInvitationsGet']?.[localVarOperationServerIndex]?.url;
|
|
62469
63232
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
62470
63233
|
},
|
|
62471
63234
|
/**
|
|
@@ -62474,10 +63237,10 @@ export const TeamApiFp = function(configuration?: Configuration) {
|
|
|
62474
63237
|
* @param {*} [options] Override http request option.
|
|
62475
63238
|
* @throws {RequiredError}
|
|
62476
63239
|
*/
|
|
62477
|
-
async
|
|
62478
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
63240
|
+
async v1TeamMembersGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOrgMembersResponse>> {
|
|
63241
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1TeamMembersGet(options);
|
|
62479
63242
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
62480
|
-
const localVarOperationServerBasePath = operationServerMap['TeamApi.
|
|
63243
|
+
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1TeamMembersGet']?.[localVarOperationServerIndex]?.url;
|
|
62481
63244
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
62482
63245
|
},
|
|
62483
63246
|
/**
|
|
@@ -62487,10 +63250,10 @@ export const TeamApiFp = function(configuration?: Configuration) {
|
|
|
62487
63250
|
* @param {*} [options] Override http request option.
|
|
62488
63251
|
* @throws {RequiredError}
|
|
62489
63252
|
*/
|
|
62490
|
-
async
|
|
62491
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
63253
|
+
async v1TeamMembersInvitePost(dataTypesInviteMemberRequest: DataTypesInviteMemberRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesInvitationCreatedResponse>> {
|
|
63254
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1TeamMembersInvitePost(dataTypesInviteMemberRequest, options);
|
|
62492
63255
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
62493
|
-
const localVarOperationServerBasePath = operationServerMap['TeamApi.
|
|
63256
|
+
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1TeamMembersInvitePost']?.[localVarOperationServerIndex]?.url;
|
|
62494
63257
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
62495
63258
|
},
|
|
62496
63259
|
/**
|
|
@@ -62500,10 +63263,10 @@ export const TeamApiFp = function(configuration?: Configuration) {
|
|
|
62500
63263
|
* @param {*} [options] Override http request option.
|
|
62501
63264
|
* @throws {RequiredError}
|
|
62502
63265
|
*/
|
|
62503
|
-
async
|
|
62504
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
63266
|
+
async v1TeamMembersMemberIdDelete(memberId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
63267
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1TeamMembersMemberIdDelete(memberId, options);
|
|
62505
63268
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
62506
|
-
const localVarOperationServerBasePath = operationServerMap['TeamApi.
|
|
63269
|
+
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1TeamMembersMemberIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
62507
63270
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
62508
63271
|
},
|
|
62509
63272
|
/**
|
|
@@ -62514,10 +63277,10 @@ export const TeamApiFp = function(configuration?: Configuration) {
|
|
|
62514
63277
|
* @param {*} [options] Override http request option.
|
|
62515
63278
|
* @throws {RequiredError}
|
|
62516
63279
|
*/
|
|
62517
|
-
async
|
|
62518
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
63280
|
+
async v1TeamMembersMemberIdRolePut(memberId: number, dataTypesUpdateMemberRoleRequest: DataTypesUpdateMemberRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
63281
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1TeamMembersMemberIdRolePut(memberId, dataTypesUpdateMemberRoleRequest, options);
|
|
62519
63282
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
62520
|
-
const localVarOperationServerBasePath = operationServerMap['TeamApi.
|
|
63283
|
+
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1TeamMembersMemberIdRolePut']?.[localVarOperationServerIndex]?.url;
|
|
62521
63284
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
62522
63285
|
},
|
|
62523
63286
|
/**
|
|
@@ -62527,10 +63290,10 @@ export const TeamApiFp = function(configuration?: Configuration) {
|
|
|
62527
63290
|
* @param {*} [options] Override http request option.
|
|
62528
63291
|
* @throws {RequiredError}
|
|
62529
63292
|
*/
|
|
62530
|
-
async
|
|
62531
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
63293
|
+
async v1UsersUserIdStoresGet(userId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUserStoresResponse>> {
|
|
63294
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1UsersUserIdStoresGet(userId, options);
|
|
62532
63295
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
62533
|
-
const localVarOperationServerBasePath = operationServerMap['TeamApi.
|
|
63296
|
+
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1UsersUserIdStoresGet']?.[localVarOperationServerIndex]?.url;
|
|
62534
63297
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
62535
63298
|
},
|
|
62536
63299
|
}
|
|
@@ -62550,8 +63313,8 @@ export const TeamApiFactory = function (configuration?: Configuration, basePath?
|
|
|
62550
63313
|
* @param {*} [options] Override http request option.
|
|
62551
63314
|
* @throws {RequiredError}
|
|
62552
63315
|
*/
|
|
62553
|
-
|
|
62554
|
-
return localVarFp.
|
|
63316
|
+
v1InvitationsInvitationIdDelete(invitationId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
63317
|
+
return localVarFp.v1InvitationsInvitationIdDelete(invitationId, options).then((request) => request(axios, basePath));
|
|
62555
63318
|
},
|
|
62556
63319
|
/**
|
|
62557
63320
|
* Accepts a team invitation using token
|
|
@@ -62560,8 +63323,8 @@ export const TeamApiFactory = function (configuration?: Configuration, basePath?
|
|
|
62560
63323
|
* @param {*} [options] Override http request option.
|
|
62561
63324
|
* @throws {RequiredError}
|
|
62562
63325
|
*/
|
|
62563
|
-
|
|
62564
|
-
return localVarFp.
|
|
63326
|
+
v1InvitationsTokenAcceptPost(token: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
63327
|
+
return localVarFp.v1InvitationsTokenAcceptPost(token, options).then((request) => request(axios, basePath));
|
|
62565
63328
|
},
|
|
62566
63329
|
/**
|
|
62567
63330
|
* Retrieves all users with access to a store
|
|
@@ -62570,8 +63333,8 @@ export const TeamApiFactory = function (configuration?: Configuration, basePath?
|
|
|
62570
63333
|
* @param {*} [options] Override http request option.
|
|
62571
63334
|
* @throws {RequiredError}
|
|
62572
63335
|
*/
|
|
62573
|
-
|
|
62574
|
-
return localVarFp.
|
|
63336
|
+
v1StoresStoreIdAccessGet(storeId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoreAccessResponse> {
|
|
63337
|
+
return localVarFp.v1StoresStoreIdAccessGet(storeId, options).then((request) => request(axios, basePath));
|
|
62575
63338
|
},
|
|
62576
63339
|
/**
|
|
62577
63340
|
* Grants a user access to a store
|
|
@@ -62581,8 +63344,8 @@ export const TeamApiFactory = function (configuration?: Configuration, basePath?
|
|
|
62581
63344
|
* @param {*} [options] Override http request option.
|
|
62582
63345
|
* @throws {RequiredError}
|
|
62583
63346
|
*/
|
|
62584
|
-
|
|
62585
|
-
return localVarFp.
|
|
63347
|
+
v1StoresStoreIdAccessPost(storeId: number, dataTypesGrantStoreAccessRequest: DataTypesGrantStoreAccessRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
63348
|
+
return localVarFp.v1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options).then((request) => request(axios, basePath));
|
|
62586
63349
|
},
|
|
62587
63350
|
/**
|
|
62588
63351
|
* Revokes a user\'s access to a store
|
|
@@ -62592,8 +63355,8 @@ export const TeamApiFactory = function (configuration?: Configuration, basePath?
|
|
|
62592
63355
|
* @param {*} [options] Override http request option.
|
|
62593
63356
|
* @throws {RequiredError}
|
|
62594
63357
|
*/
|
|
62595
|
-
|
|
62596
|
-
return localVarFp.
|
|
63358
|
+
v1StoresStoreIdAccessUserIdDelete(storeId: number, userId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
63359
|
+
return localVarFp.v1StoresStoreIdAccessUserIdDelete(storeId, userId, options).then((request) => request(axios, basePath));
|
|
62597
63360
|
},
|
|
62598
63361
|
/**
|
|
62599
63362
|
* Updates a user\'s access level to a store
|
|
@@ -62604,8 +63367,8 @@ export const TeamApiFactory = function (configuration?: Configuration, basePath?
|
|
|
62604
63367
|
* @param {*} [options] Override http request option.
|
|
62605
63368
|
* @throws {RequiredError}
|
|
62606
63369
|
*/
|
|
62607
|
-
|
|
62608
|
-
return localVarFp.
|
|
63370
|
+
v1StoresStoreIdAccessUserIdPut(storeId: number, userId: number, dataTypesUpdateStoreAccessRequest: DataTypesUpdateStoreAccessRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
63371
|
+
return localVarFp.v1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options).then((request) => request(axios, basePath));
|
|
62609
63372
|
},
|
|
62610
63373
|
/**
|
|
62611
63374
|
* Retrieves all pending invitations for the user\'s organization
|
|
@@ -62613,8 +63376,8 @@ export const TeamApiFactory = function (configuration?: Configuration, basePath?
|
|
|
62613
63376
|
* @param {*} [options] Override http request option.
|
|
62614
63377
|
* @throws {RequiredError}
|
|
62615
63378
|
*/
|
|
62616
|
-
|
|
62617
|
-
return localVarFp.
|
|
63379
|
+
v1TeamInvitationsGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesTeamInvitationsResponse> {
|
|
63380
|
+
return localVarFp.v1TeamInvitationsGet(options).then((request) => request(axios, basePath));
|
|
62618
63381
|
},
|
|
62619
63382
|
/**
|
|
62620
63383
|
* Retrieves all members of the user\'s organization with their details
|
|
@@ -62622,8 +63385,8 @@ export const TeamApiFactory = function (configuration?: Configuration, basePath?
|
|
|
62622
63385
|
* @param {*} [options] Override http request option.
|
|
62623
63386
|
* @throws {RequiredError}
|
|
62624
63387
|
*/
|
|
62625
|
-
|
|
62626
|
-
return localVarFp.
|
|
63388
|
+
v1TeamMembersGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOrgMembersResponse> {
|
|
63389
|
+
return localVarFp.v1TeamMembersGet(options).then((request) => request(axios, basePath));
|
|
62627
63390
|
},
|
|
62628
63391
|
/**
|
|
62629
63392
|
* Sends an invitation to a user to join the user\'s organization
|
|
@@ -62632,8 +63395,8 @@ export const TeamApiFactory = function (configuration?: Configuration, basePath?
|
|
|
62632
63395
|
* @param {*} [options] Override http request option.
|
|
62633
63396
|
* @throws {RequiredError}
|
|
62634
63397
|
*/
|
|
62635
|
-
|
|
62636
|
-
return localVarFp.
|
|
63398
|
+
v1TeamMembersInvitePost(dataTypesInviteMemberRequest: DataTypesInviteMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesInvitationCreatedResponse> {
|
|
63399
|
+
return localVarFp.v1TeamMembersInvitePost(dataTypesInviteMemberRequest, options).then((request) => request(axios, basePath));
|
|
62637
63400
|
},
|
|
62638
63401
|
/**
|
|
62639
63402
|
* Removes a member from the user\'s organization
|
|
@@ -62642,8 +63405,8 @@ export const TeamApiFactory = function (configuration?: Configuration, basePath?
|
|
|
62642
63405
|
* @param {*} [options] Override http request option.
|
|
62643
63406
|
* @throws {RequiredError}
|
|
62644
63407
|
*/
|
|
62645
|
-
|
|
62646
|
-
return localVarFp.
|
|
63408
|
+
v1TeamMembersMemberIdDelete(memberId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
63409
|
+
return localVarFp.v1TeamMembersMemberIdDelete(memberId, options).then((request) => request(axios, basePath));
|
|
62647
63410
|
},
|
|
62648
63411
|
/**
|
|
62649
63412
|
* Updates the role of a member in the user\'s organization
|
|
@@ -62653,8 +63416,8 @@ export const TeamApiFactory = function (configuration?: Configuration, basePath?
|
|
|
62653
63416
|
* @param {*} [options] Override http request option.
|
|
62654
63417
|
* @throws {RequiredError}
|
|
62655
63418
|
*/
|
|
62656
|
-
|
|
62657
|
-
return localVarFp.
|
|
63419
|
+
v1TeamMembersMemberIdRolePut(memberId: number, dataTypesUpdateMemberRoleRequest: DataTypesUpdateMemberRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
63420
|
+
return localVarFp.v1TeamMembersMemberIdRolePut(memberId, dataTypesUpdateMemberRoleRequest, options).then((request) => request(axios, basePath));
|
|
62658
63421
|
},
|
|
62659
63422
|
/**
|
|
62660
63423
|
* Retrieves all stores accessible to a user
|
|
@@ -62663,8 +63426,8 @@ export const TeamApiFactory = function (configuration?: Configuration, basePath?
|
|
|
62663
63426
|
* @param {*} [options] Override http request option.
|
|
62664
63427
|
* @throws {RequiredError}
|
|
62665
63428
|
*/
|
|
62666
|
-
|
|
62667
|
-
return localVarFp.
|
|
63429
|
+
v1UsersUserIdStoresGet(userId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUserStoresResponse> {
|
|
63430
|
+
return localVarFp.v1UsersUserIdStoresGet(userId, options).then((request) => request(axios, basePath));
|
|
62668
63431
|
},
|
|
62669
63432
|
};
|
|
62670
63433
|
};
|
|
@@ -62684,8 +63447,8 @@ export class TeamApi extends BaseAPI {
|
|
|
62684
63447
|
* @throws {RequiredError}
|
|
62685
63448
|
* @memberof TeamApi
|
|
62686
63449
|
*/
|
|
62687
|
-
public
|
|
62688
|
-
return TeamApiFp(this.configuration).
|
|
63450
|
+
public v1InvitationsInvitationIdDelete(invitationId: number, options?: RawAxiosRequestConfig) {
|
|
63451
|
+
return TeamApiFp(this.configuration).v1InvitationsInvitationIdDelete(invitationId, options).then((request) => request(this.axios, this.basePath));
|
|
62689
63452
|
}
|
|
62690
63453
|
|
|
62691
63454
|
/**
|
|
@@ -62696,8 +63459,8 @@ export class TeamApi extends BaseAPI {
|
|
|
62696
63459
|
* @throws {RequiredError}
|
|
62697
63460
|
* @memberof TeamApi
|
|
62698
63461
|
*/
|
|
62699
|
-
public
|
|
62700
|
-
return TeamApiFp(this.configuration).
|
|
63462
|
+
public v1InvitationsTokenAcceptPost(token: string, options?: RawAxiosRequestConfig) {
|
|
63463
|
+
return TeamApiFp(this.configuration).v1InvitationsTokenAcceptPost(token, options).then((request) => request(this.axios, this.basePath));
|
|
62701
63464
|
}
|
|
62702
63465
|
|
|
62703
63466
|
/**
|
|
@@ -62708,8 +63471,8 @@ export class TeamApi extends BaseAPI {
|
|
|
62708
63471
|
* @throws {RequiredError}
|
|
62709
63472
|
* @memberof TeamApi
|
|
62710
63473
|
*/
|
|
62711
|
-
public
|
|
62712
|
-
return TeamApiFp(this.configuration).
|
|
63474
|
+
public v1StoresStoreIdAccessGet(storeId: number, options?: RawAxiosRequestConfig) {
|
|
63475
|
+
return TeamApiFp(this.configuration).v1StoresStoreIdAccessGet(storeId, options).then((request) => request(this.axios, this.basePath));
|
|
62713
63476
|
}
|
|
62714
63477
|
|
|
62715
63478
|
/**
|
|
@@ -62721,8 +63484,8 @@ export class TeamApi extends BaseAPI {
|
|
|
62721
63484
|
* @throws {RequiredError}
|
|
62722
63485
|
* @memberof TeamApi
|
|
62723
63486
|
*/
|
|
62724
|
-
public
|
|
62725
|
-
return TeamApiFp(this.configuration).
|
|
63487
|
+
public v1StoresStoreIdAccessPost(storeId: number, dataTypesGrantStoreAccessRequest: DataTypesGrantStoreAccessRequest, options?: RawAxiosRequestConfig) {
|
|
63488
|
+
return TeamApiFp(this.configuration).v1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options).then((request) => request(this.axios, this.basePath));
|
|
62726
63489
|
}
|
|
62727
63490
|
|
|
62728
63491
|
/**
|
|
@@ -62734,8 +63497,8 @@ export class TeamApi extends BaseAPI {
|
|
|
62734
63497
|
* @throws {RequiredError}
|
|
62735
63498
|
* @memberof TeamApi
|
|
62736
63499
|
*/
|
|
62737
|
-
public
|
|
62738
|
-
return TeamApiFp(this.configuration).
|
|
63500
|
+
public v1StoresStoreIdAccessUserIdDelete(storeId: number, userId: number, options?: RawAxiosRequestConfig) {
|
|
63501
|
+
return TeamApiFp(this.configuration).v1StoresStoreIdAccessUserIdDelete(storeId, userId, options).then((request) => request(this.axios, this.basePath));
|
|
62739
63502
|
}
|
|
62740
63503
|
|
|
62741
63504
|
/**
|
|
@@ -62748,8 +63511,8 @@ export class TeamApi extends BaseAPI {
|
|
|
62748
63511
|
* @throws {RequiredError}
|
|
62749
63512
|
* @memberof TeamApi
|
|
62750
63513
|
*/
|
|
62751
|
-
public
|
|
62752
|
-
return TeamApiFp(this.configuration).
|
|
63514
|
+
public v1StoresStoreIdAccessUserIdPut(storeId: number, userId: number, dataTypesUpdateStoreAccessRequest: DataTypesUpdateStoreAccessRequest, options?: RawAxiosRequestConfig) {
|
|
63515
|
+
return TeamApiFp(this.configuration).v1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options).then((request) => request(this.axios, this.basePath));
|
|
62753
63516
|
}
|
|
62754
63517
|
|
|
62755
63518
|
/**
|
|
@@ -62759,8 +63522,8 @@ export class TeamApi extends BaseAPI {
|
|
|
62759
63522
|
* @throws {RequiredError}
|
|
62760
63523
|
* @memberof TeamApi
|
|
62761
63524
|
*/
|
|
62762
|
-
public
|
|
62763
|
-
return TeamApiFp(this.configuration).
|
|
63525
|
+
public v1TeamInvitationsGet(options?: RawAxiosRequestConfig) {
|
|
63526
|
+
return TeamApiFp(this.configuration).v1TeamInvitationsGet(options).then((request) => request(this.axios, this.basePath));
|
|
62764
63527
|
}
|
|
62765
63528
|
|
|
62766
63529
|
/**
|
|
@@ -62770,8 +63533,8 @@ export class TeamApi extends BaseAPI {
|
|
|
62770
63533
|
* @throws {RequiredError}
|
|
62771
63534
|
* @memberof TeamApi
|
|
62772
63535
|
*/
|
|
62773
|
-
public
|
|
62774
|
-
return TeamApiFp(this.configuration).
|
|
63536
|
+
public v1TeamMembersGet(options?: RawAxiosRequestConfig) {
|
|
63537
|
+
return TeamApiFp(this.configuration).v1TeamMembersGet(options).then((request) => request(this.axios, this.basePath));
|
|
62775
63538
|
}
|
|
62776
63539
|
|
|
62777
63540
|
/**
|
|
@@ -62782,8 +63545,8 @@ export class TeamApi extends BaseAPI {
|
|
|
62782
63545
|
* @throws {RequiredError}
|
|
62783
63546
|
* @memberof TeamApi
|
|
62784
63547
|
*/
|
|
62785
|
-
public
|
|
62786
|
-
return TeamApiFp(this.configuration).
|
|
63548
|
+
public v1TeamMembersInvitePost(dataTypesInviteMemberRequest: DataTypesInviteMemberRequest, options?: RawAxiosRequestConfig) {
|
|
63549
|
+
return TeamApiFp(this.configuration).v1TeamMembersInvitePost(dataTypesInviteMemberRequest, options).then((request) => request(this.axios, this.basePath));
|
|
62787
63550
|
}
|
|
62788
63551
|
|
|
62789
63552
|
/**
|
|
@@ -62794,8 +63557,8 @@ export class TeamApi extends BaseAPI {
|
|
|
62794
63557
|
* @throws {RequiredError}
|
|
62795
63558
|
* @memberof TeamApi
|
|
62796
63559
|
*/
|
|
62797
|
-
public
|
|
62798
|
-
return TeamApiFp(this.configuration).
|
|
63560
|
+
public v1TeamMembersMemberIdDelete(memberId: number, options?: RawAxiosRequestConfig) {
|
|
63561
|
+
return TeamApiFp(this.configuration).v1TeamMembersMemberIdDelete(memberId, options).then((request) => request(this.axios, this.basePath));
|
|
62799
63562
|
}
|
|
62800
63563
|
|
|
62801
63564
|
/**
|
|
@@ -62807,8 +63570,8 @@ export class TeamApi extends BaseAPI {
|
|
|
62807
63570
|
* @throws {RequiredError}
|
|
62808
63571
|
* @memberof TeamApi
|
|
62809
63572
|
*/
|
|
62810
|
-
public
|
|
62811
|
-
return TeamApiFp(this.configuration).
|
|
63573
|
+
public v1TeamMembersMemberIdRolePut(memberId: number, dataTypesUpdateMemberRoleRequest: DataTypesUpdateMemberRoleRequest, options?: RawAxiosRequestConfig) {
|
|
63574
|
+
return TeamApiFp(this.configuration).v1TeamMembersMemberIdRolePut(memberId, dataTypesUpdateMemberRoleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
62812
63575
|
}
|
|
62813
63576
|
|
|
62814
63577
|
/**
|
|
@@ -62819,8 +63582,8 @@ export class TeamApi extends BaseAPI {
|
|
|
62819
63582
|
* @throws {RequiredError}
|
|
62820
63583
|
* @memberof TeamApi
|
|
62821
63584
|
*/
|
|
62822
|
-
public
|
|
62823
|
-
return TeamApiFp(this.configuration).
|
|
63585
|
+
public v1UsersUserIdStoresGet(userId: number, options?: RawAxiosRequestConfig) {
|
|
63586
|
+
return TeamApiFp(this.configuration).v1UsersUserIdStoresGet(userId, options).then((request) => request(this.axios, this.basePath));
|
|
62824
63587
|
}
|
|
62825
63588
|
}
|
|
62826
63589
|
|