@takaro/apiclient 0.0.0-dev.d0e0bc3 → 0.0.0-dev.d30842e
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 +675 -0
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +376 -0
- package/dist/generated/api.js.map +1 -1
- package/dist/lib/client.d.ts +2 -1
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +6 -1
- package/dist/lib/client.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/api.ts +971 -0
- package/src/lib/client.ts +11 -0
package/src/generated/api.ts
CHANGED
|
@@ -6905,6 +6905,475 @@ export interface InviteOutputDTO {
|
|
|
6905
6905
|
*/
|
|
6906
6906
|
devServer: string;
|
|
6907
6907
|
}
|
|
6908
|
+
/**
|
|
6909
|
+
*
|
|
6910
|
+
* @export
|
|
6911
|
+
* @interface InviteLinkCreateInputDTO
|
|
6912
|
+
*/
|
|
6913
|
+
export interface InviteLinkCreateInputDTO {
|
|
6914
|
+
/**
|
|
6915
|
+
*
|
|
6916
|
+
* @type {Array<string>}
|
|
6917
|
+
* @memberof InviteLinkCreateInputDTO
|
|
6918
|
+
*/
|
|
6919
|
+
roleIds?: Array<string>;
|
|
6920
|
+
/**
|
|
6921
|
+
*
|
|
6922
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
6923
|
+
* @memberof InviteLinkCreateInputDTO
|
|
6924
|
+
*/
|
|
6925
|
+
expiresAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
6926
|
+
/**
|
|
6927
|
+
*
|
|
6928
|
+
* @type {number}
|
|
6929
|
+
* @memberof InviteLinkCreateInputDTO
|
|
6930
|
+
*/
|
|
6931
|
+
maxUses?: number;
|
|
6932
|
+
}
|
|
6933
|
+
/**
|
|
6934
|
+
*
|
|
6935
|
+
* @export
|
|
6936
|
+
* @interface InviteLinkCreateResultDTO
|
|
6937
|
+
*/
|
|
6938
|
+
export interface InviteLinkCreateResultDTO {
|
|
6939
|
+
/**
|
|
6940
|
+
*
|
|
6941
|
+
* @type {string}
|
|
6942
|
+
* @memberof InviteLinkCreateResultDTO
|
|
6943
|
+
*/
|
|
6944
|
+
inviteUrl: string;
|
|
6945
|
+
/**
|
|
6946
|
+
*
|
|
6947
|
+
* @type {string}
|
|
6948
|
+
* @memberof InviteLinkCreateResultDTO
|
|
6949
|
+
*/
|
|
6950
|
+
token: string;
|
|
6951
|
+
/**
|
|
6952
|
+
*
|
|
6953
|
+
* @type {string}
|
|
6954
|
+
* @memberof InviteLinkCreateResultDTO
|
|
6955
|
+
*/
|
|
6956
|
+
id: string;
|
|
6957
|
+
/**
|
|
6958
|
+
*
|
|
6959
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
6960
|
+
* @memberof InviteLinkCreateResultDTO
|
|
6961
|
+
*/
|
|
6962
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
6963
|
+
/**
|
|
6964
|
+
*
|
|
6965
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
6966
|
+
* @memberof InviteLinkCreateResultDTO
|
|
6967
|
+
*/
|
|
6968
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
6969
|
+
/**
|
|
6970
|
+
*
|
|
6971
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
6972
|
+
* @memberof InviteLinkCreateResultDTO
|
|
6973
|
+
*/
|
|
6974
|
+
expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
6975
|
+
/**
|
|
6976
|
+
*
|
|
6977
|
+
* @type {number}
|
|
6978
|
+
* @memberof InviteLinkCreateResultDTO
|
|
6979
|
+
*/
|
|
6980
|
+
maxUses?: number;
|
|
6981
|
+
/**
|
|
6982
|
+
*
|
|
6983
|
+
* @type {number}
|
|
6984
|
+
* @memberof InviteLinkCreateResultDTO
|
|
6985
|
+
*/
|
|
6986
|
+
uses: number;
|
|
6987
|
+
/**
|
|
6988
|
+
*
|
|
6989
|
+
* @type {number}
|
|
6990
|
+
* @memberof InviteLinkCreateResultDTO
|
|
6991
|
+
*/
|
|
6992
|
+
remaining?: number;
|
|
6993
|
+
/**
|
|
6994
|
+
*
|
|
6995
|
+
* @type {string}
|
|
6996
|
+
* @memberof InviteLinkCreateResultDTO
|
|
6997
|
+
*/
|
|
6998
|
+
status: InviteLinkCreateResultDTOStatusEnum;
|
|
6999
|
+
/**
|
|
7000
|
+
*
|
|
7001
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7002
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7003
|
+
*/
|
|
7004
|
+
revokedAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7005
|
+
/**
|
|
7006
|
+
*
|
|
7007
|
+
* @type {string}
|
|
7008
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7009
|
+
*/
|
|
7010
|
+
createdBy?: string;
|
|
7011
|
+
/**
|
|
7012
|
+
*
|
|
7013
|
+
* @type {Array<InviteLinkRoleDTO>}
|
|
7014
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7015
|
+
*/
|
|
7016
|
+
roles: Array<InviteLinkRoleDTO>;
|
|
7017
|
+
}
|
|
7018
|
+
|
|
7019
|
+
export const InviteLinkCreateResultDTOStatusEnum = {
|
|
7020
|
+
Active: 'ACTIVE',
|
|
7021
|
+
Revoked: 'REVOKED',
|
|
7022
|
+
Expired: 'EXPIRED',
|
|
7023
|
+
Depleted: 'DEPLETED',
|
|
7024
|
+
} as const;
|
|
7025
|
+
|
|
7026
|
+
export type InviteLinkCreateResultDTOStatusEnum =
|
|
7027
|
+
(typeof InviteLinkCreateResultDTOStatusEnum)[keyof typeof InviteLinkCreateResultDTOStatusEnum];
|
|
7028
|
+
|
|
7029
|
+
/**
|
|
7030
|
+
*
|
|
7031
|
+
* @export
|
|
7032
|
+
* @interface InviteLinkCreateResultDTOAPI
|
|
7033
|
+
*/
|
|
7034
|
+
export interface InviteLinkCreateResultDTOAPI {
|
|
7035
|
+
/**
|
|
7036
|
+
*
|
|
7037
|
+
* @type {InviteLinkCreateResultDTO}
|
|
7038
|
+
* @memberof InviteLinkCreateResultDTOAPI
|
|
7039
|
+
*/
|
|
7040
|
+
data: InviteLinkCreateResultDTO;
|
|
7041
|
+
/**
|
|
7042
|
+
*
|
|
7043
|
+
* @type {MetadataOutput}
|
|
7044
|
+
* @memberof InviteLinkCreateResultDTOAPI
|
|
7045
|
+
*/
|
|
7046
|
+
meta: MetadataOutput;
|
|
7047
|
+
}
|
|
7048
|
+
/**
|
|
7049
|
+
*
|
|
7050
|
+
* @export
|
|
7051
|
+
* @interface InviteLinkOutputDTO
|
|
7052
|
+
*/
|
|
7053
|
+
export interface InviteLinkOutputDTO {
|
|
7054
|
+
/**
|
|
7055
|
+
*
|
|
7056
|
+
* @type {string}
|
|
7057
|
+
* @memberof InviteLinkOutputDTO
|
|
7058
|
+
*/
|
|
7059
|
+
id: string;
|
|
7060
|
+
/**
|
|
7061
|
+
*
|
|
7062
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7063
|
+
* @memberof InviteLinkOutputDTO
|
|
7064
|
+
*/
|
|
7065
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7066
|
+
/**
|
|
7067
|
+
*
|
|
7068
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7069
|
+
* @memberof InviteLinkOutputDTO
|
|
7070
|
+
*/
|
|
7071
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7072
|
+
/**
|
|
7073
|
+
*
|
|
7074
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7075
|
+
* @memberof InviteLinkOutputDTO
|
|
7076
|
+
*/
|
|
7077
|
+
expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7078
|
+
/**
|
|
7079
|
+
*
|
|
7080
|
+
* @type {number}
|
|
7081
|
+
* @memberof InviteLinkOutputDTO
|
|
7082
|
+
*/
|
|
7083
|
+
maxUses?: number;
|
|
7084
|
+
/**
|
|
7085
|
+
*
|
|
7086
|
+
* @type {number}
|
|
7087
|
+
* @memberof InviteLinkOutputDTO
|
|
7088
|
+
*/
|
|
7089
|
+
uses: number;
|
|
7090
|
+
/**
|
|
7091
|
+
*
|
|
7092
|
+
* @type {number}
|
|
7093
|
+
* @memberof InviteLinkOutputDTO
|
|
7094
|
+
*/
|
|
7095
|
+
remaining?: number;
|
|
7096
|
+
/**
|
|
7097
|
+
*
|
|
7098
|
+
* @type {string}
|
|
7099
|
+
* @memberof InviteLinkOutputDTO
|
|
7100
|
+
*/
|
|
7101
|
+
status: InviteLinkOutputDTOStatusEnum;
|
|
7102
|
+
/**
|
|
7103
|
+
*
|
|
7104
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7105
|
+
* @memberof InviteLinkOutputDTO
|
|
7106
|
+
*/
|
|
7107
|
+
revokedAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7108
|
+
/**
|
|
7109
|
+
*
|
|
7110
|
+
* @type {string}
|
|
7111
|
+
* @memberof InviteLinkOutputDTO
|
|
7112
|
+
*/
|
|
7113
|
+
createdBy?: string;
|
|
7114
|
+
/**
|
|
7115
|
+
*
|
|
7116
|
+
* @type {Array<InviteLinkRoleDTO>}
|
|
7117
|
+
* @memberof InviteLinkOutputDTO
|
|
7118
|
+
*/
|
|
7119
|
+
roles: Array<InviteLinkRoleDTO>;
|
|
7120
|
+
}
|
|
7121
|
+
|
|
7122
|
+
export const InviteLinkOutputDTOStatusEnum = {
|
|
7123
|
+
Active: 'ACTIVE',
|
|
7124
|
+
Revoked: 'REVOKED',
|
|
7125
|
+
Expired: 'EXPIRED',
|
|
7126
|
+
Depleted: 'DEPLETED',
|
|
7127
|
+
} as const;
|
|
7128
|
+
|
|
7129
|
+
export type InviteLinkOutputDTOStatusEnum =
|
|
7130
|
+
(typeof InviteLinkOutputDTOStatusEnum)[keyof typeof InviteLinkOutputDTOStatusEnum];
|
|
7131
|
+
|
|
7132
|
+
/**
|
|
7133
|
+
*
|
|
7134
|
+
* @export
|
|
7135
|
+
* @interface InviteLinkOutputDTOAPI
|
|
7136
|
+
*/
|
|
7137
|
+
export interface InviteLinkOutputDTOAPI {
|
|
7138
|
+
/**
|
|
7139
|
+
*
|
|
7140
|
+
* @type {InviteLinkOutputDTO}
|
|
7141
|
+
* @memberof InviteLinkOutputDTOAPI
|
|
7142
|
+
*/
|
|
7143
|
+
data: InviteLinkOutputDTO;
|
|
7144
|
+
/**
|
|
7145
|
+
*
|
|
7146
|
+
* @type {MetadataOutput}
|
|
7147
|
+
* @memberof InviteLinkOutputDTOAPI
|
|
7148
|
+
*/
|
|
7149
|
+
meta: MetadataOutput;
|
|
7150
|
+
}
|
|
7151
|
+
/**
|
|
7152
|
+
*
|
|
7153
|
+
* @export
|
|
7154
|
+
* @interface InviteLinkOutputArrayDTOAPI
|
|
7155
|
+
*/
|
|
7156
|
+
export interface InviteLinkOutputArrayDTOAPI {
|
|
7157
|
+
/**
|
|
7158
|
+
*
|
|
7159
|
+
* @type {Array<InviteLinkOutputDTO>}
|
|
7160
|
+
* @memberof InviteLinkOutputArrayDTOAPI
|
|
7161
|
+
*/
|
|
7162
|
+
data: Array<InviteLinkOutputDTO>;
|
|
7163
|
+
/**
|
|
7164
|
+
*
|
|
7165
|
+
* @type {MetadataOutput}
|
|
7166
|
+
* @memberof InviteLinkOutputArrayDTOAPI
|
|
7167
|
+
*/
|
|
7168
|
+
meta: MetadataOutput;
|
|
7169
|
+
}
|
|
7170
|
+
/**
|
|
7171
|
+
*
|
|
7172
|
+
* @export
|
|
7173
|
+
* @interface InviteLinkPreviewDTO
|
|
7174
|
+
*/
|
|
7175
|
+
export interface InviteLinkPreviewDTO {
|
|
7176
|
+
/**
|
|
7177
|
+
*
|
|
7178
|
+
* @type {InviteLinkPreviewDomainDTO}
|
|
7179
|
+
* @memberof InviteLinkPreviewDTO
|
|
7180
|
+
*/
|
|
7181
|
+
domain: InviteLinkPreviewDomainDTO;
|
|
7182
|
+
/**
|
|
7183
|
+
*
|
|
7184
|
+
* @type {Array<InviteLinkPreviewRoleDTO>}
|
|
7185
|
+
* @memberof InviteLinkPreviewDTO
|
|
7186
|
+
*/
|
|
7187
|
+
roles: Array<InviteLinkPreviewRoleDTO>;
|
|
7188
|
+
/**
|
|
7189
|
+
*
|
|
7190
|
+
* @type {string}
|
|
7191
|
+
* @memberof InviteLinkPreviewDTO
|
|
7192
|
+
*/
|
|
7193
|
+
status: InviteLinkPreviewDTOStatusEnum;
|
|
7194
|
+
/**
|
|
7195
|
+
*
|
|
7196
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7197
|
+
* @memberof InviteLinkPreviewDTO
|
|
7198
|
+
*/
|
|
7199
|
+
expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7200
|
+
/**
|
|
7201
|
+
*
|
|
7202
|
+
* @type {number}
|
|
7203
|
+
* @memberof InviteLinkPreviewDTO
|
|
7204
|
+
*/
|
|
7205
|
+
remaining?: number;
|
|
7206
|
+
}
|
|
7207
|
+
|
|
7208
|
+
export const InviteLinkPreviewDTOStatusEnum = {
|
|
7209
|
+
Active: 'ACTIVE',
|
|
7210
|
+
Revoked: 'REVOKED',
|
|
7211
|
+
Expired: 'EXPIRED',
|
|
7212
|
+
Depleted: 'DEPLETED',
|
|
7213
|
+
} as const;
|
|
7214
|
+
|
|
7215
|
+
export type InviteLinkPreviewDTOStatusEnum =
|
|
7216
|
+
(typeof InviteLinkPreviewDTOStatusEnum)[keyof typeof InviteLinkPreviewDTOStatusEnum];
|
|
7217
|
+
|
|
7218
|
+
/**
|
|
7219
|
+
*
|
|
7220
|
+
* @export
|
|
7221
|
+
* @interface InviteLinkPreviewDTOAPI
|
|
7222
|
+
*/
|
|
7223
|
+
export interface InviteLinkPreviewDTOAPI {
|
|
7224
|
+
/**
|
|
7225
|
+
*
|
|
7226
|
+
* @type {InviteLinkPreviewDTO}
|
|
7227
|
+
* @memberof InviteLinkPreviewDTOAPI
|
|
7228
|
+
*/
|
|
7229
|
+
data: InviteLinkPreviewDTO;
|
|
7230
|
+
/**
|
|
7231
|
+
*
|
|
7232
|
+
* @type {MetadataOutput}
|
|
7233
|
+
* @memberof InviteLinkPreviewDTOAPI
|
|
7234
|
+
*/
|
|
7235
|
+
meta: MetadataOutput;
|
|
7236
|
+
}
|
|
7237
|
+
/**
|
|
7238
|
+
*
|
|
7239
|
+
* @export
|
|
7240
|
+
* @interface InviteLinkPreviewDomainDTO
|
|
7241
|
+
*/
|
|
7242
|
+
export interface InviteLinkPreviewDomainDTO {
|
|
7243
|
+
/**
|
|
7244
|
+
*
|
|
7245
|
+
* @type {string}
|
|
7246
|
+
* @memberof InviteLinkPreviewDomainDTO
|
|
7247
|
+
*/
|
|
7248
|
+
id: string;
|
|
7249
|
+
/**
|
|
7250
|
+
*
|
|
7251
|
+
* @type {string}
|
|
7252
|
+
* @memberof InviteLinkPreviewDomainDTO
|
|
7253
|
+
*/
|
|
7254
|
+
name: string;
|
|
7255
|
+
}
|
|
7256
|
+
/**
|
|
7257
|
+
*
|
|
7258
|
+
* @export
|
|
7259
|
+
* @interface InviteLinkPreviewRoleDTO
|
|
7260
|
+
*/
|
|
7261
|
+
export interface InviteLinkPreviewRoleDTO {
|
|
7262
|
+
/**
|
|
7263
|
+
*
|
|
7264
|
+
* @type {string}
|
|
7265
|
+
* @memberof InviteLinkPreviewRoleDTO
|
|
7266
|
+
*/
|
|
7267
|
+
id: string;
|
|
7268
|
+
/**
|
|
7269
|
+
*
|
|
7270
|
+
* @type {string}
|
|
7271
|
+
* @memberof InviteLinkPreviewRoleDTO
|
|
7272
|
+
*/
|
|
7273
|
+
name: string;
|
|
7274
|
+
}
|
|
7275
|
+
/**
|
|
7276
|
+
*
|
|
7277
|
+
* @export
|
|
7278
|
+
* @interface InviteLinkRoleDTO
|
|
7279
|
+
*/
|
|
7280
|
+
export interface InviteLinkRoleDTO {
|
|
7281
|
+
/**
|
|
7282
|
+
*
|
|
7283
|
+
* @type {string}
|
|
7284
|
+
* @memberof InviteLinkRoleDTO
|
|
7285
|
+
*/
|
|
7286
|
+
roleId: string;
|
|
7287
|
+
/**
|
|
7288
|
+
*
|
|
7289
|
+
* @type {string}
|
|
7290
|
+
* @memberof InviteLinkRoleDTO
|
|
7291
|
+
*/
|
|
7292
|
+
name: string;
|
|
7293
|
+
}
|
|
7294
|
+
/**
|
|
7295
|
+
*
|
|
7296
|
+
* @export
|
|
7297
|
+
* @interface InviteLinkSearchInputDTO
|
|
7298
|
+
*/
|
|
7299
|
+
export interface InviteLinkSearchInputDTO {
|
|
7300
|
+
/**
|
|
7301
|
+
*
|
|
7302
|
+
* @type {string}
|
|
7303
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7304
|
+
*/
|
|
7305
|
+
sortBy?: string;
|
|
7306
|
+
/**
|
|
7307
|
+
*
|
|
7308
|
+
* @type {any}
|
|
7309
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7310
|
+
*/
|
|
7311
|
+
filters?: any;
|
|
7312
|
+
/**
|
|
7313
|
+
*
|
|
7314
|
+
* @type {any}
|
|
7315
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7316
|
+
*/
|
|
7317
|
+
search?: any;
|
|
7318
|
+
/**
|
|
7319
|
+
*
|
|
7320
|
+
* @type {any}
|
|
7321
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7322
|
+
*/
|
|
7323
|
+
greaterThan?: any;
|
|
7324
|
+
/**
|
|
7325
|
+
*
|
|
7326
|
+
* @type {any}
|
|
7327
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7328
|
+
*/
|
|
7329
|
+
lessThan?: any;
|
|
7330
|
+
/**
|
|
7331
|
+
*
|
|
7332
|
+
* @type {number}
|
|
7333
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7334
|
+
*/
|
|
7335
|
+
page?: number;
|
|
7336
|
+
/**
|
|
7337
|
+
*
|
|
7338
|
+
* @type {number}
|
|
7339
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7340
|
+
*/
|
|
7341
|
+
limit?: number;
|
|
7342
|
+
/**
|
|
7343
|
+
*
|
|
7344
|
+
* @type {string}
|
|
7345
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7346
|
+
*/
|
|
7347
|
+
sortDirection?: InviteLinkSearchInputDTOSortDirectionEnum;
|
|
7348
|
+
/**
|
|
7349
|
+
*
|
|
7350
|
+
* @type {Array<string>}
|
|
7351
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7352
|
+
*/
|
|
7353
|
+
extend?: Array<string>;
|
|
7354
|
+
}
|
|
7355
|
+
|
|
7356
|
+
export const InviteLinkSearchInputDTOSortDirectionEnum = {
|
|
7357
|
+
Asc: 'asc',
|
|
7358
|
+
Desc: 'desc',
|
|
7359
|
+
} as const;
|
|
7360
|
+
|
|
7361
|
+
export type InviteLinkSearchInputDTOSortDirectionEnum =
|
|
7362
|
+
(typeof InviteLinkSearchInputDTOSortDirectionEnum)[keyof typeof InviteLinkSearchInputDTOSortDirectionEnum];
|
|
7363
|
+
|
|
7364
|
+
/**
|
|
7365
|
+
*
|
|
7366
|
+
* @export
|
|
7367
|
+
* @interface RedeemInputDTO
|
|
7368
|
+
*/
|
|
7369
|
+
export interface RedeemInputDTO {
|
|
7370
|
+
/**
|
|
7371
|
+
*
|
|
7372
|
+
* @type {string}
|
|
7373
|
+
* @memberof RedeemInputDTO
|
|
7374
|
+
*/
|
|
7375
|
+
token: string;
|
|
7376
|
+
}
|
|
6908
7377
|
/**
|
|
6909
7378
|
*
|
|
6910
7379
|
* @export
|
|
@@ -17208,6 +17677,12 @@ export interface UserOutputDTO {
|
|
|
17208
17677
|
* @memberof UserOutputDTO
|
|
17209
17678
|
*/
|
|
17210
17679
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
17680
|
+
/**
|
|
17681
|
+
*
|
|
17682
|
+
* @type {string}
|
|
17683
|
+
* @memberof UserOutputDTO
|
|
17684
|
+
*/
|
|
17685
|
+
inviteLinkId?: string;
|
|
17211
17686
|
}
|
|
17212
17687
|
/**
|
|
17213
17688
|
*
|
|
@@ -17306,6 +17781,31 @@ export interface UserOutputWithRolesDTO {
|
|
|
17306
17781
|
* @memberof UserOutputWithRolesDTO
|
|
17307
17782
|
*/
|
|
17308
17783
|
isDashboardUser: boolean;
|
|
17784
|
+
/**
|
|
17785
|
+
*
|
|
17786
|
+
* @type {string}
|
|
17787
|
+
* @memberof UserOutputWithRolesDTO
|
|
17788
|
+
*/
|
|
17789
|
+
inviteLinkId?: string;
|
|
17790
|
+
}
|
|
17791
|
+
/**
|
|
17792
|
+
*
|
|
17793
|
+
* @export
|
|
17794
|
+
* @interface UserOutputWithRolesDTOAPI
|
|
17795
|
+
*/
|
|
17796
|
+
export interface UserOutputWithRolesDTOAPI {
|
|
17797
|
+
/**
|
|
17798
|
+
*
|
|
17799
|
+
* @type {UserOutputWithRolesDTO}
|
|
17800
|
+
* @memberof UserOutputWithRolesDTOAPI
|
|
17801
|
+
*/
|
|
17802
|
+
data: UserOutputWithRolesDTO;
|
|
17803
|
+
/**
|
|
17804
|
+
*
|
|
17805
|
+
* @type {MetadataOutput}
|
|
17806
|
+
* @memberof UserOutputWithRolesDTOAPI
|
|
17807
|
+
*/
|
|
17808
|
+
meta: MetadataOutput;
|
|
17309
17809
|
}
|
|
17310
17810
|
/**
|
|
17311
17811
|
*
|
|
@@ -42171,3 +42671,474 @@ export class VariableApi extends BaseAPI {
|
|
|
42171
42671
|
.then((request) => request(this.axios, this.basePath));
|
|
42172
42672
|
}
|
|
42173
42673
|
}
|
|
42674
|
+
|
|
42675
|
+
/**
|
|
42676
|
+
* InviteLinkApi - axios parameter creator
|
|
42677
|
+
* @export
|
|
42678
|
+
*/
|
|
42679
|
+
export const InviteLinkApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42680
|
+
return {
|
|
42681
|
+
/**
|
|
42682
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
42683
|
+
* @summary Create invite link
|
|
42684
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
42685
|
+
* @param {*} [options] Override http request option.
|
|
42686
|
+
* @throws {RequiredError}
|
|
42687
|
+
*/
|
|
42688
|
+
inviteLinkControllerCreate: async (
|
|
42689
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
42690
|
+
options: RawAxiosRequestConfig = {},
|
|
42691
|
+
): Promise<RequestArgs> => {
|
|
42692
|
+
const localVarPath = `/invite-link`;
|
|
42693
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42694
|
+
let baseOptions;
|
|
42695
|
+
if (configuration) {
|
|
42696
|
+
baseOptions = configuration.baseOptions;
|
|
42697
|
+
}
|
|
42698
|
+
|
|
42699
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42700
|
+
const localVarHeaderParameter = {} as any;
|
|
42701
|
+
const localVarQueryParameter = {} as any;
|
|
42702
|
+
|
|
42703
|
+
// authentication domainAuth required
|
|
42704
|
+
|
|
42705
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42706
|
+
|
|
42707
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42708
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42709
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42710
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
42711
|
+
inviteLinkCreateInputDTO,
|
|
42712
|
+
localVarRequestOptions,
|
|
42713
|
+
configuration,
|
|
42714
|
+
);
|
|
42715
|
+
|
|
42716
|
+
return {
|
|
42717
|
+
url: toPathString(localVarUrlObj),
|
|
42718
|
+
options: localVarRequestOptions,
|
|
42719
|
+
};
|
|
42720
|
+
},
|
|
42721
|
+
/**
|
|
42722
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
42723
|
+
* @summary Preview
|
|
42724
|
+
* @param {string} token
|
|
42725
|
+
* @param {*} [options] Override http request option.
|
|
42726
|
+
* @throws {RequiredError}
|
|
42727
|
+
*/
|
|
42728
|
+
inviteLinkControllerPreview: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42729
|
+
assertParamExists('inviteLinkControllerPreview', 'token', token);
|
|
42730
|
+
const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
|
|
42731
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42732
|
+
let baseOptions;
|
|
42733
|
+
if (configuration) {
|
|
42734
|
+
baseOptions = configuration.baseOptions;
|
|
42735
|
+
}
|
|
42736
|
+
|
|
42737
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
42738
|
+
const localVarHeaderParameter = {} as any;
|
|
42739
|
+
const localVarQueryParameter = {} as any;
|
|
42740
|
+
|
|
42741
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42742
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42743
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42744
|
+
|
|
42745
|
+
return {
|
|
42746
|
+
url: toPathString(localVarUrlObj),
|
|
42747
|
+
options: localVarRequestOptions,
|
|
42748
|
+
};
|
|
42749
|
+
},
|
|
42750
|
+
/**
|
|
42751
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
42752
|
+
* @summary Redeem
|
|
42753
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
42754
|
+
* @param {*} [options] Override http request option.
|
|
42755
|
+
* @throws {RequiredError}
|
|
42756
|
+
*/
|
|
42757
|
+
inviteLinkControllerRedeem: async (
|
|
42758
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
42759
|
+
options: RawAxiosRequestConfig = {},
|
|
42760
|
+
): Promise<RequestArgs> => {
|
|
42761
|
+
const localVarPath = `/invite-link/redeem`;
|
|
42762
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42763
|
+
let baseOptions;
|
|
42764
|
+
if (configuration) {
|
|
42765
|
+
baseOptions = configuration.baseOptions;
|
|
42766
|
+
}
|
|
42767
|
+
|
|
42768
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42769
|
+
const localVarHeaderParameter = {} as any;
|
|
42770
|
+
const localVarQueryParameter = {} as any;
|
|
42771
|
+
|
|
42772
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42773
|
+
|
|
42774
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42775
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42776
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42777
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
|
|
42778
|
+
|
|
42779
|
+
return {
|
|
42780
|
+
url: toPathString(localVarUrlObj),
|
|
42781
|
+
options: localVarRequestOptions,
|
|
42782
|
+
};
|
|
42783
|
+
},
|
|
42784
|
+
/**
|
|
42785
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
42786
|
+
* @summary Revoke
|
|
42787
|
+
* @param {string} id
|
|
42788
|
+
* @param {*} [options] Override http request option.
|
|
42789
|
+
* @throws {RequiredError}
|
|
42790
|
+
*/
|
|
42791
|
+
inviteLinkControllerRevoke: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42792
|
+
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
42793
|
+
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
42794
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42795
|
+
let baseOptions;
|
|
42796
|
+
if (configuration) {
|
|
42797
|
+
baseOptions = configuration.baseOptions;
|
|
42798
|
+
}
|
|
42799
|
+
|
|
42800
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
42801
|
+
const localVarHeaderParameter = {} as any;
|
|
42802
|
+
const localVarQueryParameter = {} as any;
|
|
42803
|
+
|
|
42804
|
+
// authentication domainAuth required
|
|
42805
|
+
|
|
42806
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42807
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42808
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42809
|
+
|
|
42810
|
+
return {
|
|
42811
|
+
url: toPathString(localVarUrlObj),
|
|
42812
|
+
options: localVarRequestOptions,
|
|
42813
|
+
};
|
|
42814
|
+
},
|
|
42815
|
+
/**
|
|
42816
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
42817
|
+
* @summary Search
|
|
42818
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
42819
|
+
* @param {*} [options] Override http request option.
|
|
42820
|
+
* @throws {RequiredError}
|
|
42821
|
+
*/
|
|
42822
|
+
inviteLinkControllerSearch: async (
|
|
42823
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
42824
|
+
options: RawAxiosRequestConfig = {},
|
|
42825
|
+
): Promise<RequestArgs> => {
|
|
42826
|
+
const localVarPath = `/invite-link/search`;
|
|
42827
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42828
|
+
let baseOptions;
|
|
42829
|
+
if (configuration) {
|
|
42830
|
+
baseOptions = configuration.baseOptions;
|
|
42831
|
+
}
|
|
42832
|
+
|
|
42833
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42834
|
+
const localVarHeaderParameter = {} as any;
|
|
42835
|
+
const localVarQueryParameter = {} as any;
|
|
42836
|
+
|
|
42837
|
+
// authentication domainAuth required
|
|
42838
|
+
|
|
42839
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42840
|
+
|
|
42841
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42842
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42843
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42844
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
42845
|
+
inviteLinkSearchInputDTO,
|
|
42846
|
+
localVarRequestOptions,
|
|
42847
|
+
configuration,
|
|
42848
|
+
);
|
|
42849
|
+
|
|
42850
|
+
return {
|
|
42851
|
+
url: toPathString(localVarUrlObj),
|
|
42852
|
+
options: localVarRequestOptions,
|
|
42853
|
+
};
|
|
42854
|
+
},
|
|
42855
|
+
};
|
|
42856
|
+
};
|
|
42857
|
+
|
|
42858
|
+
/**
|
|
42859
|
+
* InviteLinkApi - functional programming interface
|
|
42860
|
+
* @export
|
|
42861
|
+
*/
|
|
42862
|
+
export const InviteLinkApiFp = function (configuration?: Configuration) {
|
|
42863
|
+
const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
|
|
42864
|
+
return {
|
|
42865
|
+
/**
|
|
42866
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
42867
|
+
* @summary Create invite link
|
|
42868
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
42869
|
+
* @param {*} [options] Override http request option.
|
|
42870
|
+
* @throws {RequiredError}
|
|
42871
|
+
*/
|
|
42872
|
+
async inviteLinkControllerCreate(
|
|
42873
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
42874
|
+
options?: RawAxiosRequestConfig,
|
|
42875
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
|
|
42876
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(
|
|
42877
|
+
inviteLinkCreateInputDTO,
|
|
42878
|
+
options,
|
|
42879
|
+
);
|
|
42880
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42881
|
+
const localVarOperationServerBasePath =
|
|
42882
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
42883
|
+
return (axios, basePath) =>
|
|
42884
|
+
createRequestFunction(
|
|
42885
|
+
localVarAxiosArgs,
|
|
42886
|
+
globalAxios,
|
|
42887
|
+
BASE_PATH,
|
|
42888
|
+
configuration,
|
|
42889
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
42890
|
+
},
|
|
42891
|
+
/**
|
|
42892
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
42893
|
+
* @summary Preview
|
|
42894
|
+
* @param {string} token
|
|
42895
|
+
* @param {*} [options] Override http request option.
|
|
42896
|
+
* @throws {RequiredError}
|
|
42897
|
+
*/
|
|
42898
|
+
async inviteLinkControllerPreview(
|
|
42899
|
+
token: string,
|
|
42900
|
+
options?: RawAxiosRequestConfig,
|
|
42901
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkPreviewDTOAPI>> {
|
|
42902
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
|
|
42903
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42904
|
+
const localVarOperationServerBasePath =
|
|
42905
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
|
|
42906
|
+
return (axios, basePath) =>
|
|
42907
|
+
createRequestFunction(
|
|
42908
|
+
localVarAxiosArgs,
|
|
42909
|
+
globalAxios,
|
|
42910
|
+
BASE_PATH,
|
|
42911
|
+
configuration,
|
|
42912
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
42913
|
+
},
|
|
42914
|
+
/**
|
|
42915
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
42916
|
+
* @summary Redeem
|
|
42917
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
42918
|
+
* @param {*} [options] Override http request option.
|
|
42919
|
+
* @throws {RequiredError}
|
|
42920
|
+
*/
|
|
42921
|
+
async inviteLinkControllerRedeem(
|
|
42922
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
42923
|
+
options?: RawAxiosRequestConfig,
|
|
42924
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOutputWithRolesDTOAPI>> {
|
|
42925
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
|
|
42926
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42927
|
+
const localVarOperationServerBasePath =
|
|
42928
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
|
|
42929
|
+
return (axios, basePath) =>
|
|
42930
|
+
createRequestFunction(
|
|
42931
|
+
localVarAxiosArgs,
|
|
42932
|
+
globalAxios,
|
|
42933
|
+
BASE_PATH,
|
|
42934
|
+
configuration,
|
|
42935
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
42936
|
+
},
|
|
42937
|
+
/**
|
|
42938
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
42939
|
+
* @summary Revoke
|
|
42940
|
+
* @param {string} id
|
|
42941
|
+
* @param {*} [options] Override http request option.
|
|
42942
|
+
* @throws {RequiredError}
|
|
42943
|
+
*/
|
|
42944
|
+
async inviteLinkControllerRevoke(
|
|
42945
|
+
id: string,
|
|
42946
|
+
options?: RawAxiosRequestConfig,
|
|
42947
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
42948
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
42949
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42950
|
+
const localVarOperationServerBasePath =
|
|
42951
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
42952
|
+
return (axios, basePath) =>
|
|
42953
|
+
createRequestFunction(
|
|
42954
|
+
localVarAxiosArgs,
|
|
42955
|
+
globalAxios,
|
|
42956
|
+
BASE_PATH,
|
|
42957
|
+
configuration,
|
|
42958
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
42959
|
+
},
|
|
42960
|
+
/**
|
|
42961
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
42962
|
+
* @summary Search
|
|
42963
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
42964
|
+
* @param {*} [options] Override http request option.
|
|
42965
|
+
* @throws {RequiredError}
|
|
42966
|
+
*/
|
|
42967
|
+
async inviteLinkControllerSearch(
|
|
42968
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
42969
|
+
options?: RawAxiosRequestConfig,
|
|
42970
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkOutputArrayDTOAPI>> {
|
|
42971
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(
|
|
42972
|
+
inviteLinkSearchInputDTO,
|
|
42973
|
+
options,
|
|
42974
|
+
);
|
|
42975
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42976
|
+
const localVarOperationServerBasePath =
|
|
42977
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
42978
|
+
return (axios, basePath) =>
|
|
42979
|
+
createRequestFunction(
|
|
42980
|
+
localVarAxiosArgs,
|
|
42981
|
+
globalAxios,
|
|
42982
|
+
BASE_PATH,
|
|
42983
|
+
configuration,
|
|
42984
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
42985
|
+
},
|
|
42986
|
+
};
|
|
42987
|
+
};
|
|
42988
|
+
|
|
42989
|
+
/**
|
|
42990
|
+
* InviteLinkApi - factory interface
|
|
42991
|
+
* @export
|
|
42992
|
+
*/
|
|
42993
|
+
export const InviteLinkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
42994
|
+
const localVarFp = InviteLinkApiFp(configuration);
|
|
42995
|
+
return {
|
|
42996
|
+
/**
|
|
42997
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
42998
|
+
* @summary Create invite link
|
|
42999
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
43000
|
+
* @param {*} [options] Override http request option.
|
|
43001
|
+
* @throws {RequiredError}
|
|
43002
|
+
*/
|
|
43003
|
+
inviteLinkControllerCreate(
|
|
43004
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
43005
|
+
options?: RawAxiosRequestConfig,
|
|
43006
|
+
): AxiosPromise<InviteLinkCreateResultDTOAPI> {
|
|
43007
|
+
return localVarFp
|
|
43008
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
43009
|
+
.then((request) => request(axios, basePath));
|
|
43010
|
+
},
|
|
43011
|
+
/**
|
|
43012
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
43013
|
+
* @summary Preview
|
|
43014
|
+
* @param {string} token
|
|
43015
|
+
* @param {*} [options] Override http request option.
|
|
43016
|
+
* @throws {RequiredError}
|
|
43017
|
+
*/
|
|
43018
|
+
inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig): AxiosPromise<InviteLinkPreviewDTOAPI> {
|
|
43019
|
+
return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
|
|
43020
|
+
},
|
|
43021
|
+
/**
|
|
43022
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
43023
|
+
* @summary Redeem
|
|
43024
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
43025
|
+
* @param {*} [options] Override http request option.
|
|
43026
|
+
* @throws {RequiredError}
|
|
43027
|
+
*/
|
|
43028
|
+
inviteLinkControllerRedeem(
|
|
43029
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
43030
|
+
options?: RawAxiosRequestConfig,
|
|
43031
|
+
): AxiosPromise<UserOutputWithRolesDTOAPI> {
|
|
43032
|
+
return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
|
|
43033
|
+
},
|
|
43034
|
+
/**
|
|
43035
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
43036
|
+
* @summary Revoke
|
|
43037
|
+
* @param {string} id
|
|
43038
|
+
* @param {*} [options] Override http request option.
|
|
43039
|
+
* @throws {RequiredError}
|
|
43040
|
+
*/
|
|
43041
|
+
inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
43042
|
+
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
43043
|
+
},
|
|
43044
|
+
/**
|
|
43045
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43046
|
+
* @summary Search
|
|
43047
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43048
|
+
* @param {*} [options] Override http request option.
|
|
43049
|
+
* @throws {RequiredError}
|
|
43050
|
+
*/
|
|
43051
|
+
inviteLinkControllerSearch(
|
|
43052
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43053
|
+
options?: RawAxiosRequestConfig,
|
|
43054
|
+
): AxiosPromise<InviteLinkOutputArrayDTOAPI> {
|
|
43055
|
+
return localVarFp
|
|
43056
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
43057
|
+
.then((request) => request(axios, basePath));
|
|
43058
|
+
},
|
|
43059
|
+
};
|
|
43060
|
+
};
|
|
43061
|
+
|
|
43062
|
+
/**
|
|
43063
|
+
* InviteLinkApi - object-oriented interface
|
|
43064
|
+
* @export
|
|
43065
|
+
* @class InviteLinkApi
|
|
43066
|
+
* @extends {BaseAPI}
|
|
43067
|
+
*/
|
|
43068
|
+
export class InviteLinkApi extends BaseAPI {
|
|
43069
|
+
/**
|
|
43070
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
43071
|
+
* @summary Create invite link
|
|
43072
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
43073
|
+
* @param {*} [options] Override http request option.
|
|
43074
|
+
* @throws {RequiredError}
|
|
43075
|
+
* @memberof InviteLinkApi
|
|
43076
|
+
*/
|
|
43077
|
+
public inviteLinkControllerCreate(
|
|
43078
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
43079
|
+
options?: RawAxiosRequestConfig,
|
|
43080
|
+
) {
|
|
43081
|
+
return InviteLinkApiFp(this.configuration)
|
|
43082
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
43083
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43084
|
+
}
|
|
43085
|
+
|
|
43086
|
+
/**
|
|
43087
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
43088
|
+
* @summary Preview
|
|
43089
|
+
* @param {string} token
|
|
43090
|
+
* @param {*} [options] Override http request option.
|
|
43091
|
+
* @throws {RequiredError}
|
|
43092
|
+
* @memberof InviteLinkApi
|
|
43093
|
+
*/
|
|
43094
|
+
public inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig) {
|
|
43095
|
+
return InviteLinkApiFp(this.configuration)
|
|
43096
|
+
.inviteLinkControllerPreview(token, options)
|
|
43097
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43098
|
+
}
|
|
43099
|
+
|
|
43100
|
+
/**
|
|
43101
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
43102
|
+
* @summary Redeem
|
|
43103
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
43104
|
+
* @param {*} [options] Override http request option.
|
|
43105
|
+
* @throws {RequiredError}
|
|
43106
|
+
* @memberof InviteLinkApi
|
|
43107
|
+
*/
|
|
43108
|
+
public inviteLinkControllerRedeem(redeemInputDTO?: RedeemInputDTO, options?: RawAxiosRequestConfig) {
|
|
43109
|
+
return InviteLinkApiFp(this.configuration)
|
|
43110
|
+
.inviteLinkControllerRedeem(redeemInputDTO, options)
|
|
43111
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43112
|
+
}
|
|
43113
|
+
|
|
43114
|
+
/**
|
|
43115
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
43116
|
+
* @summary Revoke
|
|
43117
|
+
* @param {string} id
|
|
43118
|
+
* @param {*} [options] Override http request option.
|
|
43119
|
+
* @throws {RequiredError}
|
|
43120
|
+
* @memberof InviteLinkApi
|
|
43121
|
+
*/
|
|
43122
|
+
public inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig) {
|
|
43123
|
+
return InviteLinkApiFp(this.configuration)
|
|
43124
|
+
.inviteLinkControllerRevoke(id, options)
|
|
43125
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43126
|
+
}
|
|
43127
|
+
|
|
43128
|
+
/**
|
|
43129
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43130
|
+
* @summary Search
|
|
43131
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43132
|
+
* @param {*} [options] Override http request option.
|
|
43133
|
+
* @throws {RequiredError}
|
|
43134
|
+
* @memberof InviteLinkApi
|
|
43135
|
+
*/
|
|
43136
|
+
public inviteLinkControllerSearch(
|
|
43137
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43138
|
+
options?: RawAxiosRequestConfig,
|
|
43139
|
+
) {
|
|
43140
|
+
return InviteLinkApiFp(this.configuration)
|
|
43141
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
43142
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43143
|
+
}
|
|
43144
|
+
}
|