@takaro/apiclient 0.0.0-dev.3b7a048 → 0.0.0-dev.3c1c88c
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/dist/generated/api.d.ts +835 -339
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +4884 -4586
- package/dist/generated/api.js.map +1 -1
- package/dist/lib/adminClient.d.ts +1 -1
- package/dist/lib/adminClient.d.ts.map +1 -1
- package/dist/lib/adminClient.js +2 -1
- package/dist/lib/adminClient.js.map +1 -1
- package/dist/lib/baseClient.d.ts +15 -1
- package/dist/lib/baseClient.d.ts.map +1 -1
- package/dist/lib/baseClient.js +17 -3
- package/dist/lib/baseClient.js.map +1 -1
- package/dist/lib/client.d.ts +1 -1
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +4 -3
- package/dist/lib/client.js.map +1 -1
- package/dist/main.d.ts +1 -1
- package/dist/main.d.ts.map +1 -1
- package/generated.manifest.json +27 -0
- package/openapi.json +28249 -0
- package/package.json +1 -1
- package/src/generated/api.ts +1534 -772
- package/src/lib/__tests__/baseClient.unit.test.ts +17 -0
- package/src/lib/adminClient.ts +5 -3
- package/src/lib/baseClient.ts +22 -4
- package/src/lib/client.ts +5 -4
- package/src/main.ts +1 -1
package/src/generated/api.ts
CHANGED
|
@@ -780,6 +780,88 @@ export interface BoundingBoxSearchInputDTO {
|
|
|
780
780
|
*/
|
|
781
781
|
gameserverId: string;
|
|
782
782
|
}
|
|
783
|
+
/**
|
|
784
|
+
*
|
|
785
|
+
* @export
|
|
786
|
+
* @interface BulkActionFailureDTO
|
|
787
|
+
*/
|
|
788
|
+
export interface BulkActionFailureDTO {
|
|
789
|
+
/**
|
|
790
|
+
*
|
|
791
|
+
* @type {string}
|
|
792
|
+
* @memberof BulkActionFailureDTO
|
|
793
|
+
*/
|
|
794
|
+
id: string;
|
|
795
|
+
/**
|
|
796
|
+
*
|
|
797
|
+
* @type {string}
|
|
798
|
+
* @memberof BulkActionFailureDTO
|
|
799
|
+
*/
|
|
800
|
+
name: string;
|
|
801
|
+
/**
|
|
802
|
+
*
|
|
803
|
+
* @type {string}
|
|
804
|
+
* @memberof BulkActionFailureDTO
|
|
805
|
+
*/
|
|
806
|
+
reason: string;
|
|
807
|
+
}
|
|
808
|
+
/**
|
|
809
|
+
*
|
|
810
|
+
* @export
|
|
811
|
+
* @interface BulkActionResultDTO
|
|
812
|
+
*/
|
|
813
|
+
export interface BulkActionResultDTO {
|
|
814
|
+
/**
|
|
815
|
+
*
|
|
816
|
+
* @type {number}
|
|
817
|
+
* @memberof BulkActionResultDTO
|
|
818
|
+
*/
|
|
819
|
+
succeeded: number;
|
|
820
|
+
/**
|
|
821
|
+
*
|
|
822
|
+
* @type {Array<BulkActionFailureDTO>}
|
|
823
|
+
* @memberof BulkActionResultDTO
|
|
824
|
+
*/
|
|
825
|
+
failed: Array<BulkActionFailureDTO>;
|
|
826
|
+
}
|
|
827
|
+
/**
|
|
828
|
+
*
|
|
829
|
+
* @export
|
|
830
|
+
* @interface BulkActionResultDTOAPI
|
|
831
|
+
*/
|
|
832
|
+
export interface BulkActionResultDTOAPI {
|
|
833
|
+
/**
|
|
834
|
+
*
|
|
835
|
+
* @type {BulkActionResultDTO}
|
|
836
|
+
* @memberof BulkActionResultDTOAPI
|
|
837
|
+
*/
|
|
838
|
+
data: BulkActionResultDTO;
|
|
839
|
+
/**
|
|
840
|
+
*
|
|
841
|
+
* @type {MetadataOutput}
|
|
842
|
+
* @memberof BulkActionResultDTOAPI
|
|
843
|
+
*/
|
|
844
|
+
meta: MetadataOutput;
|
|
845
|
+
}
|
|
846
|
+
/**
|
|
847
|
+
*
|
|
848
|
+
* @export
|
|
849
|
+
* @interface BulkTargetDTO
|
|
850
|
+
*/
|
|
851
|
+
export interface BulkTargetDTO {
|
|
852
|
+
/**
|
|
853
|
+
*
|
|
854
|
+
* @type {Array<string>}
|
|
855
|
+
* @memberof BulkTargetDTO
|
|
856
|
+
*/
|
|
857
|
+
ids?: Array<string>;
|
|
858
|
+
/**
|
|
859
|
+
*
|
|
860
|
+
* @type {Array<string>}
|
|
861
|
+
* @memberof BulkTargetDTO
|
|
862
|
+
*/
|
|
863
|
+
excludedIds?: Array<string>;
|
|
864
|
+
}
|
|
783
865
|
/**
|
|
784
866
|
*
|
|
785
867
|
* @export
|
|
@@ -2276,6 +2358,18 @@ export interface DomainCreateInputDTO {
|
|
|
2276
2358
|
* @memberof DomainCreateInputDTO
|
|
2277
2359
|
*/
|
|
2278
2360
|
maxDiscordLinkedRoles?: number;
|
|
2361
|
+
/**
|
|
2362
|
+
*
|
|
2363
|
+
* @type {boolean}
|
|
2364
|
+
* @memberof DomainCreateInputDTO
|
|
2365
|
+
*/
|
|
2366
|
+
skipBuiltinSeeding?: boolean;
|
|
2367
|
+
/**
|
|
2368
|
+
*
|
|
2369
|
+
* @type {string}
|
|
2370
|
+
* @memberof DomainCreateInputDTO
|
|
2371
|
+
*/
|
|
2372
|
+
serverRegistrationToken?: string;
|
|
2279
2373
|
}
|
|
2280
2374
|
|
|
2281
2375
|
export const DomainCreateInputDTOStateEnum = {
|
|
@@ -3141,19 +3235,19 @@ export interface ErrorOutput {
|
|
|
3141
3235
|
* @type {string}
|
|
3142
3236
|
* @memberof ErrorOutput
|
|
3143
3237
|
*/
|
|
3144
|
-
code
|
|
3238
|
+
code?: string;
|
|
3145
3239
|
/**
|
|
3146
3240
|
*
|
|
3147
3241
|
* @type {string}
|
|
3148
3242
|
* @memberof ErrorOutput
|
|
3149
3243
|
*/
|
|
3150
|
-
message
|
|
3244
|
+
message?: string;
|
|
3151
3245
|
/**
|
|
3152
3246
|
*
|
|
3153
3247
|
* @type {string}
|
|
3154
3248
|
* @memberof ErrorOutput
|
|
3155
3249
|
*/
|
|
3156
|
-
details
|
|
3250
|
+
details?: string;
|
|
3157
3251
|
}
|
|
3158
3252
|
/**
|
|
3159
3253
|
*
|
|
@@ -3166,7 +3260,7 @@ export interface EventChatMessage {
|
|
|
3166
3260
|
* @type {IGamePlayer}
|
|
3167
3261
|
* @memberof EventChatMessage
|
|
3168
3262
|
*/
|
|
3169
|
-
player
|
|
3263
|
+
player?: IGamePlayer;
|
|
3170
3264
|
/**
|
|
3171
3265
|
*
|
|
3172
3266
|
* @type {string}
|
|
@@ -3299,6 +3393,7 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
3299
3393
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
3300
3394
|
EventRateLimited: 'event-rate-limited',
|
|
3301
3395
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
3396
|
+
InviteLinkCreated: 'invite-link-created',
|
|
3302
3397
|
PlayerConnected: 'player-connected',
|
|
3303
3398
|
PlayerDisconnected: 'player-disconnected',
|
|
3304
3399
|
ChatMessage: 'chat-message',
|
|
@@ -3517,6 +3612,7 @@ export const EventExploreFiltersDTOEventNameEnum = {
|
|
|
3517
3612
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
3518
3613
|
EventRateLimited: 'event-rate-limited',
|
|
3519
3614
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
3615
|
+
InviteLinkCreated: 'invite-link-created',
|
|
3520
3616
|
PlayerConnected: 'player-connected',
|
|
3521
3617
|
PlayerDisconnected: 'player-disconnected',
|
|
3522
3618
|
ChatMessage: 'chat-message',
|
|
@@ -3887,6 +3983,7 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
3887
3983
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
3888
3984
|
EventRateLimited: 'event-rate-limited',
|
|
3889
3985
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
3986
|
+
InviteLinkCreated: 'invite-link-created',
|
|
3890
3987
|
PlayerConnected: 'player-connected',
|
|
3891
3988
|
PlayerDisconnected: 'player-disconnected',
|
|
3892
3989
|
ChatMessage: 'chat-message',
|
|
@@ -3919,6 +4016,7 @@ export type EventOutputDTOMeta =
|
|
|
3919
4016
|
| TakaroEventGameserverDeleted
|
|
3920
4017
|
| TakaroEventGameserverUpdated
|
|
3921
4018
|
| TakaroEventHookExecuted
|
|
4019
|
+
| TakaroEventInviteLinkCreated
|
|
3922
4020
|
| TakaroEventModuleCreated
|
|
3923
4021
|
| TakaroEventModuleDeleted
|
|
3924
4022
|
| TakaroEventModuleInstalled
|
|
@@ -4126,6 +4224,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
|
|
|
4126
4224
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
4127
4225
|
EventRateLimited: 'event-rate-limited',
|
|
4128
4226
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
4227
|
+
InviteLinkCreated: 'invite-link-created',
|
|
4129
4228
|
PlayerConnected: 'player-connected',
|
|
4130
4229
|
PlayerDisconnected: 'player-disconnected',
|
|
4131
4230
|
ChatMessage: 'chat-message',
|
|
@@ -5620,6 +5719,7 @@ export const HookCreateDTOEventTypeEnum = {
|
|
|
5620
5719
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
5621
5720
|
EventRateLimited: 'event-rate-limited',
|
|
5622
5721
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
5722
|
+
InviteLinkCreated: 'invite-link-created',
|
|
5623
5723
|
} as const;
|
|
5624
5724
|
|
|
5625
5725
|
export type HookCreateDTOEventTypeEnum = (typeof HookCreateDTOEventTypeEnum)[keyof typeof HookCreateDTOEventTypeEnum];
|
|
@@ -5783,6 +5883,7 @@ export const HookOutputDTOEventTypeEnum = {
|
|
|
5783
5883
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
5784
5884
|
EventRateLimited: 'event-rate-limited',
|
|
5785
5885
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
5886
|
+
InviteLinkCreated: 'invite-link-created',
|
|
5786
5887
|
} as const;
|
|
5787
5888
|
|
|
5788
5889
|
export type HookOutputDTOEventTypeEnum = (typeof HookOutputDTOEventTypeEnum)[keyof typeof HookOutputDTOEventTypeEnum];
|
|
@@ -5891,6 +5992,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
|
5891
5992
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
5892
5993
|
EventRateLimited: 'event-rate-limited',
|
|
5893
5994
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
5995
|
+
InviteLinkCreated: 'invite-link-created',
|
|
5894
5996
|
} as const;
|
|
5895
5997
|
|
|
5896
5998
|
export type HookSearchInputAllowedFiltersEventTypeEnum =
|
|
@@ -6071,6 +6173,7 @@ export const HookTriggerDTOEventTypeEnum = {
|
|
|
6071
6173
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
6072
6174
|
EventRateLimited: 'event-rate-limited',
|
|
6073
6175
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
6176
|
+
InviteLinkCreated: 'invite-link-created',
|
|
6074
6177
|
} as const;
|
|
6075
6178
|
|
|
6076
6179
|
export type HookTriggerDTOEventTypeEnum =
|
|
@@ -6161,6 +6264,7 @@ export const HookUpdateDTOEventTypeEnum = {
|
|
|
6161
6264
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
6162
6265
|
EventRateLimited: 'event-rate-limited',
|
|
6163
6266
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
6267
|
+
InviteLinkCreated: 'invite-link-created',
|
|
6164
6268
|
} as const;
|
|
6165
6269
|
|
|
6166
6270
|
export type HookUpdateDTOEventTypeEnum = (typeof HookUpdateDTOEventTypeEnum)[keyof typeof HookUpdateDTOEventTypeEnum];
|
|
@@ -6493,6 +6597,7 @@ export const IHookEventTypeEnum = {
|
|
|
6493
6597
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
6494
6598
|
EventRateLimited: 'event-rate-limited',
|
|
6495
6599
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
6600
|
+
InviteLinkCreated: 'invite-link-created',
|
|
6496
6601
|
} as const;
|
|
6497
6602
|
|
|
6498
6603
|
export type IHookEventTypeEnum = (typeof IHookEventTypeEnum)[keyof typeof IHookEventTypeEnum];
|
|
@@ -6922,25 +7027,6 @@ export interface InviteCreateDTO {
|
|
|
6922
7027
|
*/
|
|
6923
7028
|
email: string;
|
|
6924
7029
|
}
|
|
6925
|
-
/**
|
|
6926
|
-
*
|
|
6927
|
-
* @export
|
|
6928
|
-
* @interface InviteOutputDTO
|
|
6929
|
-
*/
|
|
6930
|
-
export interface InviteOutputDTO {
|
|
6931
|
-
/**
|
|
6932
|
-
*
|
|
6933
|
-
* @type {string}
|
|
6934
|
-
* @memberof InviteOutputDTO
|
|
6935
|
-
*/
|
|
6936
|
-
botInvite: string;
|
|
6937
|
-
/**
|
|
6938
|
-
*
|
|
6939
|
-
* @type {string}
|
|
6940
|
-
* @memberof InviteOutputDTO
|
|
6941
|
-
*/
|
|
6942
|
-
devServer: string;
|
|
6943
|
-
}
|
|
6944
7030
|
/**
|
|
6945
7031
|
*
|
|
6946
7032
|
* @export
|
|
@@ -7084,27 +7170,28 @@ export interface InviteLinkCreateResultDTOAPI {
|
|
|
7084
7170
|
/**
|
|
7085
7171
|
*
|
|
7086
7172
|
* @export
|
|
7087
|
-
* @interface
|
|
7173
|
+
* @interface InviteLinkOutputArrayDTOAPI
|
|
7088
7174
|
*/
|
|
7089
|
-
export interface
|
|
7090
|
-
/**
|
|
7091
|
-
*
|
|
7092
|
-
* @type {string}
|
|
7093
|
-
* @memberof InviteLinkOutputDTO
|
|
7094
|
-
*/
|
|
7095
|
-
id: string;
|
|
7175
|
+
export interface InviteLinkOutputArrayDTOAPI {
|
|
7096
7176
|
/**
|
|
7097
7177
|
*
|
|
7098
|
-
* @type {
|
|
7099
|
-
* @memberof
|
|
7178
|
+
* @type {Array<InviteLinkOutputDTO>}
|
|
7179
|
+
* @memberof InviteLinkOutputArrayDTOAPI
|
|
7100
7180
|
*/
|
|
7101
|
-
|
|
7181
|
+
data: Array<InviteLinkOutputDTO>;
|
|
7102
7182
|
/**
|
|
7103
7183
|
*
|
|
7104
|
-
* @type {
|
|
7105
|
-
* @memberof
|
|
7184
|
+
* @type {MetadataOutput}
|
|
7185
|
+
* @memberof InviteLinkOutputArrayDTOAPI
|
|
7106
7186
|
*/
|
|
7107
|
-
|
|
7187
|
+
meta: MetadataOutput;
|
|
7188
|
+
}
|
|
7189
|
+
/**
|
|
7190
|
+
*
|
|
7191
|
+
* @export
|
|
7192
|
+
* @interface InviteLinkOutputDTO
|
|
7193
|
+
*/
|
|
7194
|
+
export interface InviteLinkOutputDTO {
|
|
7108
7195
|
/**
|
|
7109
7196
|
*
|
|
7110
7197
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
@@ -7153,6 +7240,24 @@ export interface InviteLinkOutputDTO {
|
|
|
7153
7240
|
* @memberof InviteLinkOutputDTO
|
|
7154
7241
|
*/
|
|
7155
7242
|
roles: Array<InviteLinkRoleDTO>;
|
|
7243
|
+
/**
|
|
7244
|
+
*
|
|
7245
|
+
* @type {string}
|
|
7246
|
+
* @memberof InviteLinkOutputDTO
|
|
7247
|
+
*/
|
|
7248
|
+
id: string;
|
|
7249
|
+
/**
|
|
7250
|
+
*
|
|
7251
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7252
|
+
* @memberof InviteLinkOutputDTO
|
|
7253
|
+
*/
|
|
7254
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7255
|
+
/**
|
|
7256
|
+
*
|
|
7257
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7258
|
+
* @memberof InviteLinkOutputDTO
|
|
7259
|
+
*/
|
|
7260
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7156
7261
|
}
|
|
7157
7262
|
|
|
7158
7263
|
export const InviteLinkOutputDTOStatusEnum = {
|
|
@@ -7184,25 +7289,6 @@ export interface InviteLinkOutputDTOAPI {
|
|
|
7184
7289
|
*/
|
|
7185
7290
|
meta: MetadataOutput;
|
|
7186
7291
|
}
|
|
7187
|
-
/**
|
|
7188
|
-
*
|
|
7189
|
-
* @export
|
|
7190
|
-
* @interface InviteLinkOutputArrayDTOAPI
|
|
7191
|
-
*/
|
|
7192
|
-
export interface InviteLinkOutputArrayDTOAPI {
|
|
7193
|
-
/**
|
|
7194
|
-
*
|
|
7195
|
-
* @type {Array<InviteLinkOutputDTO>}
|
|
7196
|
-
* @memberof InviteLinkOutputArrayDTOAPI
|
|
7197
|
-
*/
|
|
7198
|
-
data: Array<InviteLinkOutputDTO>;
|
|
7199
|
-
/**
|
|
7200
|
-
*
|
|
7201
|
-
* @type {MetadataOutput}
|
|
7202
|
-
* @memberof InviteLinkOutputArrayDTOAPI
|
|
7203
|
-
*/
|
|
7204
|
-
meta: MetadataOutput;
|
|
7205
|
-
}
|
|
7206
7292
|
/**
|
|
7207
7293
|
*
|
|
7208
7294
|
* @export
|
|
@@ -7400,15 +7486,21 @@ export type InviteLinkSearchInputDTOSortDirectionEnum =
|
|
|
7400
7486
|
/**
|
|
7401
7487
|
*
|
|
7402
7488
|
* @export
|
|
7403
|
-
* @interface
|
|
7489
|
+
* @interface InviteOutputDTO
|
|
7404
7490
|
*/
|
|
7405
|
-
export interface
|
|
7491
|
+
export interface InviteOutputDTO {
|
|
7406
7492
|
/**
|
|
7407
7493
|
*
|
|
7408
7494
|
* @type {string}
|
|
7409
|
-
* @memberof
|
|
7495
|
+
* @memberof InviteOutputDTO
|
|
7410
7496
|
*/
|
|
7411
|
-
|
|
7497
|
+
botInvite: string;
|
|
7498
|
+
/**
|
|
7499
|
+
*
|
|
7500
|
+
* @type {string}
|
|
7501
|
+
* @memberof InviteOutputDTO
|
|
7502
|
+
*/
|
|
7503
|
+
devServer: string;
|
|
7412
7504
|
}
|
|
7413
7505
|
/**
|
|
7414
7506
|
*
|
|
@@ -8316,7 +8408,7 @@ export interface MetadataOutput {
|
|
|
8316
8408
|
* @type {ErrorOutput}
|
|
8317
8409
|
* @memberof MetadataOutput
|
|
8318
8410
|
*/
|
|
8319
|
-
error
|
|
8411
|
+
error?: ErrorOutput;
|
|
8320
8412
|
/**
|
|
8321
8413
|
*
|
|
8322
8414
|
* @type {number}
|
|
@@ -10435,7 +10527,13 @@ export interface PlayerBulkAssignRoleInputDTO {
|
|
|
10435
10527
|
* @type {Array<string>}
|
|
10436
10528
|
* @memberof PlayerBulkAssignRoleInputDTO
|
|
10437
10529
|
*/
|
|
10438
|
-
playerIds
|
|
10530
|
+
playerIds?: Array<string>;
|
|
10531
|
+
/**
|
|
10532
|
+
*
|
|
10533
|
+
* @type {PlayerSearchInputDTO}
|
|
10534
|
+
* @memberof PlayerBulkAssignRoleInputDTO
|
|
10535
|
+
*/
|
|
10536
|
+
query?: PlayerSearchInputDTO;
|
|
10439
10537
|
/**
|
|
10440
10538
|
*
|
|
10441
10539
|
* @type {string}
|
|
@@ -10448,6 +10546,18 @@ export interface PlayerBulkAssignRoleInputDTO {
|
|
|
10448
10546
|
* @memberof PlayerBulkAssignRoleInputDTO
|
|
10449
10547
|
*/
|
|
10450
10548
|
expiresAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
10549
|
+
/**
|
|
10550
|
+
*
|
|
10551
|
+
* @type {Array<string>}
|
|
10552
|
+
* @memberof PlayerBulkAssignRoleInputDTO
|
|
10553
|
+
*/
|
|
10554
|
+
ids?: Array<string>;
|
|
10555
|
+
/**
|
|
10556
|
+
*
|
|
10557
|
+
* @type {Array<string>}
|
|
10558
|
+
* @memberof PlayerBulkAssignRoleInputDTO
|
|
10559
|
+
*/
|
|
10560
|
+
excludedIds?: Array<string>;
|
|
10451
10561
|
}
|
|
10452
10562
|
/**
|
|
10453
10563
|
*
|
|
@@ -10523,7 +10633,25 @@ export interface PlayerBulkDeleteInputDTO {
|
|
|
10523
10633
|
* @type {Array<string>}
|
|
10524
10634
|
* @memberof PlayerBulkDeleteInputDTO
|
|
10525
10635
|
*/
|
|
10526
|
-
playerIds
|
|
10636
|
+
playerIds?: Array<string>;
|
|
10637
|
+
/**
|
|
10638
|
+
*
|
|
10639
|
+
* @type {PlayerSearchInputDTO}
|
|
10640
|
+
* @memberof PlayerBulkDeleteInputDTO
|
|
10641
|
+
*/
|
|
10642
|
+
query?: PlayerSearchInputDTO;
|
|
10643
|
+
/**
|
|
10644
|
+
*
|
|
10645
|
+
* @type {Array<string>}
|
|
10646
|
+
* @memberof PlayerBulkDeleteInputDTO
|
|
10647
|
+
*/
|
|
10648
|
+
ids?: Array<string>;
|
|
10649
|
+
/**
|
|
10650
|
+
*
|
|
10651
|
+
* @type {Array<string>}
|
|
10652
|
+
* @memberof PlayerBulkDeleteInputDTO
|
|
10653
|
+
*/
|
|
10654
|
+
excludedIds?: Array<string>;
|
|
10527
10655
|
}
|
|
10528
10656
|
/**
|
|
10529
10657
|
*
|
|
@@ -11095,6 +11223,12 @@ export interface PlayerOnGameServerSearchInputAllowedRangeFilter {
|
|
|
11095
11223
|
* @memberof PlayerOnGameServerSearchInputAllowedRangeFilter
|
|
11096
11224
|
*/
|
|
11097
11225
|
playtimeSeconds?: number;
|
|
11226
|
+
/**
|
|
11227
|
+
*
|
|
11228
|
+
* @type {number}
|
|
11229
|
+
* @memberof PlayerOnGameServerSearchInputAllowedRangeFilter
|
|
11230
|
+
*/
|
|
11231
|
+
currency?: number;
|
|
11098
11232
|
/**
|
|
11099
11233
|
*
|
|
11100
11234
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
@@ -12022,6 +12156,24 @@ export interface PlayerSearchInputAllowedFilters {
|
|
|
12022
12156
|
* @memberof PlayerSearchInputAllowedFilters
|
|
12023
12157
|
*/
|
|
12024
12158
|
roleId?: Array<string>;
|
|
12159
|
+
/**
|
|
12160
|
+
*
|
|
12161
|
+
* @type {Array<boolean>}
|
|
12162
|
+
* @memberof PlayerSearchInputAllowedFilters
|
|
12163
|
+
*/
|
|
12164
|
+
online?: Array<boolean>;
|
|
12165
|
+
/**
|
|
12166
|
+
*
|
|
12167
|
+
* @type {Array<string>}
|
|
12168
|
+
* @memberof PlayerSearchInputAllowedFilters
|
|
12169
|
+
*/
|
|
12170
|
+
roleAssignmentScope?: Array<PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum>;
|
|
12171
|
+
/**
|
|
12172
|
+
*
|
|
12173
|
+
* @type {Array<string>}
|
|
12174
|
+
* @memberof PlayerSearchInputAllowedFilters
|
|
12175
|
+
*/
|
|
12176
|
+
roleAssignmentGameServerId?: Array<string>;
|
|
12025
12177
|
/**
|
|
12026
12178
|
*
|
|
12027
12179
|
* @type {Array<string>}
|
|
@@ -12029,6 +12181,15 @@ export interface PlayerSearchInputAllowedFilters {
|
|
|
12029
12181
|
*/
|
|
12030
12182
|
id?: Array<string>;
|
|
12031
12183
|
}
|
|
12184
|
+
|
|
12185
|
+
export const PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum = {
|
|
12186
|
+
Global: 'global',
|
|
12187
|
+
GameServer: 'gameServer',
|
|
12188
|
+
} as const;
|
|
12189
|
+
|
|
12190
|
+
export type PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum =
|
|
12191
|
+
(typeof PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum)[keyof typeof PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum];
|
|
12192
|
+
|
|
12032
12193
|
/**
|
|
12033
12194
|
*
|
|
12034
12195
|
* @export
|
|
@@ -12280,13 +12441,31 @@ export interface PogBulkAddCurrencyInputDTO {
|
|
|
12280
12441
|
* @type {Array<string>}
|
|
12281
12442
|
* @memberof PogBulkAddCurrencyInputDTO
|
|
12282
12443
|
*/
|
|
12283
|
-
playerIds
|
|
12444
|
+
playerIds?: Array<string>;
|
|
12445
|
+
/**
|
|
12446
|
+
*
|
|
12447
|
+
* @type {PlayerOnGameServerSearchInputDTO}
|
|
12448
|
+
* @memberof PogBulkAddCurrencyInputDTO
|
|
12449
|
+
*/
|
|
12450
|
+
query?: PlayerOnGameServerSearchInputDTO;
|
|
12284
12451
|
/**
|
|
12285
12452
|
*
|
|
12286
12453
|
* @type {number}
|
|
12287
12454
|
* @memberof PogBulkAddCurrencyInputDTO
|
|
12288
12455
|
*/
|
|
12289
12456
|
amount: number;
|
|
12457
|
+
/**
|
|
12458
|
+
*
|
|
12459
|
+
* @type {Array<string>}
|
|
12460
|
+
* @memberof PogBulkAddCurrencyInputDTO
|
|
12461
|
+
*/
|
|
12462
|
+
ids?: Array<string>;
|
|
12463
|
+
/**
|
|
12464
|
+
*
|
|
12465
|
+
* @type {Array<string>}
|
|
12466
|
+
* @memberof PogBulkAddCurrencyInputDTO
|
|
12467
|
+
*/
|
|
12468
|
+
excludedIds?: Array<string>;
|
|
12290
12469
|
}
|
|
12291
12470
|
/**
|
|
12292
12471
|
*
|
|
@@ -12584,6 +12763,19 @@ export const RecentOrderDTOStatusEnum = {
|
|
|
12584
12763
|
|
|
12585
12764
|
export type RecentOrderDTOStatusEnum = (typeof RecentOrderDTOStatusEnum)[keyof typeof RecentOrderDTOStatusEnum];
|
|
12586
12765
|
|
|
12766
|
+
/**
|
|
12767
|
+
*
|
|
12768
|
+
* @export
|
|
12769
|
+
* @interface RedeemInputDTO
|
|
12770
|
+
*/
|
|
12771
|
+
export interface RedeemInputDTO {
|
|
12772
|
+
/**
|
|
12773
|
+
*
|
|
12774
|
+
* @type {string}
|
|
12775
|
+
* @memberof RedeemInputDTO
|
|
12776
|
+
*/
|
|
12777
|
+
token: string;
|
|
12778
|
+
}
|
|
12587
12779
|
/**
|
|
12588
12780
|
*
|
|
12589
12781
|
* @export
|
|
@@ -12595,7 +12787,7 @@ export interface RedirectQs {
|
|
|
12595
12787
|
* @type {string}
|
|
12596
12788
|
* @memberof RedirectQs
|
|
12597
12789
|
*/
|
|
12598
|
-
redirect
|
|
12790
|
+
redirect?: string;
|
|
12599
12791
|
}
|
|
12600
12792
|
/**
|
|
12601
12793
|
*
|
|
@@ -14137,7 +14329,13 @@ export interface ShopCategoryBulkAssignDTO {
|
|
|
14137
14329
|
* @type {Array<string>}
|
|
14138
14330
|
* @memberof ShopCategoryBulkAssignDTO
|
|
14139
14331
|
*/
|
|
14140
|
-
listingIds
|
|
14332
|
+
listingIds?: Array<string>;
|
|
14333
|
+
/**
|
|
14334
|
+
*
|
|
14335
|
+
* @type {ShopListingSearchInputDTO}
|
|
14336
|
+
* @memberof ShopCategoryBulkAssignDTO
|
|
14337
|
+
*/
|
|
14338
|
+
query?: ShopListingSearchInputDTO;
|
|
14141
14339
|
/**
|
|
14142
14340
|
*
|
|
14143
14341
|
* @type {Array<string>}
|
|
@@ -14150,6 +14348,18 @@ export interface ShopCategoryBulkAssignDTO {
|
|
|
14150
14348
|
* @memberof ShopCategoryBulkAssignDTO
|
|
14151
14349
|
*/
|
|
14152
14350
|
removeCategoryIds?: Array<string>;
|
|
14351
|
+
/**
|
|
14352
|
+
*
|
|
14353
|
+
* @type {Array<string>}
|
|
14354
|
+
* @memberof ShopCategoryBulkAssignDTO
|
|
14355
|
+
*/
|
|
14356
|
+
ids?: Array<string>;
|
|
14357
|
+
/**
|
|
14358
|
+
*
|
|
14359
|
+
* @type {Array<string>}
|
|
14360
|
+
* @memberof ShopCategoryBulkAssignDTO
|
|
14361
|
+
*/
|
|
14362
|
+
excludedIds?: Array<string>;
|
|
14153
14363
|
}
|
|
14154
14364
|
/**
|
|
14155
14365
|
*
|
|
@@ -14764,6 +14974,60 @@ export interface ShopKpisDTOAPI {
|
|
|
14764
14974
|
*/
|
|
14765
14975
|
meta: MetadataOutput;
|
|
14766
14976
|
}
|
|
14977
|
+
/**
|
|
14978
|
+
*
|
|
14979
|
+
* @export
|
|
14980
|
+
* @interface ShopListingBulkInputDTO
|
|
14981
|
+
*/
|
|
14982
|
+
export interface ShopListingBulkInputDTO {
|
|
14983
|
+
/**
|
|
14984
|
+
*
|
|
14985
|
+
* @type {ShopListingBulkTargetDTO}
|
|
14986
|
+
* @memberof ShopListingBulkInputDTO
|
|
14987
|
+
*/
|
|
14988
|
+
target: ShopListingBulkTargetDTO;
|
|
14989
|
+
/**
|
|
14990
|
+
*
|
|
14991
|
+
* @type {string}
|
|
14992
|
+
* @memberof ShopListingBulkInputDTO
|
|
14993
|
+
*/
|
|
14994
|
+
action: ShopListingBulkInputDTOActionEnum;
|
|
14995
|
+
}
|
|
14996
|
+
|
|
14997
|
+
export const ShopListingBulkInputDTOActionEnum = {
|
|
14998
|
+
Delete: 'delete',
|
|
14999
|
+
Publish: 'publish',
|
|
15000
|
+
Unpublish: 'unpublish',
|
|
15001
|
+
} as const;
|
|
15002
|
+
|
|
15003
|
+
export type ShopListingBulkInputDTOActionEnum =
|
|
15004
|
+
(typeof ShopListingBulkInputDTOActionEnum)[keyof typeof ShopListingBulkInputDTOActionEnum];
|
|
15005
|
+
|
|
15006
|
+
/**
|
|
15007
|
+
*
|
|
15008
|
+
* @export
|
|
15009
|
+
* @interface ShopListingBulkTargetDTO
|
|
15010
|
+
*/
|
|
15011
|
+
export interface ShopListingBulkTargetDTO {
|
|
15012
|
+
/**
|
|
15013
|
+
*
|
|
15014
|
+
* @type {ShopListingSearchInputDTO}
|
|
15015
|
+
* @memberof ShopListingBulkTargetDTO
|
|
15016
|
+
*/
|
|
15017
|
+
query?: ShopListingSearchInputDTO;
|
|
15018
|
+
/**
|
|
15019
|
+
*
|
|
15020
|
+
* @type {Array<string>}
|
|
15021
|
+
* @memberof ShopListingBulkTargetDTO
|
|
15022
|
+
*/
|
|
15023
|
+
ids?: Array<string>;
|
|
15024
|
+
/**
|
|
15025
|
+
*
|
|
15026
|
+
* @type {Array<string>}
|
|
15027
|
+
* @memberof ShopListingBulkTargetDTO
|
|
15028
|
+
*/
|
|
15029
|
+
excludedIds?: Array<string>;
|
|
15030
|
+
}
|
|
14767
15031
|
/**
|
|
14768
15032
|
*
|
|
14769
15033
|
* @export
|
|
@@ -16316,6 +16580,49 @@ export interface TakaroEventHookExecuted {
|
|
|
16316
16580
|
*/
|
|
16317
16581
|
timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16318
16582
|
}
|
|
16583
|
+
/**
|
|
16584
|
+
*
|
|
16585
|
+
* @export
|
|
16586
|
+
* @interface TakaroEventInviteLinkCreated
|
|
16587
|
+
*/
|
|
16588
|
+
export interface TakaroEventInviteLinkCreated {
|
|
16589
|
+
/**
|
|
16590
|
+
*
|
|
16591
|
+
* @type {string}
|
|
16592
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16593
|
+
*/
|
|
16594
|
+
inviteLinkId: string;
|
|
16595
|
+
/**
|
|
16596
|
+
*
|
|
16597
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
16598
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16599
|
+
*/
|
|
16600
|
+
expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16601
|
+
/**
|
|
16602
|
+
*
|
|
16603
|
+
* @type {number}
|
|
16604
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16605
|
+
*/
|
|
16606
|
+
maxUses: number;
|
|
16607
|
+
/**
|
|
16608
|
+
*
|
|
16609
|
+
* @type {Array<string>}
|
|
16610
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16611
|
+
*/
|
|
16612
|
+
roleIds: Array<string>;
|
|
16613
|
+
/**
|
|
16614
|
+
*
|
|
16615
|
+
* @type {boolean}
|
|
16616
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16617
|
+
*/
|
|
16618
|
+
staffOrigin: boolean;
|
|
16619
|
+
/**
|
|
16620
|
+
*
|
|
16621
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
16622
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16623
|
+
*/
|
|
16624
|
+
timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16625
|
+
}
|
|
16319
16626
|
/**
|
|
16320
16627
|
*
|
|
16321
16628
|
* @export
|
|
@@ -17674,6 +17981,37 @@ export interface UserCreateInputDTO {
|
|
|
17674
17981
|
*/
|
|
17675
17982
|
isDashboardUser?: boolean;
|
|
17676
17983
|
}
|
|
17984
|
+
/**
|
|
17985
|
+
*
|
|
17986
|
+
* @export
|
|
17987
|
+
* @interface UserCreateInviteDTO
|
|
17988
|
+
*/
|
|
17989
|
+
export interface UserCreateInviteDTO {
|
|
17990
|
+
/**
|
|
17991
|
+
*
|
|
17992
|
+
* @type {string}
|
|
17993
|
+
* @memberof UserCreateInviteDTO
|
|
17994
|
+
*/
|
|
17995
|
+
name: string;
|
|
17996
|
+
/**
|
|
17997
|
+
*
|
|
17998
|
+
* @type {string}
|
|
17999
|
+
* @memberof UserCreateInviteDTO
|
|
18000
|
+
*/
|
|
18001
|
+
email: string;
|
|
18002
|
+
/**
|
|
18003
|
+
*
|
|
18004
|
+
* @type {string}
|
|
18005
|
+
* @memberof UserCreateInviteDTO
|
|
18006
|
+
*/
|
|
18007
|
+
idpId?: string;
|
|
18008
|
+
/**
|
|
18009
|
+
*
|
|
18010
|
+
* @type {boolean}
|
|
18011
|
+
* @memberof UserCreateInviteDTO
|
|
18012
|
+
*/
|
|
18013
|
+
isDashboardUser?: boolean;
|
|
18014
|
+
}
|
|
17677
18015
|
/**
|
|
17678
18016
|
*
|
|
17679
18017
|
* @export
|
|
@@ -17777,7 +18115,7 @@ export interface UserOutputDTO {
|
|
|
17777
18115
|
* @type {PlayerOutputWithRolesDTO}
|
|
17778
18116
|
* @memberof UserOutputDTO
|
|
17779
18117
|
*/
|
|
17780
|
-
player
|
|
18118
|
+
player?: PlayerOutputWithRolesDTO;
|
|
17781
18119
|
/**
|
|
17782
18120
|
*
|
|
17783
18121
|
* @type {boolean}
|
|
@@ -17795,25 +18133,25 @@ export interface UserOutputDTO {
|
|
|
17795
18133
|
* @type {string}
|
|
17796
18134
|
* @memberof UserOutputDTO
|
|
17797
18135
|
*/
|
|
17798
|
-
|
|
18136
|
+
inviteLinkId?: string;
|
|
17799
18137
|
/**
|
|
17800
18138
|
*
|
|
17801
|
-
* @type {
|
|
18139
|
+
* @type {string}
|
|
17802
18140
|
* @memberof UserOutputDTO
|
|
17803
18141
|
*/
|
|
17804
|
-
|
|
18142
|
+
id: string;
|
|
17805
18143
|
/**
|
|
17806
18144
|
*
|
|
17807
18145
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
17808
18146
|
* @memberof UserOutputDTO
|
|
17809
18147
|
*/
|
|
17810
|
-
|
|
18148
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
17811
18149
|
/**
|
|
17812
18150
|
*
|
|
17813
|
-
* @type {
|
|
18151
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
17814
18152
|
* @memberof UserOutputDTO
|
|
17815
18153
|
*/
|
|
17816
|
-
|
|
18154
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
17817
18155
|
}
|
|
17818
18156
|
/**
|
|
17819
18157
|
*
|
|
@@ -17905,7 +18243,7 @@ export interface UserOutputWithRolesDTO {
|
|
|
17905
18243
|
* @type {PlayerOutputWithRolesDTO}
|
|
17906
18244
|
* @memberof UserOutputWithRolesDTO
|
|
17907
18245
|
*/
|
|
17908
|
-
player
|
|
18246
|
+
player?: PlayerOutputWithRolesDTO;
|
|
17909
18247
|
/**
|
|
17910
18248
|
*
|
|
17911
18249
|
* @type {boolean}
|
|
@@ -18158,6 +18496,31 @@ export interface UserUpdateDTO {
|
|
|
18158
18496
|
*/
|
|
18159
18497
|
isDashboardUser?: boolean;
|
|
18160
18498
|
}
|
|
18499
|
+
/**
|
|
18500
|
+
*
|
|
18501
|
+
* @export
|
|
18502
|
+
* @interface VariableBulkDeleteInputDTO
|
|
18503
|
+
*/
|
|
18504
|
+
export interface VariableBulkDeleteInputDTO {
|
|
18505
|
+
/**
|
|
18506
|
+
*
|
|
18507
|
+
* @type {VariableSearchInputDTO}
|
|
18508
|
+
* @memberof VariableBulkDeleteInputDTO
|
|
18509
|
+
*/
|
|
18510
|
+
query?: VariableSearchInputDTO;
|
|
18511
|
+
/**
|
|
18512
|
+
*
|
|
18513
|
+
* @type {Array<string>}
|
|
18514
|
+
* @memberof VariableBulkDeleteInputDTO
|
|
18515
|
+
*/
|
|
18516
|
+
ids?: Array<string>;
|
|
18517
|
+
/**
|
|
18518
|
+
*
|
|
18519
|
+
* @type {Array<string>}
|
|
18520
|
+
* @memberof VariableBulkDeleteInputDTO
|
|
18521
|
+
*/
|
|
18522
|
+
excludedIds?: Array<string>;
|
|
18523
|
+
}
|
|
18161
18524
|
/**
|
|
18162
18525
|
*
|
|
18163
18526
|
* @export
|
|
@@ -18367,6 +18730,12 @@ export interface VariableSearchInputAllowedSearch {
|
|
|
18367
18730
|
* @memberof VariableSearchInputAllowedSearch
|
|
18368
18731
|
*/
|
|
18369
18732
|
key?: Array<string>;
|
|
18733
|
+
/**
|
|
18734
|
+
*
|
|
18735
|
+
* @type {Array<string>}
|
|
18736
|
+
* @memberof VariableSearchInputAllowedSearch
|
|
18737
|
+
*/
|
|
18738
|
+
value?: Array<string>;
|
|
18370
18739
|
}
|
|
18371
18740
|
/**
|
|
18372
18741
|
*
|
|
@@ -26440,6 +26809,52 @@ export const DomainApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
26440
26809
|
options: localVarRequestOptions,
|
|
26441
26810
|
};
|
|
26442
26811
|
},
|
|
26812
|
+
/**
|
|
26813
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
26814
|
+
* @summary Create staff-recovery invite link for a domain
|
|
26815
|
+
* @param {string} id
|
|
26816
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
26817
|
+
* @param {*} [options] Override http request option.
|
|
26818
|
+
* @throws {RequiredError}
|
|
26819
|
+
*/
|
|
26820
|
+
domainControllerCreateInviteLink: async (
|
|
26821
|
+
id: string,
|
|
26822
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
26823
|
+
options: RawAxiosRequestConfig = {},
|
|
26824
|
+
): Promise<RequestArgs> => {
|
|
26825
|
+
// verify required parameter 'id' is not null or undefined
|
|
26826
|
+
assertParamExists('domainControllerCreateInviteLink', 'id', id);
|
|
26827
|
+
const localVarPath = `/domain/{id}/invite-link`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
26828
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26829
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26830
|
+
let baseOptions;
|
|
26831
|
+
if (configuration) {
|
|
26832
|
+
baseOptions = configuration.baseOptions;
|
|
26833
|
+
}
|
|
26834
|
+
|
|
26835
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
26836
|
+
const localVarHeaderParameter = {} as any;
|
|
26837
|
+
const localVarQueryParameter = {} as any;
|
|
26838
|
+
|
|
26839
|
+
// authentication adminAuth required
|
|
26840
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
26841
|
+
|
|
26842
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26843
|
+
|
|
26844
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26845
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26846
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
26847
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
26848
|
+
inviteLinkCreateInputDTO,
|
|
26849
|
+
localVarRequestOptions,
|
|
26850
|
+
configuration,
|
|
26851
|
+
);
|
|
26852
|
+
|
|
26853
|
+
return {
|
|
26854
|
+
url: toPathString(localVarUrlObj),
|
|
26855
|
+
options: localVarRequestOptions,
|
|
26856
|
+
};
|
|
26857
|
+
},
|
|
26443
26858
|
/**
|
|
26444
26859
|
* <br> OperationId: `DomainControllerGetOne`
|
|
26445
26860
|
* @summary Get one
|
|
@@ -26712,6 +27127,35 @@ export const DomainApiFp = function (configuration?: Configuration) {
|
|
|
26712
27127
|
configuration,
|
|
26713
27128
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
26714
27129
|
},
|
|
27130
|
+
/**
|
|
27131
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
27132
|
+
* @summary Create staff-recovery invite link for a domain
|
|
27133
|
+
* @param {string} id
|
|
27134
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
27135
|
+
* @param {*} [options] Override http request option.
|
|
27136
|
+
* @throws {RequiredError}
|
|
27137
|
+
*/
|
|
27138
|
+
async domainControllerCreateInviteLink(
|
|
27139
|
+
id: string,
|
|
27140
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
27141
|
+
options?: RawAxiosRequestConfig,
|
|
27142
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
|
|
27143
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerCreateInviteLink(
|
|
27144
|
+
id,
|
|
27145
|
+
inviteLinkCreateInputDTO,
|
|
27146
|
+
options,
|
|
27147
|
+
);
|
|
27148
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
27149
|
+
const localVarOperationServerBasePath =
|
|
27150
|
+
operationServerMap['DomainApi.domainControllerCreateInviteLink']?.[localVarOperationServerIndex]?.url;
|
|
27151
|
+
return (axios, basePath) =>
|
|
27152
|
+
createRequestFunction(
|
|
27153
|
+
localVarAxiosArgs,
|
|
27154
|
+
globalAxios,
|
|
27155
|
+
BASE_PATH,
|
|
27156
|
+
configuration,
|
|
27157
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
27158
|
+
},
|
|
26715
27159
|
/**
|
|
26716
27160
|
* <br> OperationId: `DomainControllerGetOne`
|
|
26717
27161
|
* @summary Get one
|
|
@@ -26886,6 +27330,23 @@ export const DomainApiFactory = function (configuration?: Configuration, basePat
|
|
|
26886
27330
|
.domainControllerCreate(domainCreateInputDTO, options)
|
|
26887
27331
|
.then((request) => request(axios, basePath));
|
|
26888
27332
|
},
|
|
27333
|
+
/**
|
|
27334
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
27335
|
+
* @summary Create staff-recovery invite link for a domain
|
|
27336
|
+
* @param {string} id
|
|
27337
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
27338
|
+
* @param {*} [options] Override http request option.
|
|
27339
|
+
* @throws {RequiredError}
|
|
27340
|
+
*/
|
|
27341
|
+
domainControllerCreateInviteLink(
|
|
27342
|
+
id: string,
|
|
27343
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
27344
|
+
options?: RawAxiosRequestConfig,
|
|
27345
|
+
): AxiosPromise<InviteLinkCreateResultDTOAPI> {
|
|
27346
|
+
return localVarFp
|
|
27347
|
+
.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
|
|
27348
|
+
.then((request) => request(axios, basePath));
|
|
27349
|
+
},
|
|
26889
27350
|
/**
|
|
26890
27351
|
* <br> OperationId: `DomainControllerGetOne`
|
|
26891
27352
|
* @summary Get one
|
|
@@ -26991,6 +27452,25 @@ export class DomainApi extends BaseAPI {
|
|
|
26991
27452
|
.then((request) => request(this.axios, this.basePath));
|
|
26992
27453
|
}
|
|
26993
27454
|
|
|
27455
|
+
/**
|
|
27456
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
27457
|
+
* @summary Create staff-recovery invite link for a domain
|
|
27458
|
+
* @param {string} id
|
|
27459
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
27460
|
+
* @param {*} [options] Override http request option.
|
|
27461
|
+
* @throws {RequiredError}
|
|
27462
|
+
* @memberof DomainApi
|
|
27463
|
+
*/
|
|
27464
|
+
public domainControllerCreateInviteLink(
|
|
27465
|
+
id: string,
|
|
27466
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
27467
|
+
options?: RawAxiosRequestConfig,
|
|
27468
|
+
) {
|
|
27469
|
+
return DomainApiFp(this.configuration)
|
|
27470
|
+
.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
|
|
27471
|
+
.then((request) => request(this.axios, this.basePath));
|
|
27472
|
+
}
|
|
27473
|
+
|
|
26994
27474
|
/**
|
|
26995
27475
|
* <br> OperationId: `DomainControllerGetOne`
|
|
26996
27476
|
* @summary Get one
|
|
@@ -27951,16 +28431,14 @@ export const ExternalAuthApiAxiosParamCreator = function (configuration?: Config
|
|
|
27951
28431
|
/**
|
|
27952
28432
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
27953
28433
|
* @summary Auth discord
|
|
27954
|
-
* @param {string} redirect
|
|
28434
|
+
* @param {string} [redirect]
|
|
27955
28435
|
* @param {*} [options] Override http request option.
|
|
27956
28436
|
* @throws {RequiredError}
|
|
27957
28437
|
*/
|
|
27958
28438
|
externalAuthControllerAuthDiscord: async (
|
|
27959
|
-
redirect
|
|
28439
|
+
redirect?: string,
|
|
27960
28440
|
options: RawAxiosRequestConfig = {},
|
|
27961
28441
|
): Promise<RequestArgs> => {
|
|
27962
|
-
// verify required parameter 'redirect' is not null or undefined
|
|
27963
|
-
assertParamExists('externalAuthControllerAuthDiscord', 'redirect', redirect);
|
|
27964
28442
|
const localVarPath = `/auth/discord`;
|
|
27965
28443
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27966
28444
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -28027,12 +28505,12 @@ export const ExternalAuthApiFp = function (configuration?: Configuration) {
|
|
|
28027
28505
|
/**
|
|
28028
28506
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
28029
28507
|
* @summary Auth discord
|
|
28030
|
-
* @param {string} redirect
|
|
28508
|
+
* @param {string} [redirect]
|
|
28031
28509
|
* @param {*} [options] Override http request option.
|
|
28032
28510
|
* @throws {RequiredError}
|
|
28033
28511
|
*/
|
|
28034
28512
|
async externalAuthControllerAuthDiscord(
|
|
28035
|
-
redirect
|
|
28513
|
+
redirect?: string,
|
|
28036
28514
|
options?: RawAxiosRequestConfig,
|
|
28037
28515
|
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
28038
28516
|
const localVarAxiosArgs = await localVarAxiosParamCreator.externalAuthControllerAuthDiscord(redirect, options);
|
|
@@ -28086,11 +28564,11 @@ export const ExternalAuthApiFactory = function (
|
|
|
28086
28564
|
/**
|
|
28087
28565
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
28088
28566
|
* @summary Auth discord
|
|
28089
|
-
* @param {string} redirect
|
|
28567
|
+
* @param {string} [redirect]
|
|
28090
28568
|
* @param {*} [options] Override http request option.
|
|
28091
28569
|
* @throws {RequiredError}
|
|
28092
28570
|
*/
|
|
28093
|
-
externalAuthControllerAuthDiscord(redirect
|
|
28571
|
+
externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
28094
28572
|
return localVarFp
|
|
28095
28573
|
.externalAuthControllerAuthDiscord(redirect, options)
|
|
28096
28574
|
.then((request) => request(axios, basePath));
|
|
@@ -28117,12 +28595,12 @@ export class ExternalAuthApi extends BaseAPI {
|
|
|
28117
28595
|
/**
|
|
28118
28596
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
28119
28597
|
* @summary Auth discord
|
|
28120
|
-
* @param {string} redirect
|
|
28598
|
+
* @param {string} [redirect]
|
|
28121
28599
|
* @param {*} [options] Override http request option.
|
|
28122
28600
|
* @throws {RequiredError}
|
|
28123
28601
|
* @memberof ExternalAuthApi
|
|
28124
28602
|
*/
|
|
28125
|
-
public externalAuthControllerAuthDiscord(redirect
|
|
28603
|
+
public externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
28126
28604
|
return ExternalAuthApiFp(this.configuration)
|
|
28127
28605
|
.externalAuthControllerAuthDiscord(redirect, options)
|
|
28128
28606
|
.then((request) => request(this.axios, this.basePath));
|
|
@@ -31825,56 +32303,23 @@ export class HookApi extends BaseAPI {
|
|
|
31825
32303
|
}
|
|
31826
32304
|
|
|
31827
32305
|
/**
|
|
31828
|
-
*
|
|
32306
|
+
* InviteLinkApi - axios parameter creator
|
|
31829
32307
|
* @export
|
|
31830
32308
|
*/
|
|
31831
|
-
export const
|
|
32309
|
+
export const InviteLinkApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
31832
32310
|
return {
|
|
31833
32311
|
/**
|
|
31834
|
-
*
|
|
31835
|
-
* @summary
|
|
31836
|
-
* @param {
|
|
31837
|
-
* @param {*} [options] Override http request option.
|
|
31838
|
-
* @throws {RequiredError}
|
|
31839
|
-
*/
|
|
31840
|
-
itemControllerFindOne: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31841
|
-
// verify required parameter 'id' is not null or undefined
|
|
31842
|
-
assertParamExists('itemControllerFindOne', 'id', id);
|
|
31843
|
-
const localVarPath = `/items/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
31844
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31845
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31846
|
-
let baseOptions;
|
|
31847
|
-
if (configuration) {
|
|
31848
|
-
baseOptions = configuration.baseOptions;
|
|
31849
|
-
}
|
|
31850
|
-
|
|
31851
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
31852
|
-
const localVarHeaderParameter = {} as any;
|
|
31853
|
-
const localVarQueryParameter = {} as any;
|
|
31854
|
-
|
|
31855
|
-
// authentication domainAuth required
|
|
31856
|
-
|
|
31857
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31858
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31859
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
31860
|
-
|
|
31861
|
-
return {
|
|
31862
|
-
url: toPathString(localVarUrlObj),
|
|
31863
|
-
options: localVarRequestOptions,
|
|
31864
|
-
};
|
|
31865
|
-
},
|
|
31866
|
-
/**
|
|
31867
|
-
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
31868
|
-
* @summary Search
|
|
31869
|
-
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
32312
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
32313
|
+
* @summary Create invite link
|
|
32314
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
31870
32315
|
* @param {*} [options] Override http request option.
|
|
31871
32316
|
* @throws {RequiredError}
|
|
31872
32317
|
*/
|
|
31873
|
-
|
|
31874
|
-
|
|
32318
|
+
inviteLinkControllerCreate: async (
|
|
32319
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
31875
32320
|
options: RawAxiosRequestConfig = {},
|
|
31876
32321
|
): Promise<RequestArgs> => {
|
|
31877
|
-
const localVarPath = `/
|
|
32322
|
+
const localVarPath = `/invite-link`;
|
|
31878
32323
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31879
32324
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31880
32325
|
let baseOptions;
|
|
@@ -31893,155 +32338,28 @@ export const ItemApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
31893
32338
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31894
32339
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31895
32340
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
31896
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
32341
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
32342
|
+
inviteLinkCreateInputDTO,
|
|
32343
|
+
localVarRequestOptions,
|
|
32344
|
+
configuration,
|
|
32345
|
+
);
|
|
31897
32346
|
|
|
31898
32347
|
return {
|
|
31899
32348
|
url: toPathString(localVarUrlObj),
|
|
31900
32349
|
options: localVarRequestOptions,
|
|
31901
32350
|
};
|
|
31902
32351
|
},
|
|
31903
|
-
};
|
|
31904
|
-
};
|
|
31905
|
-
|
|
31906
|
-
/**
|
|
31907
|
-
* ItemApi - functional programming interface
|
|
31908
|
-
* @export
|
|
31909
|
-
*/
|
|
31910
|
-
export const ItemApiFp = function (configuration?: Configuration) {
|
|
31911
|
-
const localVarAxiosParamCreator = ItemApiAxiosParamCreator(configuration);
|
|
31912
|
-
return {
|
|
31913
|
-
/**
|
|
31914
|
-
* Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
|
|
31915
|
-
* @summary Find one
|
|
31916
|
-
* @param {string} id
|
|
31917
|
-
* @param {*} [options] Override http request option.
|
|
31918
|
-
* @throws {RequiredError}
|
|
31919
|
-
*/
|
|
31920
|
-
async itemControllerFindOne(
|
|
31921
|
-
id: string,
|
|
31922
|
-
options?: RawAxiosRequestConfig,
|
|
31923
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ItemOutputDTOAPI>> {
|
|
31924
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerFindOne(id, options);
|
|
31925
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31926
|
-
const localVarOperationServerBasePath =
|
|
31927
|
-
operationServerMap['ItemApi.itemControllerFindOne']?.[localVarOperationServerIndex]?.url;
|
|
31928
|
-
return (axios, basePath) =>
|
|
31929
|
-
createRequestFunction(
|
|
31930
|
-
localVarAxiosArgs,
|
|
31931
|
-
globalAxios,
|
|
31932
|
-
BASE_PATH,
|
|
31933
|
-
configuration,
|
|
31934
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
31935
|
-
},
|
|
31936
|
-
/**
|
|
31937
|
-
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
31938
|
-
* @summary Search
|
|
31939
|
-
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
31940
|
-
* @param {*} [options] Override http request option.
|
|
31941
|
-
* @throws {RequiredError}
|
|
31942
|
-
*/
|
|
31943
|
-
async itemControllerSearch(
|
|
31944
|
-
itemSearchInputDTO?: ItemSearchInputDTO,
|
|
31945
|
-
options?: RawAxiosRequestConfig,
|
|
31946
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ItemOutputArrayDTOAPI>> {
|
|
31947
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerSearch(itemSearchInputDTO, options);
|
|
31948
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31949
|
-
const localVarOperationServerBasePath =
|
|
31950
|
-
operationServerMap['ItemApi.itemControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
31951
|
-
return (axios, basePath) =>
|
|
31952
|
-
createRequestFunction(
|
|
31953
|
-
localVarAxiosArgs,
|
|
31954
|
-
globalAxios,
|
|
31955
|
-
BASE_PATH,
|
|
31956
|
-
configuration,
|
|
31957
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
31958
|
-
},
|
|
31959
|
-
};
|
|
31960
|
-
};
|
|
31961
|
-
|
|
31962
|
-
/**
|
|
31963
|
-
* ItemApi - factory interface
|
|
31964
|
-
* @export
|
|
31965
|
-
*/
|
|
31966
|
-
export const ItemApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
31967
|
-
const localVarFp = ItemApiFp(configuration);
|
|
31968
|
-
return {
|
|
31969
|
-
/**
|
|
31970
|
-
* Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
|
|
31971
|
-
* @summary Find one
|
|
31972
|
-
* @param {string} id
|
|
31973
|
-
* @param {*} [options] Override http request option.
|
|
31974
|
-
* @throws {RequiredError}
|
|
31975
|
-
*/
|
|
31976
|
-
itemControllerFindOne(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ItemOutputDTOAPI> {
|
|
31977
|
-
return localVarFp.itemControllerFindOne(id, options).then((request) => request(axios, basePath));
|
|
31978
|
-
},
|
|
31979
|
-
/**
|
|
31980
|
-
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
31981
|
-
* @summary Search
|
|
31982
|
-
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
31983
|
-
* @param {*} [options] Override http request option.
|
|
31984
|
-
* @throws {RequiredError}
|
|
31985
|
-
*/
|
|
31986
|
-
itemControllerSearch(
|
|
31987
|
-
itemSearchInputDTO?: ItemSearchInputDTO,
|
|
31988
|
-
options?: RawAxiosRequestConfig,
|
|
31989
|
-
): AxiosPromise<ItemOutputArrayDTOAPI> {
|
|
31990
|
-
return localVarFp.itemControllerSearch(itemSearchInputDTO, options).then((request) => request(axios, basePath));
|
|
31991
|
-
},
|
|
31992
|
-
};
|
|
31993
|
-
};
|
|
31994
|
-
|
|
31995
|
-
/**
|
|
31996
|
-
* ItemApi - object-oriented interface
|
|
31997
|
-
* @export
|
|
31998
|
-
* @class ItemApi
|
|
31999
|
-
* @extends {BaseAPI}
|
|
32000
|
-
*/
|
|
32001
|
-
export class ItemApi extends BaseAPI {
|
|
32002
|
-
/**
|
|
32003
|
-
* Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
|
|
32004
|
-
* @summary Find one
|
|
32005
|
-
* @param {string} id
|
|
32006
|
-
* @param {*} [options] Override http request option.
|
|
32007
|
-
* @throws {RequiredError}
|
|
32008
|
-
* @memberof ItemApi
|
|
32009
|
-
*/
|
|
32010
|
-
public itemControllerFindOne(id: string, options?: RawAxiosRequestConfig) {
|
|
32011
|
-
return ItemApiFp(this.configuration)
|
|
32012
|
-
.itemControllerFindOne(id, options)
|
|
32013
|
-
.then((request) => request(this.axios, this.basePath));
|
|
32014
|
-
}
|
|
32015
|
-
|
|
32016
|
-
/**
|
|
32017
|
-
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
32018
|
-
* @summary Search
|
|
32019
|
-
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
32020
|
-
* @param {*} [options] Override http request option.
|
|
32021
|
-
* @throws {RequiredError}
|
|
32022
|
-
* @memberof ItemApi
|
|
32023
|
-
*/
|
|
32024
|
-
public itemControllerSearch(itemSearchInputDTO?: ItemSearchInputDTO, options?: RawAxiosRequestConfig) {
|
|
32025
|
-
return ItemApiFp(this.configuration)
|
|
32026
|
-
.itemControllerSearch(itemSearchInputDTO, options)
|
|
32027
|
-
.then((request) => request(this.axios, this.basePath));
|
|
32028
|
-
}
|
|
32029
|
-
}
|
|
32030
|
-
|
|
32031
|
-
/**
|
|
32032
|
-
* MetaApi - axios parameter creator
|
|
32033
|
-
* @export
|
|
32034
|
-
*/
|
|
32035
|
-
export const MetaApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32036
|
-
return {
|
|
32037
32352
|
/**
|
|
32038
|
-
* <br> OperationId: `
|
|
32039
|
-
* @summary
|
|
32353
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32354
|
+
* @summary Preview
|
|
32355
|
+
* @param {string} token
|
|
32040
32356
|
* @param {*} [options] Override http request option.
|
|
32041
32357
|
* @throws {RequiredError}
|
|
32042
32358
|
*/
|
|
32043
|
-
|
|
32044
|
-
|
|
32359
|
+
inviteLinkControllerPreview: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32360
|
+
// verify required parameter 'token' is not null or undefined
|
|
32361
|
+
assertParamExists('inviteLinkControllerPreview', 'token', token);
|
|
32362
|
+
const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
|
|
32045
32363
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32046
32364
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32047
32365
|
let baseOptions;
|
|
@@ -32053,6 +32371,8 @@ export const MetaApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
32053
32371
|
const localVarHeaderParameter = {} as any;
|
|
32054
32372
|
const localVarQueryParameter = {} as any;
|
|
32055
32373
|
|
|
32374
|
+
// authentication domainAuth required
|
|
32375
|
+
|
|
32056
32376
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32057
32377
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32058
32378
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -32063,13 +32383,17 @@ export const MetaApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
32063
32383
|
};
|
|
32064
32384
|
},
|
|
32065
32385
|
/**
|
|
32066
|
-
* <br> OperationId: `
|
|
32067
|
-
* @summary
|
|
32386
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32387
|
+
* @summary Redeem
|
|
32388
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
32068
32389
|
* @param {*} [options] Override http request option.
|
|
32069
32390
|
* @throws {RequiredError}
|
|
32070
32391
|
*/
|
|
32071
|
-
|
|
32072
|
-
|
|
32392
|
+
inviteLinkControllerRedeem: async (
|
|
32393
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
32394
|
+
options: RawAxiosRequestConfig = {},
|
|
32395
|
+
): Promise<RequestArgs> => {
|
|
32396
|
+
const localVarPath = `/invite-link/redeem`;
|
|
32073
32397
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32074
32398
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32075
32399
|
let baseOptions;
|
|
@@ -32077,13 +32401,18 @@ export const MetaApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
32077
32401
|
baseOptions = configuration.baseOptions;
|
|
32078
32402
|
}
|
|
32079
32403
|
|
|
32080
|
-
const localVarRequestOptions = { method: '
|
|
32404
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
32081
32405
|
const localVarHeaderParameter = {} as any;
|
|
32082
32406
|
const localVarQueryParameter = {} as any;
|
|
32083
32407
|
|
|
32408
|
+
// authentication domainAuth required
|
|
32409
|
+
|
|
32410
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32411
|
+
|
|
32084
32412
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32085
32413
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32086
32414
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32415
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
|
|
32087
32416
|
|
|
32088
32417
|
return {
|
|
32089
32418
|
url: toPathString(localVarUrlObj),
|
|
@@ -32091,13 +32420,16 @@ export const MetaApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
32091
32420
|
};
|
|
32092
32421
|
},
|
|
32093
32422
|
/**
|
|
32094
|
-
*
|
|
32095
|
-
* @summary
|
|
32423
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32424
|
+
* @summary Revoke
|
|
32425
|
+
* @param {string} id
|
|
32096
32426
|
* @param {*} [options] Override http request option.
|
|
32097
32427
|
* @throws {RequiredError}
|
|
32098
32428
|
*/
|
|
32099
|
-
|
|
32100
|
-
|
|
32429
|
+
inviteLinkControllerRevoke: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32430
|
+
// verify required parameter 'id' is not null or undefined
|
|
32431
|
+
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
32432
|
+
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
32101
32433
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32102
32434
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32103
32435
|
let baseOptions;
|
|
@@ -32105,10 +32437,12 @@ export const MetaApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
32105
32437
|
baseOptions = configuration.baseOptions;
|
|
32106
32438
|
}
|
|
32107
32439
|
|
|
32108
|
-
const localVarRequestOptions = { method: '
|
|
32440
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
32109
32441
|
const localVarHeaderParameter = {} as any;
|
|
32110
32442
|
const localVarQueryParameter = {} as any;
|
|
32111
32443
|
|
|
32444
|
+
// authentication domainAuth required
|
|
32445
|
+
|
|
32112
32446
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32113
32447
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32114
32448
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -32119,13 +32453,17 @@ export const MetaApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
32119
32453
|
};
|
|
32120
32454
|
},
|
|
32121
32455
|
/**
|
|
32122
|
-
*
|
|
32123
|
-
* @summary
|
|
32456
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32457
|
+
* @summary Search
|
|
32458
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
32124
32459
|
* @param {*} [options] Override http request option.
|
|
32125
32460
|
* @throws {RequiredError}
|
|
32126
32461
|
*/
|
|
32127
|
-
|
|
32128
|
-
|
|
32462
|
+
inviteLinkControllerSearch: async (
|
|
32463
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
32464
|
+
options: RawAxiosRequestConfig = {},
|
|
32465
|
+
): Promise<RequestArgs> => {
|
|
32466
|
+
const localVarPath = `/invite-link/search`;
|
|
32129
32467
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32130
32468
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32131
32469
|
let baseOptions;
|
|
@@ -32133,28 +32471,678 @@ export const MetaApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
32133
32471
|
baseOptions = configuration.baseOptions;
|
|
32134
32472
|
}
|
|
32135
32473
|
|
|
32136
|
-
const localVarRequestOptions = { method: '
|
|
32474
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
32137
32475
|
const localVarHeaderParameter = {} as any;
|
|
32138
32476
|
const localVarQueryParameter = {} as any;
|
|
32139
32477
|
|
|
32478
|
+
// authentication domainAuth required
|
|
32479
|
+
|
|
32480
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32481
|
+
|
|
32140
32482
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32141
32483
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32142
32484
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32485
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
32486
|
+
inviteLinkSearchInputDTO,
|
|
32487
|
+
localVarRequestOptions,
|
|
32488
|
+
configuration,
|
|
32489
|
+
);
|
|
32143
32490
|
|
|
32144
32491
|
return {
|
|
32145
32492
|
url: toPathString(localVarUrlObj),
|
|
32146
32493
|
options: localVarRequestOptions,
|
|
32147
32494
|
};
|
|
32148
32495
|
},
|
|
32496
|
+
};
|
|
32497
|
+
};
|
|
32498
|
+
|
|
32499
|
+
/**
|
|
32500
|
+
* InviteLinkApi - functional programming interface
|
|
32501
|
+
* @export
|
|
32502
|
+
*/
|
|
32503
|
+
export const InviteLinkApiFp = function (configuration?: Configuration) {
|
|
32504
|
+
const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
|
|
32505
|
+
return {
|
|
32149
32506
|
/**
|
|
32150
|
-
*
|
|
32151
|
-
* @summary
|
|
32507
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
32508
|
+
* @summary Create invite link
|
|
32509
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
32152
32510
|
* @param {*} [options] Override http request option.
|
|
32153
32511
|
* @throws {RequiredError}
|
|
32154
32512
|
*/
|
|
32155
|
-
|
|
32156
|
-
|
|
32157
|
-
|
|
32513
|
+
async inviteLinkControllerCreate(
|
|
32514
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
32515
|
+
options?: RawAxiosRequestConfig,
|
|
32516
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
|
|
32517
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(
|
|
32518
|
+
inviteLinkCreateInputDTO,
|
|
32519
|
+
options,
|
|
32520
|
+
);
|
|
32521
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32522
|
+
const localVarOperationServerBasePath =
|
|
32523
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
32524
|
+
return (axios, basePath) =>
|
|
32525
|
+
createRequestFunction(
|
|
32526
|
+
localVarAxiosArgs,
|
|
32527
|
+
globalAxios,
|
|
32528
|
+
BASE_PATH,
|
|
32529
|
+
configuration,
|
|
32530
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32531
|
+
},
|
|
32532
|
+
/**
|
|
32533
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32534
|
+
* @summary Preview
|
|
32535
|
+
* @param {string} token
|
|
32536
|
+
* @param {*} [options] Override http request option.
|
|
32537
|
+
* @throws {RequiredError}
|
|
32538
|
+
*/
|
|
32539
|
+
async inviteLinkControllerPreview(
|
|
32540
|
+
token: string,
|
|
32541
|
+
options?: RawAxiosRequestConfig,
|
|
32542
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkPreviewDTOAPI>> {
|
|
32543
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
|
|
32544
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32545
|
+
const localVarOperationServerBasePath =
|
|
32546
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
|
|
32547
|
+
return (axios, basePath) =>
|
|
32548
|
+
createRequestFunction(
|
|
32549
|
+
localVarAxiosArgs,
|
|
32550
|
+
globalAxios,
|
|
32551
|
+
BASE_PATH,
|
|
32552
|
+
configuration,
|
|
32553
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32554
|
+
},
|
|
32555
|
+
/**
|
|
32556
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32557
|
+
* @summary Redeem
|
|
32558
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
32559
|
+
* @param {*} [options] Override http request option.
|
|
32560
|
+
* @throws {RequiredError}
|
|
32561
|
+
*/
|
|
32562
|
+
async inviteLinkControllerRedeem(
|
|
32563
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
32564
|
+
options?: RawAxiosRequestConfig,
|
|
32565
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOutputWithRolesDTOAPI>> {
|
|
32566
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
|
|
32567
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32568
|
+
const localVarOperationServerBasePath =
|
|
32569
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
|
|
32570
|
+
return (axios, basePath) =>
|
|
32571
|
+
createRequestFunction(
|
|
32572
|
+
localVarAxiosArgs,
|
|
32573
|
+
globalAxios,
|
|
32574
|
+
BASE_PATH,
|
|
32575
|
+
configuration,
|
|
32576
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32577
|
+
},
|
|
32578
|
+
/**
|
|
32579
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32580
|
+
* @summary Revoke
|
|
32581
|
+
* @param {string} id
|
|
32582
|
+
* @param {*} [options] Override http request option.
|
|
32583
|
+
* @throws {RequiredError}
|
|
32584
|
+
*/
|
|
32585
|
+
async inviteLinkControllerRevoke(
|
|
32586
|
+
id: string,
|
|
32587
|
+
options?: RawAxiosRequestConfig,
|
|
32588
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
32589
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
32590
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32591
|
+
const localVarOperationServerBasePath =
|
|
32592
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
32593
|
+
return (axios, basePath) =>
|
|
32594
|
+
createRequestFunction(
|
|
32595
|
+
localVarAxiosArgs,
|
|
32596
|
+
globalAxios,
|
|
32597
|
+
BASE_PATH,
|
|
32598
|
+
configuration,
|
|
32599
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32600
|
+
},
|
|
32601
|
+
/**
|
|
32602
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32603
|
+
* @summary Search
|
|
32604
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
32605
|
+
* @param {*} [options] Override http request option.
|
|
32606
|
+
* @throws {RequiredError}
|
|
32607
|
+
*/
|
|
32608
|
+
async inviteLinkControllerSearch(
|
|
32609
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
32610
|
+
options?: RawAxiosRequestConfig,
|
|
32611
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkOutputArrayDTOAPI>> {
|
|
32612
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(
|
|
32613
|
+
inviteLinkSearchInputDTO,
|
|
32614
|
+
options,
|
|
32615
|
+
);
|
|
32616
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32617
|
+
const localVarOperationServerBasePath =
|
|
32618
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
32619
|
+
return (axios, basePath) =>
|
|
32620
|
+
createRequestFunction(
|
|
32621
|
+
localVarAxiosArgs,
|
|
32622
|
+
globalAxios,
|
|
32623
|
+
BASE_PATH,
|
|
32624
|
+
configuration,
|
|
32625
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32626
|
+
},
|
|
32627
|
+
};
|
|
32628
|
+
};
|
|
32629
|
+
|
|
32630
|
+
/**
|
|
32631
|
+
* InviteLinkApi - factory interface
|
|
32632
|
+
* @export
|
|
32633
|
+
*/
|
|
32634
|
+
export const InviteLinkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
32635
|
+
const localVarFp = InviteLinkApiFp(configuration);
|
|
32636
|
+
return {
|
|
32637
|
+
/**
|
|
32638
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
32639
|
+
* @summary Create invite link
|
|
32640
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
32641
|
+
* @param {*} [options] Override http request option.
|
|
32642
|
+
* @throws {RequiredError}
|
|
32643
|
+
*/
|
|
32644
|
+
inviteLinkControllerCreate(
|
|
32645
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
32646
|
+
options?: RawAxiosRequestConfig,
|
|
32647
|
+
): AxiosPromise<InviteLinkCreateResultDTOAPI> {
|
|
32648
|
+
return localVarFp
|
|
32649
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
32650
|
+
.then((request) => request(axios, basePath));
|
|
32651
|
+
},
|
|
32652
|
+
/**
|
|
32653
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32654
|
+
* @summary Preview
|
|
32655
|
+
* @param {string} token
|
|
32656
|
+
* @param {*} [options] Override http request option.
|
|
32657
|
+
* @throws {RequiredError}
|
|
32658
|
+
*/
|
|
32659
|
+
inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig): AxiosPromise<InviteLinkPreviewDTOAPI> {
|
|
32660
|
+
return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
|
|
32661
|
+
},
|
|
32662
|
+
/**
|
|
32663
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32664
|
+
* @summary Redeem
|
|
32665
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
32666
|
+
* @param {*} [options] Override http request option.
|
|
32667
|
+
* @throws {RequiredError}
|
|
32668
|
+
*/
|
|
32669
|
+
inviteLinkControllerRedeem(
|
|
32670
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
32671
|
+
options?: RawAxiosRequestConfig,
|
|
32672
|
+
): AxiosPromise<UserOutputWithRolesDTOAPI> {
|
|
32673
|
+
return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
|
|
32674
|
+
},
|
|
32675
|
+
/**
|
|
32676
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32677
|
+
* @summary Revoke
|
|
32678
|
+
* @param {string} id
|
|
32679
|
+
* @param {*} [options] Override http request option.
|
|
32680
|
+
* @throws {RequiredError}
|
|
32681
|
+
*/
|
|
32682
|
+
inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
32683
|
+
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
32684
|
+
},
|
|
32685
|
+
/**
|
|
32686
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32687
|
+
* @summary Search
|
|
32688
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
32689
|
+
* @param {*} [options] Override http request option.
|
|
32690
|
+
* @throws {RequiredError}
|
|
32691
|
+
*/
|
|
32692
|
+
inviteLinkControllerSearch(
|
|
32693
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
32694
|
+
options?: RawAxiosRequestConfig,
|
|
32695
|
+
): AxiosPromise<InviteLinkOutputArrayDTOAPI> {
|
|
32696
|
+
return localVarFp
|
|
32697
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
32698
|
+
.then((request) => request(axios, basePath));
|
|
32699
|
+
},
|
|
32700
|
+
};
|
|
32701
|
+
};
|
|
32702
|
+
|
|
32703
|
+
/**
|
|
32704
|
+
* InviteLinkApi - object-oriented interface
|
|
32705
|
+
* @export
|
|
32706
|
+
* @class InviteLinkApi
|
|
32707
|
+
* @extends {BaseAPI}
|
|
32708
|
+
*/
|
|
32709
|
+
export class InviteLinkApi extends BaseAPI {
|
|
32710
|
+
/**
|
|
32711
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
32712
|
+
* @summary Create invite link
|
|
32713
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
32714
|
+
* @param {*} [options] Override http request option.
|
|
32715
|
+
* @throws {RequiredError}
|
|
32716
|
+
* @memberof InviteLinkApi
|
|
32717
|
+
*/
|
|
32718
|
+
public inviteLinkControllerCreate(
|
|
32719
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
32720
|
+
options?: RawAxiosRequestConfig,
|
|
32721
|
+
) {
|
|
32722
|
+
return InviteLinkApiFp(this.configuration)
|
|
32723
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
32724
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32725
|
+
}
|
|
32726
|
+
|
|
32727
|
+
/**
|
|
32728
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32729
|
+
* @summary Preview
|
|
32730
|
+
* @param {string} token
|
|
32731
|
+
* @param {*} [options] Override http request option.
|
|
32732
|
+
* @throws {RequiredError}
|
|
32733
|
+
* @memberof InviteLinkApi
|
|
32734
|
+
*/
|
|
32735
|
+
public inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig) {
|
|
32736
|
+
return InviteLinkApiFp(this.configuration)
|
|
32737
|
+
.inviteLinkControllerPreview(token, options)
|
|
32738
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32739
|
+
}
|
|
32740
|
+
|
|
32741
|
+
/**
|
|
32742
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32743
|
+
* @summary Redeem
|
|
32744
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
32745
|
+
* @param {*} [options] Override http request option.
|
|
32746
|
+
* @throws {RequiredError}
|
|
32747
|
+
* @memberof InviteLinkApi
|
|
32748
|
+
*/
|
|
32749
|
+
public inviteLinkControllerRedeem(redeemInputDTO?: RedeemInputDTO, options?: RawAxiosRequestConfig) {
|
|
32750
|
+
return InviteLinkApiFp(this.configuration)
|
|
32751
|
+
.inviteLinkControllerRedeem(redeemInputDTO, options)
|
|
32752
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32753
|
+
}
|
|
32754
|
+
|
|
32755
|
+
/**
|
|
32756
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32757
|
+
* @summary Revoke
|
|
32758
|
+
* @param {string} id
|
|
32759
|
+
* @param {*} [options] Override http request option.
|
|
32760
|
+
* @throws {RequiredError}
|
|
32761
|
+
* @memberof InviteLinkApi
|
|
32762
|
+
*/
|
|
32763
|
+
public inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig) {
|
|
32764
|
+
return InviteLinkApiFp(this.configuration)
|
|
32765
|
+
.inviteLinkControllerRevoke(id, options)
|
|
32766
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32767
|
+
}
|
|
32768
|
+
|
|
32769
|
+
/**
|
|
32770
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32771
|
+
* @summary Search
|
|
32772
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
32773
|
+
* @param {*} [options] Override http request option.
|
|
32774
|
+
* @throws {RequiredError}
|
|
32775
|
+
* @memberof InviteLinkApi
|
|
32776
|
+
*/
|
|
32777
|
+
public inviteLinkControllerSearch(
|
|
32778
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
32779
|
+
options?: RawAxiosRequestConfig,
|
|
32780
|
+
) {
|
|
32781
|
+
return InviteLinkApiFp(this.configuration)
|
|
32782
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
32783
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32784
|
+
}
|
|
32785
|
+
}
|
|
32786
|
+
|
|
32787
|
+
/**
|
|
32788
|
+
* ItemApi - axios parameter creator
|
|
32789
|
+
* @export
|
|
32790
|
+
*/
|
|
32791
|
+
export const ItemApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32792
|
+
return {
|
|
32793
|
+
/**
|
|
32794
|
+
* Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
|
|
32795
|
+
* @summary Find one
|
|
32796
|
+
* @param {string} id
|
|
32797
|
+
* @param {*} [options] Override http request option.
|
|
32798
|
+
* @throws {RequiredError}
|
|
32799
|
+
*/
|
|
32800
|
+
itemControllerFindOne: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32801
|
+
// verify required parameter 'id' is not null or undefined
|
|
32802
|
+
assertParamExists('itemControllerFindOne', 'id', id);
|
|
32803
|
+
const localVarPath = `/items/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
32804
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32805
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32806
|
+
let baseOptions;
|
|
32807
|
+
if (configuration) {
|
|
32808
|
+
baseOptions = configuration.baseOptions;
|
|
32809
|
+
}
|
|
32810
|
+
|
|
32811
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
32812
|
+
const localVarHeaderParameter = {} as any;
|
|
32813
|
+
const localVarQueryParameter = {} as any;
|
|
32814
|
+
|
|
32815
|
+
// authentication domainAuth required
|
|
32816
|
+
|
|
32817
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32818
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32819
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32820
|
+
|
|
32821
|
+
return {
|
|
32822
|
+
url: toPathString(localVarUrlObj),
|
|
32823
|
+
options: localVarRequestOptions,
|
|
32824
|
+
};
|
|
32825
|
+
},
|
|
32826
|
+
/**
|
|
32827
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
32828
|
+
* @summary Search
|
|
32829
|
+
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
32830
|
+
* @param {*} [options] Override http request option.
|
|
32831
|
+
* @throws {RequiredError}
|
|
32832
|
+
*/
|
|
32833
|
+
itemControllerSearch: async (
|
|
32834
|
+
itemSearchInputDTO?: ItemSearchInputDTO,
|
|
32835
|
+
options: RawAxiosRequestConfig = {},
|
|
32836
|
+
): Promise<RequestArgs> => {
|
|
32837
|
+
const localVarPath = `/items/search`;
|
|
32838
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32839
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32840
|
+
let baseOptions;
|
|
32841
|
+
if (configuration) {
|
|
32842
|
+
baseOptions = configuration.baseOptions;
|
|
32843
|
+
}
|
|
32844
|
+
|
|
32845
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
32846
|
+
const localVarHeaderParameter = {} as any;
|
|
32847
|
+
const localVarQueryParameter = {} as any;
|
|
32848
|
+
|
|
32849
|
+
// authentication domainAuth required
|
|
32850
|
+
|
|
32851
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32852
|
+
|
|
32853
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32854
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32855
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32856
|
+
localVarRequestOptions.data = serializeDataIfNeeded(itemSearchInputDTO, localVarRequestOptions, configuration);
|
|
32857
|
+
|
|
32858
|
+
return {
|
|
32859
|
+
url: toPathString(localVarUrlObj),
|
|
32860
|
+
options: localVarRequestOptions,
|
|
32861
|
+
};
|
|
32862
|
+
},
|
|
32863
|
+
};
|
|
32864
|
+
};
|
|
32865
|
+
|
|
32866
|
+
/**
|
|
32867
|
+
* ItemApi - functional programming interface
|
|
32868
|
+
* @export
|
|
32869
|
+
*/
|
|
32870
|
+
export const ItemApiFp = function (configuration?: Configuration) {
|
|
32871
|
+
const localVarAxiosParamCreator = ItemApiAxiosParamCreator(configuration);
|
|
32872
|
+
return {
|
|
32873
|
+
/**
|
|
32874
|
+
* Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
|
|
32875
|
+
* @summary Find one
|
|
32876
|
+
* @param {string} id
|
|
32877
|
+
* @param {*} [options] Override http request option.
|
|
32878
|
+
* @throws {RequiredError}
|
|
32879
|
+
*/
|
|
32880
|
+
async itemControllerFindOne(
|
|
32881
|
+
id: string,
|
|
32882
|
+
options?: RawAxiosRequestConfig,
|
|
32883
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ItemOutputDTOAPI>> {
|
|
32884
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerFindOne(id, options);
|
|
32885
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32886
|
+
const localVarOperationServerBasePath =
|
|
32887
|
+
operationServerMap['ItemApi.itemControllerFindOne']?.[localVarOperationServerIndex]?.url;
|
|
32888
|
+
return (axios, basePath) =>
|
|
32889
|
+
createRequestFunction(
|
|
32890
|
+
localVarAxiosArgs,
|
|
32891
|
+
globalAxios,
|
|
32892
|
+
BASE_PATH,
|
|
32893
|
+
configuration,
|
|
32894
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32895
|
+
},
|
|
32896
|
+
/**
|
|
32897
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
32898
|
+
* @summary Search
|
|
32899
|
+
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
32900
|
+
* @param {*} [options] Override http request option.
|
|
32901
|
+
* @throws {RequiredError}
|
|
32902
|
+
*/
|
|
32903
|
+
async itemControllerSearch(
|
|
32904
|
+
itemSearchInputDTO?: ItemSearchInputDTO,
|
|
32905
|
+
options?: RawAxiosRequestConfig,
|
|
32906
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ItemOutputArrayDTOAPI>> {
|
|
32907
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerSearch(itemSearchInputDTO, options);
|
|
32908
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32909
|
+
const localVarOperationServerBasePath =
|
|
32910
|
+
operationServerMap['ItemApi.itemControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
32911
|
+
return (axios, basePath) =>
|
|
32912
|
+
createRequestFunction(
|
|
32913
|
+
localVarAxiosArgs,
|
|
32914
|
+
globalAxios,
|
|
32915
|
+
BASE_PATH,
|
|
32916
|
+
configuration,
|
|
32917
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32918
|
+
},
|
|
32919
|
+
};
|
|
32920
|
+
};
|
|
32921
|
+
|
|
32922
|
+
/**
|
|
32923
|
+
* ItemApi - factory interface
|
|
32924
|
+
* @export
|
|
32925
|
+
*/
|
|
32926
|
+
export const ItemApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
32927
|
+
const localVarFp = ItemApiFp(configuration);
|
|
32928
|
+
return {
|
|
32929
|
+
/**
|
|
32930
|
+
* Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
|
|
32931
|
+
* @summary Find one
|
|
32932
|
+
* @param {string} id
|
|
32933
|
+
* @param {*} [options] Override http request option.
|
|
32934
|
+
* @throws {RequiredError}
|
|
32935
|
+
*/
|
|
32936
|
+
itemControllerFindOne(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ItemOutputDTOAPI> {
|
|
32937
|
+
return localVarFp.itemControllerFindOne(id, options).then((request) => request(axios, basePath));
|
|
32938
|
+
},
|
|
32939
|
+
/**
|
|
32940
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
32941
|
+
* @summary Search
|
|
32942
|
+
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
32943
|
+
* @param {*} [options] Override http request option.
|
|
32944
|
+
* @throws {RequiredError}
|
|
32945
|
+
*/
|
|
32946
|
+
itemControllerSearch(
|
|
32947
|
+
itemSearchInputDTO?: ItemSearchInputDTO,
|
|
32948
|
+
options?: RawAxiosRequestConfig,
|
|
32949
|
+
): AxiosPromise<ItemOutputArrayDTOAPI> {
|
|
32950
|
+
return localVarFp.itemControllerSearch(itemSearchInputDTO, options).then((request) => request(axios, basePath));
|
|
32951
|
+
},
|
|
32952
|
+
};
|
|
32953
|
+
};
|
|
32954
|
+
|
|
32955
|
+
/**
|
|
32956
|
+
* ItemApi - object-oriented interface
|
|
32957
|
+
* @export
|
|
32958
|
+
* @class ItemApi
|
|
32959
|
+
* @extends {BaseAPI}
|
|
32960
|
+
*/
|
|
32961
|
+
export class ItemApi extends BaseAPI {
|
|
32962
|
+
/**
|
|
32963
|
+
* Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
|
|
32964
|
+
* @summary Find one
|
|
32965
|
+
* @param {string} id
|
|
32966
|
+
* @param {*} [options] Override http request option.
|
|
32967
|
+
* @throws {RequiredError}
|
|
32968
|
+
* @memberof ItemApi
|
|
32969
|
+
*/
|
|
32970
|
+
public itemControllerFindOne(id: string, options?: RawAxiosRequestConfig) {
|
|
32971
|
+
return ItemApiFp(this.configuration)
|
|
32972
|
+
.itemControllerFindOne(id, options)
|
|
32973
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32974
|
+
}
|
|
32975
|
+
|
|
32976
|
+
/**
|
|
32977
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
32978
|
+
* @summary Search
|
|
32979
|
+
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
32980
|
+
* @param {*} [options] Override http request option.
|
|
32981
|
+
* @throws {RequiredError}
|
|
32982
|
+
* @memberof ItemApi
|
|
32983
|
+
*/
|
|
32984
|
+
public itemControllerSearch(itemSearchInputDTO?: ItemSearchInputDTO, options?: RawAxiosRequestConfig) {
|
|
32985
|
+
return ItemApiFp(this.configuration)
|
|
32986
|
+
.itemControllerSearch(itemSearchInputDTO, options)
|
|
32987
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32988
|
+
}
|
|
32989
|
+
}
|
|
32990
|
+
|
|
32991
|
+
/**
|
|
32992
|
+
* MetaApi - axios parameter creator
|
|
32993
|
+
* @export
|
|
32994
|
+
*/
|
|
32995
|
+
export const MetaApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32996
|
+
return {
|
|
32997
|
+
/**
|
|
32998
|
+
* <br> OperationId: `MetaGetHealth`
|
|
32999
|
+
* @summary Get health
|
|
33000
|
+
* @param {*} [options] Override http request option.
|
|
33001
|
+
* @throws {RequiredError}
|
|
33002
|
+
*/
|
|
33003
|
+
metaGetHealth: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33004
|
+
const localVarPath = `/healthz`;
|
|
33005
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33006
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33007
|
+
let baseOptions;
|
|
33008
|
+
if (configuration) {
|
|
33009
|
+
baseOptions = configuration.baseOptions;
|
|
33010
|
+
}
|
|
33011
|
+
|
|
33012
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
33013
|
+
const localVarHeaderParameter = {} as any;
|
|
33014
|
+
const localVarQueryParameter = {} as any;
|
|
33015
|
+
|
|
33016
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33017
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33018
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
33019
|
+
|
|
33020
|
+
return {
|
|
33021
|
+
url: toPathString(localVarUrlObj),
|
|
33022
|
+
options: localVarRequestOptions,
|
|
33023
|
+
};
|
|
33024
|
+
},
|
|
33025
|
+
/**
|
|
33026
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
33027
|
+
* @summary Get liveness
|
|
33028
|
+
* @param {*} [options] Override http request option.
|
|
33029
|
+
* @throws {RequiredError}
|
|
33030
|
+
*/
|
|
33031
|
+
metaGetLiveness: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33032
|
+
const localVarPath = `/livez`;
|
|
33033
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33034
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33035
|
+
let baseOptions;
|
|
33036
|
+
if (configuration) {
|
|
33037
|
+
baseOptions = configuration.baseOptions;
|
|
33038
|
+
}
|
|
33039
|
+
|
|
33040
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
33041
|
+
const localVarHeaderParameter = {} as any;
|
|
33042
|
+
const localVarQueryParameter = {} as any;
|
|
33043
|
+
|
|
33044
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33045
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33046
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
33047
|
+
|
|
33048
|
+
return {
|
|
33049
|
+
url: toPathString(localVarUrlObj),
|
|
33050
|
+
options: localVarRequestOptions,
|
|
33051
|
+
};
|
|
33052
|
+
},
|
|
33053
|
+
/**
|
|
33054
|
+
* <br> OperationId: `MetaGetMetrics`
|
|
33055
|
+
* @summary Get metrics
|
|
33056
|
+
* @param {*} [options] Override http request option.
|
|
33057
|
+
* @throws {RequiredError}
|
|
33058
|
+
*/
|
|
33059
|
+
metaGetMetrics: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33060
|
+
const localVarPath = `/metrics`;
|
|
33061
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33062
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33063
|
+
let baseOptions;
|
|
33064
|
+
if (configuration) {
|
|
33065
|
+
baseOptions = configuration.baseOptions;
|
|
33066
|
+
}
|
|
33067
|
+
|
|
33068
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
33069
|
+
const localVarHeaderParameter = {} as any;
|
|
33070
|
+
const localVarQueryParameter = {} as any;
|
|
33071
|
+
|
|
33072
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33073
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33074
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
33075
|
+
|
|
33076
|
+
return {
|
|
33077
|
+
url: toPathString(localVarUrlObj),
|
|
33078
|
+
options: localVarRequestOptions,
|
|
33079
|
+
};
|
|
33080
|
+
},
|
|
33081
|
+
/**
|
|
33082
|
+
* <br> OperationId: `MetaGetOpenApi`
|
|
33083
|
+
* @summary Get open api
|
|
33084
|
+
* @param {*} [options] Override http request option.
|
|
33085
|
+
* @throws {RequiredError}
|
|
33086
|
+
*/
|
|
33087
|
+
metaGetOpenApi: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33088
|
+
const localVarPath = `/openapi.json`;
|
|
33089
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33090
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33091
|
+
let baseOptions;
|
|
33092
|
+
if (configuration) {
|
|
33093
|
+
baseOptions = configuration.baseOptions;
|
|
33094
|
+
}
|
|
33095
|
+
|
|
33096
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
33097
|
+
const localVarHeaderParameter = {} as any;
|
|
33098
|
+
const localVarQueryParameter = {} as any;
|
|
33099
|
+
|
|
33100
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33101
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33102
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
33103
|
+
|
|
33104
|
+
return {
|
|
33105
|
+
url: toPathString(localVarUrlObj),
|
|
33106
|
+
options: localVarRequestOptions,
|
|
33107
|
+
};
|
|
33108
|
+
},
|
|
33109
|
+
/**
|
|
33110
|
+
* <br> OperationId: `MetaGetOpenApiHtml`
|
|
33111
|
+
* @summary Get open api html
|
|
33112
|
+
* @param {*} [options] Override http request option.
|
|
33113
|
+
* @throws {RequiredError}
|
|
33114
|
+
*/
|
|
33115
|
+
metaGetOpenApiHtml: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33116
|
+
const localVarPath = `/api.html`;
|
|
33117
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33118
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33119
|
+
let baseOptions;
|
|
33120
|
+
if (configuration) {
|
|
33121
|
+
baseOptions = configuration.baseOptions;
|
|
33122
|
+
}
|
|
33123
|
+
|
|
33124
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
33125
|
+
const localVarHeaderParameter = {} as any;
|
|
33126
|
+
const localVarQueryParameter = {} as any;
|
|
33127
|
+
|
|
33128
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33129
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33130
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
33131
|
+
|
|
33132
|
+
return {
|
|
33133
|
+
url: toPathString(localVarUrlObj),
|
|
33134
|
+
options: localVarRequestOptions,
|
|
33135
|
+
};
|
|
33136
|
+
},
|
|
33137
|
+
/**
|
|
33138
|
+
* <br> OperationId: `MetaGetReadiness`
|
|
33139
|
+
* @summary Get readiness
|
|
33140
|
+
* @param {*} [options] Override http request option.
|
|
33141
|
+
* @throws {RequiredError}
|
|
33142
|
+
*/
|
|
33143
|
+
metaGetReadiness: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33144
|
+
const localVarPath = `/readyz`;
|
|
33145
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32158
33146
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32159
33147
|
let baseOptions;
|
|
32160
33148
|
if (configuration) {
|
|
@@ -32233,6 +33221,27 @@ export const MetaApiFp = function (configuration?: Configuration) {
|
|
|
32233
33221
|
configuration,
|
|
32234
33222
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
32235
33223
|
},
|
|
33224
|
+
/**
|
|
33225
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
33226
|
+
* @summary Get liveness
|
|
33227
|
+
* @param {*} [options] Override http request option.
|
|
33228
|
+
* @throws {RequiredError}
|
|
33229
|
+
*/
|
|
33230
|
+
async metaGetLiveness(
|
|
33231
|
+
options?: RawAxiosRequestConfig,
|
|
33232
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HealthOutputDTO>> {
|
|
33233
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetLiveness(options);
|
|
33234
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
33235
|
+
const localVarOperationServerBasePath =
|
|
33236
|
+
operationServerMap['MetaApi.metaGetLiveness']?.[localVarOperationServerIndex]?.url;
|
|
33237
|
+
return (axios, basePath) =>
|
|
33238
|
+
createRequestFunction(
|
|
33239
|
+
localVarAxiosArgs,
|
|
33240
|
+
globalAxios,
|
|
33241
|
+
BASE_PATH,
|
|
33242
|
+
configuration,
|
|
33243
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
33244
|
+
},
|
|
32236
33245
|
/**
|
|
32237
33246
|
* <br> OperationId: `MetaGetMetrics`
|
|
32238
33247
|
* @summary Get metrics
|
|
@@ -32357,6 +33366,15 @@ export const MetaApiFactory = function (configuration?: Configuration, basePath?
|
|
|
32357
33366
|
metaGetHealth(options?: RawAxiosRequestConfig): AxiosPromise<HealthOutputDTO> {
|
|
32358
33367
|
return localVarFp.metaGetHealth(options).then((request) => request(axios, basePath));
|
|
32359
33368
|
},
|
|
33369
|
+
/**
|
|
33370
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
33371
|
+
* @summary Get liveness
|
|
33372
|
+
* @param {*} [options] Override http request option.
|
|
33373
|
+
* @throws {RequiredError}
|
|
33374
|
+
*/
|
|
33375
|
+
metaGetLiveness(options?: RawAxiosRequestConfig): AxiosPromise<HealthOutputDTO> {
|
|
33376
|
+
return localVarFp.metaGetLiveness(options).then((request) => request(axios, basePath));
|
|
33377
|
+
},
|
|
32360
33378
|
/**
|
|
32361
33379
|
* <br> OperationId: `MetaGetMetrics`
|
|
32362
33380
|
* @summary Get metrics
|
|
@@ -32425,6 +33443,19 @@ export class MetaApi extends BaseAPI {
|
|
|
32425
33443
|
.then((request) => request(this.axios, this.basePath));
|
|
32426
33444
|
}
|
|
32427
33445
|
|
|
33446
|
+
/**
|
|
33447
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
33448
|
+
* @summary Get liveness
|
|
33449
|
+
* @param {*} [options] Override http request option.
|
|
33450
|
+
* @throws {RequiredError}
|
|
33451
|
+
* @memberof MetaApi
|
|
33452
|
+
*/
|
|
33453
|
+
public metaGetLiveness(options?: RawAxiosRequestConfig) {
|
|
33454
|
+
return MetaApiFp(this.configuration)
|
|
33455
|
+
.metaGetLiveness(options)
|
|
33456
|
+
.then((request) => request(this.axios, this.basePath));
|
|
33457
|
+
}
|
|
33458
|
+
|
|
32428
33459
|
/**
|
|
32429
33460
|
* <br> OperationId: `MetaGetMetrics`
|
|
32430
33461
|
* @summary Get metrics
|
|
@@ -34090,7 +35121,7 @@ export const PlayerApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
34090
35121
|
};
|
|
34091
35122
|
},
|
|
34092
35123
|
/**
|
|
34093
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
35124
|
+
* Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
34094
35125
|
* @summary Bulk assign role
|
|
34095
35126
|
* @param {string} roleId
|
|
34096
35127
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -34135,7 +35166,7 @@ export const PlayerApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
34135
35166
|
};
|
|
34136
35167
|
},
|
|
34137
35168
|
/**
|
|
34138
|
-
* Bulk delete players by
|
|
35169
|
+
* Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
34139
35170
|
* @summary Bulk delete
|
|
34140
35171
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
34141
35172
|
* @param {*} [options] Override http request option.
|
|
@@ -34519,7 +35550,7 @@ export const PlayerApiFp = function (configuration?: Configuration) {
|
|
|
34519
35550
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
34520
35551
|
},
|
|
34521
35552
|
/**
|
|
34522
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
35553
|
+
* Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
34523
35554
|
* @summary Bulk assign role
|
|
34524
35555
|
* @param {string} roleId
|
|
34525
35556
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -34548,7 +35579,7 @@ export const PlayerApiFp = function (configuration?: Configuration) {
|
|
|
34548
35579
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
34549
35580
|
},
|
|
34550
35581
|
/**
|
|
34551
|
-
* Bulk delete players by
|
|
35582
|
+
* Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
34552
35583
|
* @summary Bulk delete
|
|
34553
35584
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
34554
35585
|
* @param {*} [options] Override http request option.
|
|
@@ -34783,7 +35814,7 @@ export const PlayerApiFactory = function (configuration?: Configuration, basePat
|
|
|
34783
35814
|
.then((request) => request(axios, basePath));
|
|
34784
35815
|
},
|
|
34785
35816
|
/**
|
|
34786
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
35817
|
+
* Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
34787
35818
|
* @summary Bulk assign role
|
|
34788
35819
|
* @param {string} roleId
|
|
34789
35820
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -34800,7 +35831,7 @@ export const PlayerApiFactory = function (configuration?: Configuration, basePat
|
|
|
34800
35831
|
.then((request) => request(axios, basePath));
|
|
34801
35832
|
},
|
|
34802
35833
|
/**
|
|
34803
|
-
* Bulk delete players by
|
|
35834
|
+
* Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
34804
35835
|
* @summary Bulk delete
|
|
34805
35836
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
34806
35837
|
* @param {*} [options] Override http request option.
|
|
@@ -34980,7 +36011,7 @@ export class PlayerApi extends BaseAPI {
|
|
|
34980
36011
|
}
|
|
34981
36012
|
|
|
34982
36013
|
/**
|
|
34983
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
36014
|
+
* Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
34984
36015
|
* @summary Bulk assign role
|
|
34985
36016
|
* @param {string} roleId
|
|
34986
36017
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -34999,7 +36030,7 @@ export class PlayerApi extends BaseAPI {
|
|
|
34999
36030
|
}
|
|
35000
36031
|
|
|
35001
36032
|
/**
|
|
35002
|
-
* Bulk delete players by
|
|
36033
|
+
* Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
35003
36034
|
* @summary Bulk delete
|
|
35004
36035
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
35005
36036
|
* @param {*} [options] Override http request option.
|
|
@@ -35150,7 +36181,7 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration?:
|
|
|
35150
36181
|
};
|
|
35151
36182
|
},
|
|
35152
36183
|
/**
|
|
35153
|
-
* Bulk add currency to
|
|
36184
|
+
* Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
35154
36185
|
* @summary Bulk add currency
|
|
35155
36186
|
* @param {string} gameServerId
|
|
35156
36187
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -35569,7 +36600,7 @@ export const PlayerOnGameServerApiFp = function (configuration?: Configuration)
|
|
|
35569
36600
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
35570
36601
|
},
|
|
35571
36602
|
/**
|
|
35572
|
-
* Bulk add currency to
|
|
36603
|
+
* Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
35573
36604
|
* @summary Bulk add currency
|
|
35574
36605
|
* @param {string} gameServerId
|
|
35575
36606
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -35856,7 +36887,7 @@ export const PlayerOnGameServerApiFactory = function (
|
|
|
35856
36887
|
.then((request) => request(axios, basePath));
|
|
35857
36888
|
},
|
|
35858
36889
|
/**
|
|
35859
|
-
* Bulk add currency to
|
|
36890
|
+
* Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
35860
36891
|
* @summary Bulk add currency
|
|
35861
36892
|
* @param {string} gameServerId
|
|
35862
36893
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -36040,7 +37071,7 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
36040
37071
|
}
|
|
36041
37072
|
|
|
36042
37073
|
/**
|
|
36043
|
-
* Bulk add currency to
|
|
37074
|
+
* Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
36044
37075
|
* @summary Bulk add currency
|
|
36045
37076
|
* @param {string} gameServerId
|
|
36046
37077
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -38380,7 +39411,7 @@ export class ShopActionApi extends BaseAPI {
|
|
|
38380
39411
|
export const ShopCategoryApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
38381
39412
|
return {
|
|
38382
39413
|
/**
|
|
38383
|
-
* Bulk assign categories to
|
|
39414
|
+
* Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
|
|
38384
39415
|
* @summary Bulk assign
|
|
38385
39416
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
38386
39417
|
* @param {*} [options] Override http request option.
|
|
@@ -38704,7 +39735,7 @@ export const ShopCategoryApiFp = function (configuration?: Configuration) {
|
|
|
38704
39735
|
const localVarAxiosParamCreator = ShopCategoryApiAxiosParamCreator(configuration);
|
|
38705
39736
|
return {
|
|
38706
39737
|
/**
|
|
38707
|
-
* Bulk assign categories to
|
|
39738
|
+
* Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
|
|
38708
39739
|
* @summary Bulk assign
|
|
38709
39740
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
38710
39741
|
* @param {*} [options] Override http request option.
|
|
@@ -38925,7 +39956,7 @@ export const ShopCategoryApiFactory = function (
|
|
|
38925
39956
|
const localVarFp = ShopCategoryApiFp(configuration);
|
|
38926
39957
|
return {
|
|
38927
39958
|
/**
|
|
38928
|
-
* Bulk assign categories to
|
|
39959
|
+
* Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
|
|
38929
39960
|
* @summary Bulk assign
|
|
38930
39961
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
38931
39962
|
* @param {*} [options] Override http request option.
|
|
@@ -39054,7 +40085,7 @@ export const ShopCategoryApiFactory = function (
|
|
|
39054
40085
|
*/
|
|
39055
40086
|
export class ShopCategoryApi extends BaseAPI {
|
|
39056
40087
|
/**
|
|
39057
|
-
* Bulk assign categories to
|
|
40088
|
+
* Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
|
|
39058
40089
|
* @summary Bulk assign
|
|
39059
40090
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
39060
40091
|
* @param {*} [options] Override http request option.
|
|
@@ -39189,6 +40220,47 @@ export class ShopCategoryApi extends BaseAPI {
|
|
|
39189
40220
|
*/
|
|
39190
40221
|
export const ShopListingApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
39191
40222
|
return {
|
|
40223
|
+
/**
|
|
40224
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
40225
|
+
* @summary Bulk
|
|
40226
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
40227
|
+
* @param {*} [options] Override http request option.
|
|
40228
|
+
* @throws {RequiredError}
|
|
40229
|
+
*/
|
|
40230
|
+
shopListingControllerBulk: async (
|
|
40231
|
+
shopListingBulkInputDTO?: ShopListingBulkInputDTO,
|
|
40232
|
+
options: RawAxiosRequestConfig = {},
|
|
40233
|
+
): Promise<RequestArgs> => {
|
|
40234
|
+
const localVarPath = `/shop/listing/bulk`;
|
|
40235
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40236
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40237
|
+
let baseOptions;
|
|
40238
|
+
if (configuration) {
|
|
40239
|
+
baseOptions = configuration.baseOptions;
|
|
40240
|
+
}
|
|
40241
|
+
|
|
40242
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
40243
|
+
const localVarHeaderParameter = {} as any;
|
|
40244
|
+
const localVarQueryParameter = {} as any;
|
|
40245
|
+
|
|
40246
|
+
// authentication domainAuth required
|
|
40247
|
+
|
|
40248
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
40249
|
+
|
|
40250
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40251
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40252
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
40253
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
40254
|
+
shopListingBulkInputDTO,
|
|
40255
|
+
localVarRequestOptions,
|
|
40256
|
+
configuration,
|
|
40257
|
+
);
|
|
40258
|
+
|
|
40259
|
+
return {
|
|
40260
|
+
url: toPathString(localVarUrlObj),
|
|
40261
|
+
options: localVarRequestOptions,
|
|
40262
|
+
};
|
|
40263
|
+
},
|
|
39192
40264
|
/**
|
|
39193
40265
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
39194
40266
|
* @summary Create
|
|
@@ -39414,6 +40486,32 @@ export const ShopListingApiAxiosParamCreator = function (configuration?: Configu
|
|
|
39414
40486
|
export const ShopListingApiFp = function (configuration?: Configuration) {
|
|
39415
40487
|
const localVarAxiosParamCreator = ShopListingApiAxiosParamCreator(configuration);
|
|
39416
40488
|
return {
|
|
40489
|
+
/**
|
|
40490
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
40491
|
+
* @summary Bulk
|
|
40492
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
40493
|
+
* @param {*} [options] Override http request option.
|
|
40494
|
+
* @throws {RequiredError}
|
|
40495
|
+
*/
|
|
40496
|
+
async shopListingControllerBulk(
|
|
40497
|
+
shopListingBulkInputDTO?: ShopListingBulkInputDTO,
|
|
40498
|
+
options?: RawAxiosRequestConfig,
|
|
40499
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkActionResultDTOAPI>> {
|
|
40500
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerBulk(
|
|
40501
|
+
shopListingBulkInputDTO,
|
|
40502
|
+
options,
|
|
40503
|
+
);
|
|
40504
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40505
|
+
const localVarOperationServerBasePath =
|
|
40506
|
+
operationServerMap['ShopListingApi.shopListingControllerBulk']?.[localVarOperationServerIndex]?.url;
|
|
40507
|
+
return (axios, basePath) =>
|
|
40508
|
+
createRequestFunction(
|
|
40509
|
+
localVarAxiosArgs,
|
|
40510
|
+
globalAxios,
|
|
40511
|
+
BASE_PATH,
|
|
40512
|
+
configuration,
|
|
40513
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40514
|
+
},
|
|
39417
40515
|
/**
|
|
39418
40516
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
39419
40517
|
* @summary Create
|
|
@@ -39576,6 +40674,21 @@ export const ShopListingApiFactory = function (
|
|
|
39576
40674
|
) {
|
|
39577
40675
|
const localVarFp = ShopListingApiFp(configuration);
|
|
39578
40676
|
return {
|
|
40677
|
+
/**
|
|
40678
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
40679
|
+
* @summary Bulk
|
|
40680
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
40681
|
+
* @param {*} [options] Override http request option.
|
|
40682
|
+
* @throws {RequiredError}
|
|
40683
|
+
*/
|
|
40684
|
+
shopListingControllerBulk(
|
|
40685
|
+
shopListingBulkInputDTO?: ShopListingBulkInputDTO,
|
|
40686
|
+
options?: RawAxiosRequestConfig,
|
|
40687
|
+
): AxiosPromise<BulkActionResultDTOAPI> {
|
|
40688
|
+
return localVarFp
|
|
40689
|
+
.shopListingControllerBulk(shopListingBulkInputDTO, options)
|
|
40690
|
+
.then((request) => request(axios, basePath));
|
|
40691
|
+
},
|
|
39579
40692
|
/**
|
|
39580
40693
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
39581
40694
|
* @summary Create
|
|
@@ -39662,6 +40775,20 @@ export const ShopListingApiFactory = function (
|
|
|
39662
40775
|
* @extends {BaseAPI}
|
|
39663
40776
|
*/
|
|
39664
40777
|
export class ShopListingApi extends BaseAPI {
|
|
40778
|
+
/**
|
|
40779
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
40780
|
+
* @summary Bulk
|
|
40781
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
40782
|
+
* @param {*} [options] Override http request option.
|
|
40783
|
+
* @throws {RequiredError}
|
|
40784
|
+
* @memberof ShopListingApi
|
|
40785
|
+
*/
|
|
40786
|
+
public shopListingControllerBulk(shopListingBulkInputDTO?: ShopListingBulkInputDTO, options?: RawAxiosRequestConfig) {
|
|
40787
|
+
return ShopListingApiFp(this.configuration)
|
|
40788
|
+
.shopListingControllerBulk(shopListingBulkInputDTO, options)
|
|
40789
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40790
|
+
}
|
|
40791
|
+
|
|
39665
40792
|
/**
|
|
39666
40793
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
39667
40794
|
* @summary Create
|
|
@@ -41135,6 +42262,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
41135
42262
|
*/
|
|
41136
42263
|
userControllerCountBillableDashboardUsers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41137
42264
|
const localVarPath = `/user/count`;
|
|
42265
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41138
42266
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41139
42267
|
let baseOptions;
|
|
41140
42268
|
if (configuration) {
|
|
@@ -41145,8 +42273,10 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
41145
42273
|
const localVarHeaderParameter = {} as any;
|
|
41146
42274
|
const localVarQueryParameter = {} as any;
|
|
41147
42275
|
|
|
42276
|
+
// authentication domainAuth required
|
|
42277
|
+
|
|
41148
42278
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41149
|
-
|
|
42279
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41150
42280
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
41151
42281
|
|
|
41152
42282
|
return {
|
|
@@ -41259,6 +42389,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
41259
42389
|
* @summary Invite
|
|
41260
42390
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
41261
42391
|
* @param {*} [options] Override http request option.
|
|
42392
|
+
* @deprecated
|
|
41262
42393
|
* @throws {RequiredError}
|
|
41263
42394
|
*/
|
|
41264
42395
|
userControllerInvite: async (
|
|
@@ -41753,6 +42884,7 @@ export const UserApiFp = function (configuration?: Configuration) {
|
|
|
41753
42884
|
* @summary Invite
|
|
41754
42885
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
41755
42886
|
* @param {*} [options] Override http request option.
|
|
42887
|
+
* @deprecated
|
|
41756
42888
|
* @throws {RequiredError}
|
|
41757
42889
|
*/
|
|
41758
42890
|
async userControllerInvite(
|
|
@@ -42056,6 +43188,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
42056
43188
|
* @summary Invite
|
|
42057
43189
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
42058
43190
|
* @param {*} [options] Override http request option.
|
|
43191
|
+
* @deprecated
|
|
42059
43192
|
* @throws {RequiredError}
|
|
42060
43193
|
*/
|
|
42061
43194
|
userControllerInvite(
|
|
@@ -42256,6 +43389,7 @@ export class UserApi extends BaseAPI {
|
|
|
42256
43389
|
* @summary Invite
|
|
42257
43390
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
42258
43391
|
* @param {*} [options] Override http request option.
|
|
43392
|
+
* @deprecated
|
|
42259
43393
|
* @throws {RequiredError}
|
|
42260
43394
|
* @memberof UserApi
|
|
42261
43395
|
*/
|
|
@@ -42401,6 +43535,47 @@ export class UserApi extends BaseAPI {
|
|
|
42401
43535
|
*/
|
|
42402
43536
|
export const VariableApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42403
43537
|
return {
|
|
43538
|
+
/**
|
|
43539
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
43540
|
+
* @summary Bulk delete
|
|
43541
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
43542
|
+
* @param {*} [options] Override http request option.
|
|
43543
|
+
* @throws {RequiredError}
|
|
43544
|
+
*/
|
|
43545
|
+
variableControllerBulkDelete: async (
|
|
43546
|
+
variableBulkDeleteInputDTO?: VariableBulkDeleteInputDTO,
|
|
43547
|
+
options: RawAxiosRequestConfig = {},
|
|
43548
|
+
): Promise<RequestArgs> => {
|
|
43549
|
+
const localVarPath = `/variables`;
|
|
43550
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43551
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43552
|
+
let baseOptions;
|
|
43553
|
+
if (configuration) {
|
|
43554
|
+
baseOptions = configuration.baseOptions;
|
|
43555
|
+
}
|
|
43556
|
+
|
|
43557
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
43558
|
+
const localVarHeaderParameter = {} as any;
|
|
43559
|
+
const localVarQueryParameter = {} as any;
|
|
43560
|
+
|
|
43561
|
+
// authentication domainAuth required
|
|
43562
|
+
|
|
43563
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
43564
|
+
|
|
43565
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43566
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43567
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
43568
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
43569
|
+
variableBulkDeleteInputDTO,
|
|
43570
|
+
localVarRequestOptions,
|
|
43571
|
+
configuration,
|
|
43572
|
+
);
|
|
43573
|
+
|
|
43574
|
+
return {
|
|
43575
|
+
url: toPathString(localVarUrlObj),
|
|
43576
|
+
options: localVarRequestOptions,
|
|
43577
|
+
};
|
|
43578
|
+
},
|
|
42404
43579
|
/**
|
|
42405
43580
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
42406
43581
|
* @summary Create
|
|
@@ -42596,6 +43771,32 @@ export const VariableApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
42596
43771
|
export const VariableApiFp = function (configuration?: Configuration) {
|
|
42597
43772
|
const localVarAxiosParamCreator = VariableApiAxiosParamCreator(configuration);
|
|
42598
43773
|
return {
|
|
43774
|
+
/**
|
|
43775
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
43776
|
+
* @summary Bulk delete
|
|
43777
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
43778
|
+
* @param {*} [options] Override http request option.
|
|
43779
|
+
* @throws {RequiredError}
|
|
43780
|
+
*/
|
|
43781
|
+
async variableControllerBulkDelete(
|
|
43782
|
+
variableBulkDeleteInputDTO?: VariableBulkDeleteInputDTO,
|
|
43783
|
+
options?: RawAxiosRequestConfig,
|
|
43784
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkActionResultDTOAPI>> {
|
|
43785
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerBulkDelete(
|
|
43786
|
+
variableBulkDeleteInputDTO,
|
|
43787
|
+
options,
|
|
43788
|
+
);
|
|
43789
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43790
|
+
const localVarOperationServerBasePath =
|
|
43791
|
+
operationServerMap['VariableApi.variableControllerBulkDelete']?.[localVarOperationServerIndex]?.url;
|
|
43792
|
+
return (axios, basePath) =>
|
|
43793
|
+
createRequestFunction(
|
|
43794
|
+
localVarAxiosArgs,
|
|
43795
|
+
globalAxios,
|
|
43796
|
+
BASE_PATH,
|
|
43797
|
+
configuration,
|
|
43798
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
43799
|
+
},
|
|
42599
43800
|
/**
|
|
42600
43801
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
42601
43802
|
* @summary Create
|
|
@@ -42730,6 +43931,21 @@ export const VariableApiFp = function (configuration?: Configuration) {
|
|
|
42730
43931
|
export const VariableApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
42731
43932
|
const localVarFp = VariableApiFp(configuration);
|
|
42732
43933
|
return {
|
|
43934
|
+
/**
|
|
43935
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
43936
|
+
* @summary Bulk delete
|
|
43937
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
43938
|
+
* @param {*} [options] Override http request option.
|
|
43939
|
+
* @throws {RequiredError}
|
|
43940
|
+
*/
|
|
43941
|
+
variableControllerBulkDelete(
|
|
43942
|
+
variableBulkDeleteInputDTO?: VariableBulkDeleteInputDTO,
|
|
43943
|
+
options?: RawAxiosRequestConfig,
|
|
43944
|
+
): AxiosPromise<BulkActionResultDTOAPI> {
|
|
43945
|
+
return localVarFp
|
|
43946
|
+
.variableControllerBulkDelete(variableBulkDeleteInputDTO, options)
|
|
43947
|
+
.then((request) => request(axios, basePath));
|
|
43948
|
+
},
|
|
42733
43949
|
/**
|
|
42734
43950
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
42735
43951
|
* @summary Create
|
|
@@ -42807,6 +44023,23 @@ export const VariableApiFactory = function (configuration?: Configuration, baseP
|
|
|
42807
44023
|
* @extends {BaseAPI}
|
|
42808
44024
|
*/
|
|
42809
44025
|
export class VariableApi extends BaseAPI {
|
|
44026
|
+
/**
|
|
44027
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
44028
|
+
* @summary Bulk delete
|
|
44029
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
44030
|
+
* @param {*} [options] Override http request option.
|
|
44031
|
+
* @throws {RequiredError}
|
|
44032
|
+
* @memberof VariableApi
|
|
44033
|
+
*/
|
|
44034
|
+
public variableControllerBulkDelete(
|
|
44035
|
+
variableBulkDeleteInputDTO?: VariableBulkDeleteInputDTO,
|
|
44036
|
+
options?: RawAxiosRequestConfig,
|
|
44037
|
+
) {
|
|
44038
|
+
return VariableApiFp(this.configuration)
|
|
44039
|
+
.variableControllerBulkDelete(variableBulkDeleteInputDTO, options)
|
|
44040
|
+
.then((request) => request(this.axios, this.basePath));
|
|
44041
|
+
}
|
|
44042
|
+
|
|
42810
44043
|
/**
|
|
42811
44044
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
42812
44045
|
* @summary Create
|
|
@@ -42878,474 +44111,3 @@ export class VariableApi extends BaseAPI {
|
|
|
42878
44111
|
.then((request) => request(this.axios, this.basePath));
|
|
42879
44112
|
}
|
|
42880
44113
|
}
|
|
42881
|
-
|
|
42882
|
-
/**
|
|
42883
|
-
* InviteLinkApi - axios parameter creator
|
|
42884
|
-
* @export
|
|
42885
|
-
*/
|
|
42886
|
-
export const InviteLinkApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42887
|
-
return {
|
|
42888
|
-
/**
|
|
42889
|
-
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
42890
|
-
* @summary Create invite link
|
|
42891
|
-
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
42892
|
-
* @param {*} [options] Override http request option.
|
|
42893
|
-
* @throws {RequiredError}
|
|
42894
|
-
*/
|
|
42895
|
-
inviteLinkControllerCreate: async (
|
|
42896
|
-
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
42897
|
-
options: RawAxiosRequestConfig = {},
|
|
42898
|
-
): Promise<RequestArgs> => {
|
|
42899
|
-
const localVarPath = `/invite-link`;
|
|
42900
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42901
|
-
let baseOptions;
|
|
42902
|
-
if (configuration) {
|
|
42903
|
-
baseOptions = configuration.baseOptions;
|
|
42904
|
-
}
|
|
42905
|
-
|
|
42906
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42907
|
-
const localVarHeaderParameter = {} as any;
|
|
42908
|
-
const localVarQueryParameter = {} as any;
|
|
42909
|
-
|
|
42910
|
-
// authentication domainAuth required
|
|
42911
|
-
|
|
42912
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42913
|
-
|
|
42914
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42915
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42916
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42917
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
42918
|
-
inviteLinkCreateInputDTO,
|
|
42919
|
-
localVarRequestOptions,
|
|
42920
|
-
configuration,
|
|
42921
|
-
);
|
|
42922
|
-
|
|
42923
|
-
return {
|
|
42924
|
-
url: toPathString(localVarUrlObj),
|
|
42925
|
-
options: localVarRequestOptions,
|
|
42926
|
-
};
|
|
42927
|
-
},
|
|
42928
|
-
/**
|
|
42929
|
-
* <br> OperationId: `InviteLinkControllerPreview`
|
|
42930
|
-
* @summary Preview
|
|
42931
|
-
* @param {string} token
|
|
42932
|
-
* @param {*} [options] Override http request option.
|
|
42933
|
-
* @throws {RequiredError}
|
|
42934
|
-
*/
|
|
42935
|
-
inviteLinkControllerPreview: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42936
|
-
assertParamExists('inviteLinkControllerPreview', 'token', token);
|
|
42937
|
-
const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
|
|
42938
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42939
|
-
let baseOptions;
|
|
42940
|
-
if (configuration) {
|
|
42941
|
-
baseOptions = configuration.baseOptions;
|
|
42942
|
-
}
|
|
42943
|
-
|
|
42944
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
42945
|
-
const localVarHeaderParameter = {} as any;
|
|
42946
|
-
const localVarQueryParameter = {} as any;
|
|
42947
|
-
|
|
42948
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42949
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42950
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42951
|
-
|
|
42952
|
-
return {
|
|
42953
|
-
url: toPathString(localVarUrlObj),
|
|
42954
|
-
options: localVarRequestOptions,
|
|
42955
|
-
};
|
|
42956
|
-
},
|
|
42957
|
-
/**
|
|
42958
|
-
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
42959
|
-
* @summary Redeem
|
|
42960
|
-
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
42961
|
-
* @param {*} [options] Override http request option.
|
|
42962
|
-
* @throws {RequiredError}
|
|
42963
|
-
*/
|
|
42964
|
-
inviteLinkControllerRedeem: async (
|
|
42965
|
-
redeemInputDTO?: RedeemInputDTO,
|
|
42966
|
-
options: RawAxiosRequestConfig = {},
|
|
42967
|
-
): Promise<RequestArgs> => {
|
|
42968
|
-
const localVarPath = `/invite-link/redeem`;
|
|
42969
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42970
|
-
let baseOptions;
|
|
42971
|
-
if (configuration) {
|
|
42972
|
-
baseOptions = configuration.baseOptions;
|
|
42973
|
-
}
|
|
42974
|
-
|
|
42975
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42976
|
-
const localVarHeaderParameter = {} as any;
|
|
42977
|
-
const localVarQueryParameter = {} as any;
|
|
42978
|
-
|
|
42979
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42980
|
-
|
|
42981
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42982
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42983
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42984
|
-
localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
|
|
42985
|
-
|
|
42986
|
-
return {
|
|
42987
|
-
url: toPathString(localVarUrlObj),
|
|
42988
|
-
options: localVarRequestOptions,
|
|
42989
|
-
};
|
|
42990
|
-
},
|
|
42991
|
-
/**
|
|
42992
|
-
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
42993
|
-
* @summary Revoke
|
|
42994
|
-
* @param {string} id
|
|
42995
|
-
* @param {*} [options] Override http request option.
|
|
42996
|
-
* @throws {RequiredError}
|
|
42997
|
-
*/
|
|
42998
|
-
inviteLinkControllerRevoke: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42999
|
-
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
43000
|
-
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
43001
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43002
|
-
let baseOptions;
|
|
43003
|
-
if (configuration) {
|
|
43004
|
-
baseOptions = configuration.baseOptions;
|
|
43005
|
-
}
|
|
43006
|
-
|
|
43007
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
43008
|
-
const localVarHeaderParameter = {} as any;
|
|
43009
|
-
const localVarQueryParameter = {} as any;
|
|
43010
|
-
|
|
43011
|
-
// authentication domainAuth required
|
|
43012
|
-
|
|
43013
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43014
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43015
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
43016
|
-
|
|
43017
|
-
return {
|
|
43018
|
-
url: toPathString(localVarUrlObj),
|
|
43019
|
-
options: localVarRequestOptions,
|
|
43020
|
-
};
|
|
43021
|
-
},
|
|
43022
|
-
/**
|
|
43023
|
-
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43024
|
-
* @summary Search
|
|
43025
|
-
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43026
|
-
* @param {*} [options] Override http request option.
|
|
43027
|
-
* @throws {RequiredError}
|
|
43028
|
-
*/
|
|
43029
|
-
inviteLinkControllerSearch: async (
|
|
43030
|
-
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43031
|
-
options: RawAxiosRequestConfig = {},
|
|
43032
|
-
): Promise<RequestArgs> => {
|
|
43033
|
-
const localVarPath = `/invite-link/search`;
|
|
43034
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43035
|
-
let baseOptions;
|
|
43036
|
-
if (configuration) {
|
|
43037
|
-
baseOptions = configuration.baseOptions;
|
|
43038
|
-
}
|
|
43039
|
-
|
|
43040
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
43041
|
-
const localVarHeaderParameter = {} as any;
|
|
43042
|
-
const localVarQueryParameter = {} as any;
|
|
43043
|
-
|
|
43044
|
-
// authentication domainAuth required
|
|
43045
|
-
|
|
43046
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
43047
|
-
|
|
43048
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43049
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43050
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
43051
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
43052
|
-
inviteLinkSearchInputDTO,
|
|
43053
|
-
localVarRequestOptions,
|
|
43054
|
-
configuration,
|
|
43055
|
-
);
|
|
43056
|
-
|
|
43057
|
-
return {
|
|
43058
|
-
url: toPathString(localVarUrlObj),
|
|
43059
|
-
options: localVarRequestOptions,
|
|
43060
|
-
};
|
|
43061
|
-
},
|
|
43062
|
-
};
|
|
43063
|
-
};
|
|
43064
|
-
|
|
43065
|
-
/**
|
|
43066
|
-
* InviteLinkApi - functional programming interface
|
|
43067
|
-
* @export
|
|
43068
|
-
*/
|
|
43069
|
-
export const InviteLinkApiFp = function (configuration?: Configuration) {
|
|
43070
|
-
const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
|
|
43071
|
-
return {
|
|
43072
|
-
/**
|
|
43073
|
-
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
43074
|
-
* @summary Create invite link
|
|
43075
|
-
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
43076
|
-
* @param {*} [options] Override http request option.
|
|
43077
|
-
* @throws {RequiredError}
|
|
43078
|
-
*/
|
|
43079
|
-
async inviteLinkControllerCreate(
|
|
43080
|
-
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
43081
|
-
options?: RawAxiosRequestConfig,
|
|
43082
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
|
|
43083
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(
|
|
43084
|
-
inviteLinkCreateInputDTO,
|
|
43085
|
-
options,
|
|
43086
|
-
);
|
|
43087
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43088
|
-
const localVarOperationServerBasePath =
|
|
43089
|
-
operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
43090
|
-
return (axios, basePath) =>
|
|
43091
|
-
createRequestFunction(
|
|
43092
|
-
localVarAxiosArgs,
|
|
43093
|
-
globalAxios,
|
|
43094
|
-
BASE_PATH,
|
|
43095
|
-
configuration,
|
|
43096
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
43097
|
-
},
|
|
43098
|
-
/**
|
|
43099
|
-
* <br> OperationId: `InviteLinkControllerPreview`
|
|
43100
|
-
* @summary Preview
|
|
43101
|
-
* @param {string} token
|
|
43102
|
-
* @param {*} [options] Override http request option.
|
|
43103
|
-
* @throws {RequiredError}
|
|
43104
|
-
*/
|
|
43105
|
-
async inviteLinkControllerPreview(
|
|
43106
|
-
token: string,
|
|
43107
|
-
options?: RawAxiosRequestConfig,
|
|
43108
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkPreviewDTOAPI>> {
|
|
43109
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
|
|
43110
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43111
|
-
const localVarOperationServerBasePath =
|
|
43112
|
-
operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
|
|
43113
|
-
return (axios, basePath) =>
|
|
43114
|
-
createRequestFunction(
|
|
43115
|
-
localVarAxiosArgs,
|
|
43116
|
-
globalAxios,
|
|
43117
|
-
BASE_PATH,
|
|
43118
|
-
configuration,
|
|
43119
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
43120
|
-
},
|
|
43121
|
-
/**
|
|
43122
|
-
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
43123
|
-
* @summary Redeem
|
|
43124
|
-
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
43125
|
-
* @param {*} [options] Override http request option.
|
|
43126
|
-
* @throws {RequiredError}
|
|
43127
|
-
*/
|
|
43128
|
-
async inviteLinkControllerRedeem(
|
|
43129
|
-
redeemInputDTO?: RedeemInputDTO,
|
|
43130
|
-
options?: RawAxiosRequestConfig,
|
|
43131
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOutputWithRolesDTOAPI>> {
|
|
43132
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
|
|
43133
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43134
|
-
const localVarOperationServerBasePath =
|
|
43135
|
-
operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
|
|
43136
|
-
return (axios, basePath) =>
|
|
43137
|
-
createRequestFunction(
|
|
43138
|
-
localVarAxiosArgs,
|
|
43139
|
-
globalAxios,
|
|
43140
|
-
BASE_PATH,
|
|
43141
|
-
configuration,
|
|
43142
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
43143
|
-
},
|
|
43144
|
-
/**
|
|
43145
|
-
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
43146
|
-
* @summary Revoke
|
|
43147
|
-
* @param {string} id
|
|
43148
|
-
* @param {*} [options] Override http request option.
|
|
43149
|
-
* @throws {RequiredError}
|
|
43150
|
-
*/
|
|
43151
|
-
async inviteLinkControllerRevoke(
|
|
43152
|
-
id: string,
|
|
43153
|
-
options?: RawAxiosRequestConfig,
|
|
43154
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
43155
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
43156
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43157
|
-
const localVarOperationServerBasePath =
|
|
43158
|
-
operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
43159
|
-
return (axios, basePath) =>
|
|
43160
|
-
createRequestFunction(
|
|
43161
|
-
localVarAxiosArgs,
|
|
43162
|
-
globalAxios,
|
|
43163
|
-
BASE_PATH,
|
|
43164
|
-
configuration,
|
|
43165
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
43166
|
-
},
|
|
43167
|
-
/**
|
|
43168
|
-
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43169
|
-
* @summary Search
|
|
43170
|
-
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43171
|
-
* @param {*} [options] Override http request option.
|
|
43172
|
-
* @throws {RequiredError}
|
|
43173
|
-
*/
|
|
43174
|
-
async inviteLinkControllerSearch(
|
|
43175
|
-
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43176
|
-
options?: RawAxiosRequestConfig,
|
|
43177
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkOutputArrayDTOAPI>> {
|
|
43178
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(
|
|
43179
|
-
inviteLinkSearchInputDTO,
|
|
43180
|
-
options,
|
|
43181
|
-
);
|
|
43182
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43183
|
-
const localVarOperationServerBasePath =
|
|
43184
|
-
operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
43185
|
-
return (axios, basePath) =>
|
|
43186
|
-
createRequestFunction(
|
|
43187
|
-
localVarAxiosArgs,
|
|
43188
|
-
globalAxios,
|
|
43189
|
-
BASE_PATH,
|
|
43190
|
-
configuration,
|
|
43191
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
43192
|
-
},
|
|
43193
|
-
};
|
|
43194
|
-
};
|
|
43195
|
-
|
|
43196
|
-
/**
|
|
43197
|
-
* InviteLinkApi - factory interface
|
|
43198
|
-
* @export
|
|
43199
|
-
*/
|
|
43200
|
-
export const InviteLinkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
43201
|
-
const localVarFp = InviteLinkApiFp(configuration);
|
|
43202
|
-
return {
|
|
43203
|
-
/**
|
|
43204
|
-
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
43205
|
-
* @summary Create invite link
|
|
43206
|
-
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
43207
|
-
* @param {*} [options] Override http request option.
|
|
43208
|
-
* @throws {RequiredError}
|
|
43209
|
-
*/
|
|
43210
|
-
inviteLinkControllerCreate(
|
|
43211
|
-
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
43212
|
-
options?: RawAxiosRequestConfig,
|
|
43213
|
-
): AxiosPromise<InviteLinkCreateResultDTOAPI> {
|
|
43214
|
-
return localVarFp
|
|
43215
|
-
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
43216
|
-
.then((request) => request(axios, basePath));
|
|
43217
|
-
},
|
|
43218
|
-
/**
|
|
43219
|
-
* <br> OperationId: `InviteLinkControllerPreview`
|
|
43220
|
-
* @summary Preview
|
|
43221
|
-
* @param {string} token
|
|
43222
|
-
* @param {*} [options] Override http request option.
|
|
43223
|
-
* @throws {RequiredError}
|
|
43224
|
-
*/
|
|
43225
|
-
inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig): AxiosPromise<InviteLinkPreviewDTOAPI> {
|
|
43226
|
-
return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
|
|
43227
|
-
},
|
|
43228
|
-
/**
|
|
43229
|
-
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
43230
|
-
* @summary Redeem
|
|
43231
|
-
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
43232
|
-
* @param {*} [options] Override http request option.
|
|
43233
|
-
* @throws {RequiredError}
|
|
43234
|
-
*/
|
|
43235
|
-
inviteLinkControllerRedeem(
|
|
43236
|
-
redeemInputDTO?: RedeemInputDTO,
|
|
43237
|
-
options?: RawAxiosRequestConfig,
|
|
43238
|
-
): AxiosPromise<UserOutputWithRolesDTOAPI> {
|
|
43239
|
-
return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
|
|
43240
|
-
},
|
|
43241
|
-
/**
|
|
43242
|
-
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
43243
|
-
* @summary Revoke
|
|
43244
|
-
* @param {string} id
|
|
43245
|
-
* @param {*} [options] Override http request option.
|
|
43246
|
-
* @throws {RequiredError}
|
|
43247
|
-
*/
|
|
43248
|
-
inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
43249
|
-
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
43250
|
-
},
|
|
43251
|
-
/**
|
|
43252
|
-
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43253
|
-
* @summary Search
|
|
43254
|
-
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43255
|
-
* @param {*} [options] Override http request option.
|
|
43256
|
-
* @throws {RequiredError}
|
|
43257
|
-
*/
|
|
43258
|
-
inviteLinkControllerSearch(
|
|
43259
|
-
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43260
|
-
options?: RawAxiosRequestConfig,
|
|
43261
|
-
): AxiosPromise<InviteLinkOutputArrayDTOAPI> {
|
|
43262
|
-
return localVarFp
|
|
43263
|
-
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
43264
|
-
.then((request) => request(axios, basePath));
|
|
43265
|
-
},
|
|
43266
|
-
};
|
|
43267
|
-
};
|
|
43268
|
-
|
|
43269
|
-
/**
|
|
43270
|
-
* InviteLinkApi - object-oriented interface
|
|
43271
|
-
* @export
|
|
43272
|
-
* @class InviteLinkApi
|
|
43273
|
-
* @extends {BaseAPI}
|
|
43274
|
-
*/
|
|
43275
|
-
export class InviteLinkApi extends BaseAPI {
|
|
43276
|
-
/**
|
|
43277
|
-
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
43278
|
-
* @summary Create invite link
|
|
43279
|
-
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
43280
|
-
* @param {*} [options] Override http request option.
|
|
43281
|
-
* @throws {RequiredError}
|
|
43282
|
-
* @memberof InviteLinkApi
|
|
43283
|
-
*/
|
|
43284
|
-
public inviteLinkControllerCreate(
|
|
43285
|
-
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
43286
|
-
options?: RawAxiosRequestConfig,
|
|
43287
|
-
) {
|
|
43288
|
-
return InviteLinkApiFp(this.configuration)
|
|
43289
|
-
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
43290
|
-
.then((request) => request(this.axios, this.basePath));
|
|
43291
|
-
}
|
|
43292
|
-
|
|
43293
|
-
/**
|
|
43294
|
-
* <br> OperationId: `InviteLinkControllerPreview`
|
|
43295
|
-
* @summary Preview
|
|
43296
|
-
* @param {string} token
|
|
43297
|
-
* @param {*} [options] Override http request option.
|
|
43298
|
-
* @throws {RequiredError}
|
|
43299
|
-
* @memberof InviteLinkApi
|
|
43300
|
-
*/
|
|
43301
|
-
public inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig) {
|
|
43302
|
-
return InviteLinkApiFp(this.configuration)
|
|
43303
|
-
.inviteLinkControllerPreview(token, options)
|
|
43304
|
-
.then((request) => request(this.axios, this.basePath));
|
|
43305
|
-
}
|
|
43306
|
-
|
|
43307
|
-
/**
|
|
43308
|
-
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
43309
|
-
* @summary Redeem
|
|
43310
|
-
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
43311
|
-
* @param {*} [options] Override http request option.
|
|
43312
|
-
* @throws {RequiredError}
|
|
43313
|
-
* @memberof InviteLinkApi
|
|
43314
|
-
*/
|
|
43315
|
-
public inviteLinkControllerRedeem(redeemInputDTO?: RedeemInputDTO, options?: RawAxiosRequestConfig) {
|
|
43316
|
-
return InviteLinkApiFp(this.configuration)
|
|
43317
|
-
.inviteLinkControllerRedeem(redeemInputDTO, options)
|
|
43318
|
-
.then((request) => request(this.axios, this.basePath));
|
|
43319
|
-
}
|
|
43320
|
-
|
|
43321
|
-
/**
|
|
43322
|
-
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
43323
|
-
* @summary Revoke
|
|
43324
|
-
* @param {string} id
|
|
43325
|
-
* @param {*} [options] Override http request option.
|
|
43326
|
-
* @throws {RequiredError}
|
|
43327
|
-
* @memberof InviteLinkApi
|
|
43328
|
-
*/
|
|
43329
|
-
public inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig) {
|
|
43330
|
-
return InviteLinkApiFp(this.configuration)
|
|
43331
|
-
.inviteLinkControllerRevoke(id, options)
|
|
43332
|
-
.then((request) => request(this.axios, this.basePath));
|
|
43333
|
-
}
|
|
43334
|
-
|
|
43335
|
-
/**
|
|
43336
|
-
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43337
|
-
* @summary Search
|
|
43338
|
-
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43339
|
-
* @param {*} [options] Override http request option.
|
|
43340
|
-
* @throws {RequiredError}
|
|
43341
|
-
* @memberof InviteLinkApi
|
|
43342
|
-
*/
|
|
43343
|
-
public inviteLinkControllerSearch(
|
|
43344
|
-
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43345
|
-
options?: RawAxiosRequestConfig,
|
|
43346
|
-
) {
|
|
43347
|
-
return InviteLinkApiFp(this.configuration)
|
|
43348
|
-
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
43349
|
-
.then((request) => request(this.axios, this.basePath));
|
|
43350
|
-
}
|
|
43351
|
-
}
|