@takaro/apiclient 0.0.0-dev.fbd8199 → 0.0.0-dev.fc4b15f
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 +114 -24
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +66 -10
- 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 +1 -1
- package/dist/lib/baseClient.d.ts.map +1 -1
- package/dist/lib/baseClient.js +4 -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 +27938 -0
- package/package.json +1 -1
- package/src/generated/api.ts +156 -26
- package/src/lib/adminClient.ts +5 -3
- package/src/lib/baseClient.ts +6 -4
- package/src/lib/client.ts +5 -4
- package/src/main.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -2232,16 +2232,16 @@ export interface DomainCreateInputDTO {
|
|
|
2232
2232
|
maxDiscordLinkedRoles?: number;
|
|
2233
2233
|
/**
|
|
2234
2234
|
*
|
|
2235
|
-
* @type {
|
|
2235
|
+
* @type {boolean}
|
|
2236
2236
|
* @memberof DomainCreateInputDTO
|
|
2237
2237
|
*/
|
|
2238
|
-
|
|
2238
|
+
skipBuiltinSeeding?: boolean;
|
|
2239
2239
|
/**
|
|
2240
2240
|
*
|
|
2241
|
-
* @type {
|
|
2241
|
+
* @type {string}
|
|
2242
2242
|
* @memberof DomainCreateInputDTO
|
|
2243
2243
|
*/
|
|
2244
|
-
|
|
2244
|
+
serverRegistrationToken?: string;
|
|
2245
2245
|
}
|
|
2246
2246
|
export declare const DomainCreateInputDTOStateEnum: {
|
|
2247
2247
|
readonly Active: "ACTIVE";
|
|
@@ -3071,19 +3071,19 @@ export interface ErrorOutput {
|
|
|
3071
3071
|
* @type {string}
|
|
3072
3072
|
* @memberof ErrorOutput
|
|
3073
3073
|
*/
|
|
3074
|
-
code
|
|
3074
|
+
code?: string;
|
|
3075
3075
|
/**
|
|
3076
3076
|
*
|
|
3077
3077
|
* @type {string}
|
|
3078
3078
|
* @memberof ErrorOutput
|
|
3079
3079
|
*/
|
|
3080
|
-
message
|
|
3080
|
+
message?: string;
|
|
3081
3081
|
/**
|
|
3082
3082
|
*
|
|
3083
3083
|
* @type {string}
|
|
3084
3084
|
* @memberof ErrorOutput
|
|
3085
3085
|
*/
|
|
3086
|
-
details
|
|
3086
|
+
details?: string;
|
|
3087
3087
|
}
|
|
3088
3088
|
/**
|
|
3089
3089
|
*
|
|
@@ -3096,7 +3096,7 @@ export interface EventChatMessage {
|
|
|
3096
3096
|
* @type {IGamePlayer}
|
|
3097
3097
|
* @memberof EventChatMessage
|
|
3098
3098
|
*/
|
|
3099
|
-
player
|
|
3099
|
+
player?: IGamePlayer;
|
|
3100
3100
|
/**
|
|
3101
3101
|
*
|
|
3102
3102
|
* @type {string}
|
|
@@ -8055,7 +8055,7 @@ export interface MetadataOutput {
|
|
|
8055
8055
|
* @type {ErrorOutput}
|
|
8056
8056
|
* @memberof MetadataOutput
|
|
8057
8057
|
*/
|
|
8058
|
-
error
|
|
8058
|
+
error?: ErrorOutput;
|
|
8059
8059
|
/**
|
|
8060
8060
|
*
|
|
8061
8061
|
* @type {number}
|
|
@@ -12305,7 +12305,7 @@ export interface RedirectQs {
|
|
|
12305
12305
|
* @type {string}
|
|
12306
12306
|
* @memberof RedirectQs
|
|
12307
12307
|
*/
|
|
12308
|
-
redirect
|
|
12308
|
+
redirect?: string;
|
|
12309
12309
|
}
|
|
12310
12310
|
/**
|
|
12311
12311
|
*
|
|
@@ -15994,6 +15994,36 @@ export interface TakaroEventHookExecuted {
|
|
|
15994
15994
|
* @interface TakaroEventInviteLinkCreated
|
|
15995
15995
|
*/
|
|
15996
15996
|
export interface TakaroEventInviteLinkCreated {
|
|
15997
|
+
/**
|
|
15998
|
+
*
|
|
15999
|
+
* @type {string}
|
|
16000
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16001
|
+
*/
|
|
16002
|
+
inviteLinkId: string;
|
|
16003
|
+
/**
|
|
16004
|
+
*
|
|
16005
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
16006
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16007
|
+
*/
|
|
16008
|
+
expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16009
|
+
/**
|
|
16010
|
+
*
|
|
16011
|
+
* @type {number}
|
|
16012
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16013
|
+
*/
|
|
16014
|
+
maxUses: number;
|
|
16015
|
+
/**
|
|
16016
|
+
*
|
|
16017
|
+
* @type {Array<string>}
|
|
16018
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16019
|
+
*/
|
|
16020
|
+
roleIds: Array<string>;
|
|
16021
|
+
/**
|
|
16022
|
+
*
|
|
16023
|
+
* @type {boolean}
|
|
16024
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16025
|
+
*/
|
|
16026
|
+
staffOrigin: boolean;
|
|
15997
16027
|
/**
|
|
15998
16028
|
*
|
|
15999
16029
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
@@ -17348,6 +17378,37 @@ export interface UserCreateInputDTO {
|
|
|
17348
17378
|
*/
|
|
17349
17379
|
isDashboardUser?: boolean;
|
|
17350
17380
|
}
|
|
17381
|
+
/**
|
|
17382
|
+
*
|
|
17383
|
+
* @export
|
|
17384
|
+
* @interface UserCreateInviteDTO
|
|
17385
|
+
*/
|
|
17386
|
+
export interface UserCreateInviteDTO {
|
|
17387
|
+
/**
|
|
17388
|
+
*
|
|
17389
|
+
* @type {string}
|
|
17390
|
+
* @memberof UserCreateInviteDTO
|
|
17391
|
+
*/
|
|
17392
|
+
name: string;
|
|
17393
|
+
/**
|
|
17394
|
+
*
|
|
17395
|
+
* @type {string}
|
|
17396
|
+
* @memberof UserCreateInviteDTO
|
|
17397
|
+
*/
|
|
17398
|
+
email: string;
|
|
17399
|
+
/**
|
|
17400
|
+
*
|
|
17401
|
+
* @type {string}
|
|
17402
|
+
* @memberof UserCreateInviteDTO
|
|
17403
|
+
*/
|
|
17404
|
+
idpId?: string;
|
|
17405
|
+
/**
|
|
17406
|
+
*
|
|
17407
|
+
* @type {boolean}
|
|
17408
|
+
* @memberof UserCreateInviteDTO
|
|
17409
|
+
*/
|
|
17410
|
+
isDashboardUser?: boolean;
|
|
17411
|
+
}
|
|
17351
17412
|
/**
|
|
17352
17413
|
*
|
|
17353
17414
|
* @export
|
|
@@ -17451,7 +17512,7 @@ export interface UserOutputDTO {
|
|
|
17451
17512
|
* @type {PlayerOutputWithRolesDTO}
|
|
17452
17513
|
* @memberof UserOutputDTO
|
|
17453
17514
|
*/
|
|
17454
|
-
player
|
|
17515
|
+
player?: PlayerOutputWithRolesDTO;
|
|
17455
17516
|
/**
|
|
17456
17517
|
*
|
|
17457
17518
|
* @type {boolean}
|
|
@@ -17579,7 +17640,7 @@ export interface UserOutputWithRolesDTO {
|
|
|
17579
17640
|
* @type {PlayerOutputWithRolesDTO}
|
|
17580
17641
|
* @memberof UserOutputWithRolesDTO
|
|
17581
17642
|
*/
|
|
17582
|
-
player
|
|
17643
|
+
player?: PlayerOutputWithRolesDTO;
|
|
17583
17644
|
/**
|
|
17584
17645
|
*
|
|
17585
17646
|
* @type {boolean}
|
|
@@ -21200,7 +21261,7 @@ export declare const DomainApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
21200
21261
|
domainControllerCreate: (domainCreateInputDTO?: DomainCreateInputDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21201
21262
|
/**
|
|
21202
21263
|
* 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`
|
|
21203
|
-
* @summary Create
|
|
21264
|
+
* @summary Create staff-recovery invite link for a domain
|
|
21204
21265
|
* @param {string} id
|
|
21205
21266
|
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
21206
21267
|
* @param {*} [options] Override http request option.
|
|
@@ -21273,7 +21334,7 @@ export declare const DomainApiFp: (configuration?: Configuration) => {
|
|
|
21273
21334
|
domainControllerCreate(domainCreateInputDTO?: DomainCreateInputDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainCreateOutputDTOAPI>>;
|
|
21274
21335
|
/**
|
|
21275
21336
|
* 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`
|
|
21276
|
-
* @summary Create
|
|
21337
|
+
* @summary Create staff-recovery invite link for a domain
|
|
21277
21338
|
* @param {string} id
|
|
21278
21339
|
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
21279
21340
|
* @param {*} [options] Override http request option.
|
|
@@ -21346,7 +21407,7 @@ export declare const DomainApiFactory: (configuration?: Configuration, basePath?
|
|
|
21346
21407
|
domainControllerCreate(domainCreateInputDTO?: DomainCreateInputDTO, options?: RawAxiosRequestConfig): AxiosPromise<DomainCreateOutputDTOAPI>;
|
|
21347
21408
|
/**
|
|
21348
21409
|
* 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`
|
|
21349
|
-
* @summary Create
|
|
21410
|
+
* @summary Create staff-recovery invite link for a domain
|
|
21350
21411
|
* @param {string} id
|
|
21351
21412
|
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
21352
21413
|
* @param {*} [options] Override http request option.
|
|
@@ -21422,7 +21483,7 @@ export declare class DomainApi extends BaseAPI {
|
|
|
21422
21483
|
domainControllerCreate(domainCreateInputDTO?: DomainCreateInputDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainCreateOutputDTOAPI, any>>;
|
|
21423
21484
|
/**
|
|
21424
21485
|
* 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`
|
|
21425
|
-
* @summary Create
|
|
21486
|
+
* @summary Create staff-recovery invite link for a domain
|
|
21426
21487
|
* @param {string} id
|
|
21427
21488
|
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
21428
21489
|
* @param {*} [options] Override http request option.
|
|
@@ -21844,11 +21905,11 @@ export declare const ExternalAuthApiAxiosParamCreator: (configuration?: Configur
|
|
|
21844
21905
|
/**
|
|
21845
21906
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
21846
21907
|
* @summary Auth discord
|
|
21847
|
-
* @param {string} redirect
|
|
21908
|
+
* @param {string} [redirect]
|
|
21848
21909
|
* @param {*} [options] Override http request option.
|
|
21849
21910
|
* @throws {RequiredError}
|
|
21850
21911
|
*/
|
|
21851
|
-
externalAuthControllerAuthDiscord: (redirect
|
|
21912
|
+
externalAuthControllerAuthDiscord: (redirect?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21852
21913
|
/**
|
|
21853
21914
|
* <br> OperationId: `ExternalAuthControllerAuthDiscordReturn`
|
|
21854
21915
|
* @summary Auth discord return
|
|
@@ -21865,11 +21926,11 @@ export declare const ExternalAuthApiFp: (configuration?: Configuration) => {
|
|
|
21865
21926
|
/**
|
|
21866
21927
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
21867
21928
|
* @summary Auth discord
|
|
21868
|
-
* @param {string} redirect
|
|
21929
|
+
* @param {string} [redirect]
|
|
21869
21930
|
* @param {*} [options] Override http request option.
|
|
21870
21931
|
* @throws {RequiredError}
|
|
21871
21932
|
*/
|
|
21872
|
-
externalAuthControllerAuthDiscord(redirect
|
|
21933
|
+
externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
21873
21934
|
/**
|
|
21874
21935
|
* <br> OperationId: `ExternalAuthControllerAuthDiscordReturn`
|
|
21875
21936
|
* @summary Auth discord return
|
|
@@ -21886,11 +21947,11 @@ export declare const ExternalAuthApiFactory: (configuration?: Configuration, bas
|
|
|
21886
21947
|
/**
|
|
21887
21948
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
21888
21949
|
* @summary Auth discord
|
|
21889
|
-
* @param {string} redirect
|
|
21950
|
+
* @param {string} [redirect]
|
|
21890
21951
|
* @param {*} [options] Override http request option.
|
|
21891
21952
|
* @throws {RequiredError}
|
|
21892
21953
|
*/
|
|
21893
|
-
externalAuthControllerAuthDiscord(redirect
|
|
21954
|
+
externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21894
21955
|
/**
|
|
21895
21956
|
* <br> OperationId: `ExternalAuthControllerAuthDiscordReturn`
|
|
21896
21957
|
* @summary Auth discord return
|
|
@@ -21909,12 +21970,12 @@ export declare class ExternalAuthApi extends BaseAPI {
|
|
|
21909
21970
|
/**
|
|
21910
21971
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
21911
21972
|
* @summary Auth discord
|
|
21912
|
-
* @param {string} redirect
|
|
21973
|
+
* @param {string} [redirect]
|
|
21913
21974
|
* @param {*} [options] Override http request option.
|
|
21914
21975
|
* @throws {RequiredError}
|
|
21915
21976
|
* @memberof ExternalAuthApi
|
|
21916
21977
|
*/
|
|
21917
|
-
externalAuthControllerAuthDiscord(redirect
|
|
21978
|
+
externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
21918
21979
|
/**
|
|
21919
21980
|
* <br> OperationId: `ExternalAuthControllerAuthDiscordReturn`
|
|
21920
21981
|
* @summary Auth discord return
|
|
@@ -23643,6 +23704,13 @@ export declare const MetaApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
23643
23704
|
* @throws {RequiredError}
|
|
23644
23705
|
*/
|
|
23645
23706
|
metaGetHealth: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23707
|
+
/**
|
|
23708
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
23709
|
+
* @summary Get liveness
|
|
23710
|
+
* @param {*} [options] Override http request option.
|
|
23711
|
+
* @throws {RequiredError}
|
|
23712
|
+
*/
|
|
23713
|
+
metaGetLiveness: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23646
23714
|
/**
|
|
23647
23715
|
* <br> OperationId: `MetaGetMetrics`
|
|
23648
23716
|
* @summary Get metrics
|
|
@@ -23691,6 +23759,13 @@ export declare const MetaApiFp: (configuration?: Configuration) => {
|
|
|
23691
23759
|
* @throws {RequiredError}
|
|
23692
23760
|
*/
|
|
23693
23761
|
metaGetHealth(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HealthOutputDTO>>;
|
|
23762
|
+
/**
|
|
23763
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
23764
|
+
* @summary Get liveness
|
|
23765
|
+
* @param {*} [options] Override http request option.
|
|
23766
|
+
* @throws {RequiredError}
|
|
23767
|
+
*/
|
|
23768
|
+
metaGetLiveness(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HealthOutputDTO>>;
|
|
23694
23769
|
/**
|
|
23695
23770
|
* <br> OperationId: `MetaGetMetrics`
|
|
23696
23771
|
* @summary Get metrics
|
|
@@ -23739,6 +23814,13 @@ export declare const MetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
23739
23814
|
* @throws {RequiredError}
|
|
23740
23815
|
*/
|
|
23741
23816
|
metaGetHealth(options?: RawAxiosRequestConfig): AxiosPromise<HealthOutputDTO>;
|
|
23817
|
+
/**
|
|
23818
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
23819
|
+
* @summary Get liveness
|
|
23820
|
+
* @param {*} [options] Override http request option.
|
|
23821
|
+
* @throws {RequiredError}
|
|
23822
|
+
*/
|
|
23823
|
+
metaGetLiveness(options?: RawAxiosRequestConfig): AxiosPromise<HealthOutputDTO>;
|
|
23742
23824
|
/**
|
|
23743
23825
|
* <br> OperationId: `MetaGetMetrics`
|
|
23744
23826
|
* @summary Get metrics
|
|
@@ -23790,6 +23872,14 @@ export declare class MetaApi extends BaseAPI {
|
|
|
23790
23872
|
* @memberof MetaApi
|
|
23791
23873
|
*/
|
|
23792
23874
|
metaGetHealth(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HealthOutputDTO, any>>;
|
|
23875
|
+
/**
|
|
23876
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
23877
|
+
* @summary Get liveness
|
|
23878
|
+
* @param {*} [options] Override http request option.
|
|
23879
|
+
* @throws {RequiredError}
|
|
23880
|
+
* @memberof MetaApi
|
|
23881
|
+
*/
|
|
23882
|
+
metaGetLiveness(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HealthOutputDTO, any>>;
|
|
23793
23883
|
/**
|
|
23794
23884
|
* <br> OperationId: `MetaGetMetrics`
|
|
23795
23885
|
* @summary Get metrics
|