@takaro/apiclient 0.0.0-dev.eac6a8e → 0.0.0-dev.eae51e8
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/.source-hash +1 -1
- package/dist/generated/api.d.ts +1014 -36
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +593 -51
- package/dist/generated/api.js.map +1 -1
- package/dist/generated-management/api.d.ts +147 -32
- package/dist/generated-management/api.d.ts.map +1 -1
- package/dist/generated-management/api.js +25 -58
- package/dist/generated-management/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
|
@@ -183,6 +183,8 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
183
183
|
DomainCreated: 'domain-created',
|
|
184
184
|
DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
|
|
185
185
|
DomainPlanChanged: 'domain-plan-changed',
|
|
186
|
+
DiscordGuildEnabled: 'discord-guild-enabled',
|
|
187
|
+
ItemsGiven: 'items-given',
|
|
186
188
|
PlayerConnected: 'player-connected',
|
|
187
189
|
PlayerDisconnected: 'player-disconnected',
|
|
188
190
|
ChatMessage: 'chat-message',
|
|
@@ -236,6 +238,8 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
236
238
|
DomainCreated: 'domain-created',
|
|
237
239
|
DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
|
|
238
240
|
DomainPlanChanged: 'domain-plan-changed',
|
|
241
|
+
DiscordGuildEnabled: 'discord-guild-enabled',
|
|
242
|
+
ItemsGiven: 'items-given',
|
|
239
243
|
PlayerConnected: 'player-connected',
|
|
240
244
|
PlayerDisconnected: 'player-disconnected',
|
|
241
245
|
ChatMessage: 'chat-message',
|
|
@@ -363,6 +367,8 @@ export const HookCreateDTOEventTypeEnum = {
|
|
|
363
367
|
DomainCreated: 'domain-created',
|
|
364
368
|
DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
|
|
365
369
|
DomainPlanChanged: 'domain-plan-changed',
|
|
370
|
+
DiscordGuildEnabled: 'discord-guild-enabled',
|
|
371
|
+
ItemsGiven: 'items-given',
|
|
366
372
|
};
|
|
367
373
|
export const HookOutputDTOEventTypeEnum = {
|
|
368
374
|
Log: 'log',
|
|
@@ -418,6 +424,8 @@ export const HookOutputDTOEventTypeEnum = {
|
|
|
418
424
|
DomainCreated: 'domain-created',
|
|
419
425
|
DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
|
|
420
426
|
DomainPlanChanged: 'domain-plan-changed',
|
|
427
|
+
DiscordGuildEnabled: 'discord-guild-enabled',
|
|
428
|
+
ItemsGiven: 'items-given',
|
|
421
429
|
};
|
|
422
430
|
export const HookTriggerDTOEventTypeEnum = {
|
|
423
431
|
Log: 'log',
|
|
@@ -473,6 +481,8 @@ export const HookTriggerDTOEventTypeEnum = {
|
|
|
473
481
|
DomainCreated: 'domain-created',
|
|
474
482
|
DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
|
|
475
483
|
DomainPlanChanged: 'domain-plan-changed',
|
|
484
|
+
DiscordGuildEnabled: 'discord-guild-enabled',
|
|
485
|
+
ItemsGiven: 'items-given',
|
|
476
486
|
};
|
|
477
487
|
export const HookUpdateDTOEventTypeEnum = {
|
|
478
488
|
Log: 'log',
|
|
@@ -528,6 +538,8 @@ export const HookUpdateDTOEventTypeEnum = {
|
|
|
528
538
|
DomainCreated: 'domain-created',
|
|
529
539
|
DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
|
|
530
540
|
DomainPlanChanged: 'domain-plan-changed',
|
|
541
|
+
DiscordGuildEnabled: 'discord-guild-enabled',
|
|
542
|
+
ItemsGiven: 'items-given',
|
|
531
543
|
};
|
|
532
544
|
export const IEntityDTOTypeEnum = {
|
|
533
545
|
Hostile: 'hostile',
|
|
@@ -588,6 +600,8 @@ export const IHookEventTypeEnum = {
|
|
|
588
600
|
DomainCreated: 'domain-created',
|
|
589
601
|
DomainRegistrationTokenRegenerated: 'domain-registration-token-regenerated',
|
|
590
602
|
DomainPlanChanged: 'domain-plan-changed',
|
|
603
|
+
DiscordGuildEnabled: 'discord-guild-enabled',
|
|
604
|
+
ItemsGiven: 'items-given',
|
|
591
605
|
};
|
|
592
606
|
export const ITakaroQuerySortDirectionEnum = {
|
|
593
607
|
Asc: 'asc',
|
|
@@ -887,6 +901,17 @@ export const TakaroAiUsageOutputDTOStatusEnum = {
|
|
|
887
901
|
NoAllowance: 'noAllowance',
|
|
888
902
|
NeedsGameServer: 'needsGameServer',
|
|
889
903
|
};
|
|
904
|
+
export const TakaroEventDomainCreatedOriginEnum = {
|
|
905
|
+
Distributor: 'distributor',
|
|
906
|
+
Staff: 'staff',
|
|
907
|
+
Subscription: 'subscription',
|
|
908
|
+
AdminSecret: 'admin_secret',
|
|
909
|
+
};
|
|
910
|
+
export const TakaroEventItemsGivenLineResultEnum = {
|
|
911
|
+
Delivered: 'DELIVERED',
|
|
912
|
+
Failed: 'FAILED',
|
|
913
|
+
Unknown: 'UNKNOWN',
|
|
914
|
+
};
|
|
890
915
|
export const TakaroEventPlayerInventoryChangedChangeTypeEnum = {
|
|
891
916
|
Added: 'added',
|
|
892
917
|
Removed: 'removed',
|
|
@@ -4494,31 +4519,6 @@ export const MetaApiAxiosParamCreator = function (configuration) {
|
|
|
4494
4519
|
options: localVarRequestOptions,
|
|
4495
4520
|
};
|
|
4496
4521
|
},
|
|
4497
|
-
/**
|
|
4498
|
-
* <br> OperationId: `MetaGetMetrics`
|
|
4499
|
-
* @summary Get metrics
|
|
4500
|
-
* @param {*} [options] Override http request option.
|
|
4501
|
-
* @throws {RequiredError}
|
|
4502
|
-
*/
|
|
4503
|
-
metaGetMetrics: async (options = {}) => {
|
|
4504
|
-
const localVarPath = `/metrics`;
|
|
4505
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4506
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4507
|
-
let baseOptions;
|
|
4508
|
-
if (configuration) {
|
|
4509
|
-
baseOptions = configuration.baseOptions;
|
|
4510
|
-
}
|
|
4511
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4512
|
-
const localVarHeaderParameter = {};
|
|
4513
|
-
const localVarQueryParameter = {};
|
|
4514
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4515
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4516
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4517
|
-
return {
|
|
4518
|
-
url: toPathString(localVarUrlObj),
|
|
4519
|
-
options: localVarRequestOptions,
|
|
4520
|
-
};
|
|
4521
|
-
},
|
|
4522
4522
|
/**
|
|
4523
4523
|
* <br> OperationId: `MetaGetOpenApi`
|
|
4524
4524
|
* @summary Get open api
|
|
@@ -4652,18 +4652,6 @@ export const MetaApiFp = function (configuration) {
|
|
|
4652
4652
|
const localVarOperationServerBasePath = operationServerMap['MetaApi.metaGetLiveness']?.[localVarOperationServerIndex]?.url;
|
|
4653
4653
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4654
4654
|
},
|
|
4655
|
-
/**
|
|
4656
|
-
* <br> OperationId: `MetaGetMetrics`
|
|
4657
|
-
* @summary Get metrics
|
|
4658
|
-
* @param {*} [options] Override http request option.
|
|
4659
|
-
* @throws {RequiredError}
|
|
4660
|
-
*/
|
|
4661
|
-
async metaGetMetrics(options) {
|
|
4662
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetMetrics(options);
|
|
4663
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4664
|
-
const localVarOperationServerBasePath = operationServerMap['MetaApi.metaGetMetrics']?.[localVarOperationServerIndex]?.url;
|
|
4665
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4666
|
-
},
|
|
4667
4655
|
/**
|
|
4668
4656
|
* <br> OperationId: `MetaGetOpenApi`
|
|
4669
4657
|
* @summary Get open api
|
|
@@ -4739,15 +4727,6 @@ export const MetaApiFactory = function (configuration, basePath, axios) {
|
|
|
4739
4727
|
metaGetLiveness(options) {
|
|
4740
4728
|
return localVarFp.metaGetLiveness(options).then((request) => request(axios, basePath));
|
|
4741
4729
|
},
|
|
4742
|
-
/**
|
|
4743
|
-
* <br> OperationId: `MetaGetMetrics`
|
|
4744
|
-
* @summary Get metrics
|
|
4745
|
-
* @param {*} [options] Override http request option.
|
|
4746
|
-
* @throws {RequiredError}
|
|
4747
|
-
*/
|
|
4748
|
-
metaGetMetrics(options) {
|
|
4749
|
-
return localVarFp.metaGetMetrics(options).then((request) => request(axios, basePath));
|
|
4750
|
-
},
|
|
4751
4730
|
/**
|
|
4752
4731
|
* <br> OperationId: `MetaGetOpenApi`
|
|
4753
4732
|
* @summary Get open api
|
|
@@ -4817,18 +4796,6 @@ export class MetaApi extends BaseAPI {
|
|
|
4817
4796
|
.metaGetLiveness(options)
|
|
4818
4797
|
.then((request) => request(this.axios, this.basePath));
|
|
4819
4798
|
}
|
|
4820
|
-
/**
|
|
4821
|
-
* <br> OperationId: `MetaGetMetrics`
|
|
4822
|
-
* @summary Get metrics
|
|
4823
|
-
* @param {*} [options] Override http request option.
|
|
4824
|
-
* @throws {RequiredError}
|
|
4825
|
-
* @memberof MetaApi
|
|
4826
|
-
*/
|
|
4827
|
-
metaGetMetrics(options) {
|
|
4828
|
-
return MetaApiFp(this.configuration)
|
|
4829
|
-
.metaGetMetrics(options)
|
|
4830
|
-
.then((request) => request(this.axios, this.basePath));
|
|
4831
|
-
}
|
|
4832
4799
|
/**
|
|
4833
4800
|
* <br> OperationId: `MetaGetOpenApi`
|
|
4834
4801
|
* @summary Get open api
|