@takaro/apiclient 0.0.0-dev.56b1587 → 0.0.0-dev.5837e7e
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 +13318 -9028
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +8231 -5960
- package/dist/generated/api.js.map +1 -1
- package/dist/generated/common.d.ts +1 -1
- package/dist/generated/common.d.ts.map +1 -1
- package/dist/generated-management/api.d.ts +9850 -5285
- package/dist/generated-management/api.d.ts.map +1 -1
- package/dist/generated-management/api.js +1885 -194
- package/dist/generated-management/api.js.map +1 -1
- package/dist/generated-management/common.d.ts +1 -1
- package/dist/generated-management/common.d.ts.map +1 -1
- package/dist/lib/adminClient.d.ts +4 -1
- package/dist/lib/adminClient.d.ts.map +1 -1
- package/dist/lib/adminClient.js +10 -1
- package/dist/lib/adminClient.js.map +1 -1
- package/dist/lib/apiKey.d.ts +0 -15
- package/dist/lib/apiKey.d.ts.map +1 -1
- package/dist/lib/apiKey.js +2 -19
- package/dist/lib/apiKey.js.map +1 -1
- package/dist/lib/baseClient.d.ts +1 -27
- package/dist/lib/baseClient.d.ts.map +1 -1
- package/dist/lib/baseClient.js +3 -18
- package/dist/lib/baseClient.js.map +1 -1
- package/dist/lib/client.d.ts +8 -23
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +22 -23
- package/dist/lib/client.js.map +1 -1
- package/dist/lib/distributorClient.d.ts +0 -6
- package/dist/lib/distributorClient.d.ts.map +1 -1
- package/dist/lib/distributorClient.js +1 -7
- package/dist/lib/distributorClient.js.map +1 -1
- package/dist/lib/staffClient.d.ts +3 -12
- package/dist/lib/staffClient.d.ts.map +1 -1
- package/dist/lib/staffClient.js +7 -12
- package/dist/lib/staffClient.js.map +1 -1
- package/dist/main.d.ts +2 -2
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +3 -5
- package/dist/main.js.map +1 -1
- package/package.json +3 -3
|
@@ -242,6 +242,31 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
242
242
|
PlayerDeath: 'player-death',
|
|
243
243
|
EntityKilled: 'entity-killed',
|
|
244
244
|
};
|
|
245
|
+
export const FixtureHistoryConflictDTOKindEnum = {
|
|
246
|
+
TakaroPlayer: 'takaro-player',
|
|
247
|
+
TakaroPog: 'takaro-pog',
|
|
248
|
+
};
|
|
249
|
+
export const FixtureHistoryDeleteInputDTOStoreEnum = {
|
|
250
|
+
Analytics: 'analytics',
|
|
251
|
+
Postgres: 'postgres',
|
|
252
|
+
};
|
|
253
|
+
export const FixtureHistoryEventDTOEventNameEnum = {
|
|
254
|
+
PlayerConnected: 'player-connected',
|
|
255
|
+
PlayerDisconnected: 'player-disconnected',
|
|
256
|
+
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
257
|
+
ChatMessage: 'chat-message',
|
|
258
|
+
CurrencyAdded: 'currency-added',
|
|
259
|
+
CurrencyDeducted: 'currency-deducted',
|
|
260
|
+
ShopOrderCreated: 'shop-order-created',
|
|
261
|
+
ShopOrderStatusChanged: 'shop-order-status-changed',
|
|
262
|
+
};
|
|
263
|
+
export const FixtureHistoryListingConflictDTOKindEnum = {
|
|
264
|
+
TakaroListing: 'takaro-listing',
|
|
265
|
+
};
|
|
266
|
+
export const FixtureHistoryOrderDTOStatusEnum = {
|
|
267
|
+
Completed: 'COMPLETED',
|
|
268
|
+
Canceled: 'CANCELED',
|
|
269
|
+
};
|
|
245
270
|
export const GameServerCreateDTOTypeEnum = {
|
|
246
271
|
Sevendaystodie: 'SEVENDAYSTODIE',
|
|
247
272
|
Rust: 'RUST',
|
|
@@ -266,6 +291,24 @@ export const GameServerUpdateDTOTypeEnum = {
|
|
|
266
291
|
Generic: 'GENERIC',
|
|
267
292
|
Mock: 'MOCK',
|
|
268
293
|
};
|
|
294
|
+
export const GetJobInputDTOTypeEnum = {
|
|
295
|
+
CsmmImport: 'csmmImport',
|
|
296
|
+
SeedModules: 'seedModules',
|
|
297
|
+
CleanEvents: 'cleanEvents',
|
|
298
|
+
CleanExpiringVariables: 'cleanExpiringVariables',
|
|
299
|
+
EnsureCronjobsScheduled: 'ensureCronjobsScheduled',
|
|
300
|
+
DeleteGameServers: 'deleteGameServers',
|
|
301
|
+
SyncItems: 'syncItems',
|
|
302
|
+
SyncEntities: 'syncEntities',
|
|
303
|
+
SyncBans: 'syncBans',
|
|
304
|
+
SyncMapImages: 'syncMapImages',
|
|
305
|
+
SyncMapUploads: 'syncMapUploads',
|
|
306
|
+
SyncSteam: 'syncSteam',
|
|
307
|
+
SyncDiscordRoles: 'syncDiscordRoles',
|
|
308
|
+
EmitRateLimitSummary: 'emitRateLimitSummary',
|
|
309
|
+
CleanRevokedApiKeys: 'cleanRevokedApiKeys',
|
|
310
|
+
CleanExecutionClaims: 'cleanExecutionClaims',
|
|
311
|
+
};
|
|
269
312
|
export const HookCreateDTOEventTypeEnum = {
|
|
270
313
|
Log: 'log',
|
|
271
314
|
PlayerConnected: 'player-connected',
|
|
@@ -592,6 +635,33 @@ export const ManagementDomainOutputDTOCustomDomainStateEnum = {
|
|
|
592
635
|
Verified: 'VERIFIED',
|
|
593
636
|
Failed: 'FAILED',
|
|
594
637
|
};
|
|
638
|
+
export const MapHorizontalAxisDTOFieldEnum = {
|
|
639
|
+
X: 'x',
|
|
640
|
+
Y: 'y',
|
|
641
|
+
Z: 'z',
|
|
642
|
+
};
|
|
643
|
+
export const MapHorizontalAxisDTODirectionEnum = {
|
|
644
|
+
Right: 'right',
|
|
645
|
+
Left: 'left',
|
|
646
|
+
};
|
|
647
|
+
export const MapPyramidDTOOriginEnum = {
|
|
648
|
+
Game: 'game',
|
|
649
|
+
Upload: 'upload',
|
|
650
|
+
};
|
|
651
|
+
export const MapSourceDTOTypeEnum = {
|
|
652
|
+
None: 'none',
|
|
653
|
+
Tiled: 'tiled',
|
|
654
|
+
Image: 'image',
|
|
655
|
+
};
|
|
656
|
+
export const MapVerticalAxisDTOFieldEnum = {
|
|
657
|
+
X: 'x',
|
|
658
|
+
Y: 'y',
|
|
659
|
+
Z: 'z',
|
|
660
|
+
};
|
|
661
|
+
export const MapVerticalAxisDTODirectionEnum = {
|
|
662
|
+
Up: 'up',
|
|
663
|
+
Down: 'down',
|
|
664
|
+
};
|
|
595
665
|
export const OrderStatusCountDTOStatusEnum = {
|
|
596
666
|
Completed: 'COMPLETED',
|
|
597
667
|
Paid: 'PAID',
|
|
@@ -674,6 +744,7 @@ export const SettingsOutputDTOKeyEnum = {
|
|
|
674
744
|
DiscordRoleSyncPreferDiscord: 'discordRoleSyncPreferDiscord',
|
|
675
745
|
UnknownCommandFeedbackEnabled: 'unknownCommandFeedbackEnabled',
|
|
676
746
|
UnknownCommandFeedbackMessage: 'unknownCommandFeedbackMessage',
|
|
747
|
+
TakaroAiEnabled: 'takaroAiEnabled',
|
|
677
748
|
};
|
|
678
749
|
export const SettingsOutputDTOTypeEnum = {
|
|
679
750
|
Override: 'override',
|
|
@@ -751,11 +822,24 @@ export const ShopListingUpdateDTORequiredVariableOperatorEnum = {
|
|
|
751
822
|
Gt: 'gt',
|
|
752
823
|
Lt: 'lt',
|
|
753
824
|
};
|
|
825
|
+
export const ShopOrderDeliveryItemDTOResultEnum = {
|
|
826
|
+
Delivered: 'DELIVERED',
|
|
827
|
+
Failed: 'FAILED',
|
|
828
|
+
Unknown: 'UNKNOWN',
|
|
829
|
+
};
|
|
754
830
|
export const ShopOrderOutputDTOStatusEnum = {
|
|
755
831
|
Completed: 'COMPLETED',
|
|
756
832
|
Paid: 'PAID',
|
|
757
833
|
Canceled: 'CANCELED',
|
|
758
834
|
};
|
|
835
|
+
export const ShopOrderOutputDTODeliveryStatusEnum = {
|
|
836
|
+
NotApplicable: 'NOT_APPLICABLE',
|
|
837
|
+
NotAttempted: 'NOT_ATTEMPTED',
|
|
838
|
+
InProgress: 'IN_PROGRESS',
|
|
839
|
+
Delivered: 'DELIVERED',
|
|
840
|
+
Failed: 'FAILED',
|
|
841
|
+
Unknown: 'UNKNOWN',
|
|
842
|
+
};
|
|
759
843
|
export const ShopOrderUpdateDTOStatusEnum = {
|
|
760
844
|
Completed: 'COMPLETED',
|
|
761
845
|
Paid: 'PAID',
|
|
@@ -771,6 +855,38 @@ export const StorefrontDomainOutputDTOCustomDomainStateEnum = {
|
|
|
771
855
|
Verified: 'VERIFIED',
|
|
772
856
|
Failed: 'FAILED',
|
|
773
857
|
};
|
|
858
|
+
export const TakaroAiDomainOutputDTOOverrideStateEnum = {
|
|
859
|
+
None: 'none',
|
|
860
|
+
Active: 'active',
|
|
861
|
+
Expired: 'expired',
|
|
862
|
+
};
|
|
863
|
+
export const TakaroAiDomainOutputDTOStatusEnum = {
|
|
864
|
+
Available: 'available',
|
|
865
|
+
Grace: 'grace',
|
|
866
|
+
DailyLimitReached: 'dailyLimitReached',
|
|
867
|
+
LimitReached: 'limitReached',
|
|
868
|
+
Disabled: 'disabled',
|
|
869
|
+
NoAllowance: 'noAllowance',
|
|
870
|
+
NeedsGameServer: 'needsGameServer',
|
|
871
|
+
};
|
|
872
|
+
export const TakaroAiStaffChangeOutputDTOSubjectEnum = {
|
|
873
|
+
GlobalMultiplier: 'globalMultiplier',
|
|
874
|
+
DomainOverride: 'domainOverride',
|
|
875
|
+
MigrationCap: 'migrationCap',
|
|
876
|
+
};
|
|
877
|
+
export const TakaroAiStaffChangeOutputDTOActorKindEnum = {
|
|
878
|
+
StaffSession: 'staffSession',
|
|
879
|
+
AdminSecret: 'adminSecret',
|
|
880
|
+
};
|
|
881
|
+
export const TakaroAiUsageOutputDTOStatusEnum = {
|
|
882
|
+
Available: 'available',
|
|
883
|
+
Grace: 'grace',
|
|
884
|
+
DailyLimitReached: 'dailyLimitReached',
|
|
885
|
+
LimitReached: 'limitReached',
|
|
886
|
+
Disabled: 'disabled',
|
|
887
|
+
NoAllowance: 'noAllowance',
|
|
888
|
+
NeedsGameServer: 'needsGameServer',
|
|
889
|
+
};
|
|
774
890
|
export const TakaroEventPlayerInventoryChangedChangeTypeEnum = {
|
|
775
891
|
Added: 'added',
|
|
776
892
|
Removed: 'removed',
|
|
@@ -781,6 +897,150 @@ export const TakaroEventRateLimitedScopeEnum = {
|
|
|
781
897
|
Domain: 'domain',
|
|
782
898
|
Global: 'global',
|
|
783
899
|
};
|
|
900
|
+
export const ThreadApprovalDecisionInputDTOOutcomeEnum = {
|
|
901
|
+
Approved: 'approved',
|
|
902
|
+
Denied: 'denied',
|
|
903
|
+
};
|
|
904
|
+
export const ThreadContextInputDTOTypeEnum = {
|
|
905
|
+
Player: 'player',
|
|
906
|
+
GameServer: 'gameServer',
|
|
907
|
+
Module: 'module',
|
|
908
|
+
ModuleVersion: 'moduleVersion',
|
|
909
|
+
Event: 'event',
|
|
910
|
+
CsmmImport: 'csmmImport',
|
|
911
|
+
};
|
|
912
|
+
export const ThreadCreateInputDTOOriginSurfaceEnum = {
|
|
913
|
+
CommandPalette: 'commandPalette',
|
|
914
|
+
PlayerSummary: 'playerSummary',
|
|
915
|
+
Modules: 'modules',
|
|
916
|
+
GameServerModules: 'gameServerModules',
|
|
917
|
+
GameServerOverview: 'gameServerOverview',
|
|
918
|
+
GameServerConsole: 'gameServerConsole',
|
|
919
|
+
DashboardBriefing: 'dashboardBriefing',
|
|
920
|
+
EventsFilter: 'eventsFilter',
|
|
921
|
+
RoleBuilder: 'roleBuilder',
|
|
922
|
+
ModuleConfig: 'moduleConfig',
|
|
923
|
+
GameServerShop: 'gameServerShop',
|
|
924
|
+
ModuleOverview: 'moduleOverview',
|
|
925
|
+
ModuleBuilder: 'moduleBuilder',
|
|
926
|
+
EventFailure: 'eventFailure',
|
|
927
|
+
CsmmMigration: 'csmmMigration',
|
|
928
|
+
};
|
|
929
|
+
export const ThreadOutputDTOStatusEnum = {
|
|
930
|
+
Idle: 'idle',
|
|
931
|
+
Working: 'working',
|
|
932
|
+
Stopping: 'stopping',
|
|
933
|
+
Failed: 'failed',
|
|
934
|
+
AwaitingApproval: 'awaitingApproval',
|
|
935
|
+
AwaitingReply: 'awaitingReply',
|
|
936
|
+
};
|
|
937
|
+
export const ThreadOutputDTOOriginSurfaceEnum = {
|
|
938
|
+
CommandPalette: 'commandPalette',
|
|
939
|
+
PlayerSummary: 'playerSummary',
|
|
940
|
+
Modules: 'modules',
|
|
941
|
+
GameServerModules: 'gameServerModules',
|
|
942
|
+
GameServerOverview: 'gameServerOverview',
|
|
943
|
+
GameServerConsole: 'gameServerConsole',
|
|
944
|
+
DashboardBriefing: 'dashboardBriefing',
|
|
945
|
+
EventsFilter: 'eventsFilter',
|
|
946
|
+
RoleBuilder: 'roleBuilder',
|
|
947
|
+
ModuleConfig: 'moduleConfig',
|
|
948
|
+
GameServerShop: 'gameServerShop',
|
|
949
|
+
ModuleOverview: 'moduleOverview',
|
|
950
|
+
ModuleBuilder: 'moduleBuilder',
|
|
951
|
+
EventFailure: 'eventFailure',
|
|
952
|
+
CsmmMigration: 'csmmMigration',
|
|
953
|
+
};
|
|
954
|
+
export const ThreadSearchInputAllowedFiltersStatusEnum = {
|
|
955
|
+
Idle: 'idle',
|
|
956
|
+
Working: 'working',
|
|
957
|
+
Stopping: 'stopping',
|
|
958
|
+
Failed: 'failed',
|
|
959
|
+
AwaitingApproval: 'awaitingApproval',
|
|
960
|
+
AwaitingReply: 'awaitingReply',
|
|
961
|
+
};
|
|
962
|
+
export const ThreadSearchInputAllowedFiltersOriginSurfaceEnum = {
|
|
963
|
+
CommandPalette: 'commandPalette',
|
|
964
|
+
PlayerSummary: 'playerSummary',
|
|
965
|
+
Modules: 'modules',
|
|
966
|
+
GameServerModules: 'gameServerModules',
|
|
967
|
+
GameServerOverview: 'gameServerOverview',
|
|
968
|
+
GameServerConsole: 'gameServerConsole',
|
|
969
|
+
DashboardBriefing: 'dashboardBriefing',
|
|
970
|
+
EventsFilter: 'eventsFilter',
|
|
971
|
+
RoleBuilder: 'roleBuilder',
|
|
972
|
+
ModuleConfig: 'moduleConfig',
|
|
973
|
+
GameServerShop: 'gameServerShop',
|
|
974
|
+
ModuleOverview: 'moduleOverview',
|
|
975
|
+
ModuleBuilder: 'moduleBuilder',
|
|
976
|
+
EventFailure: 'eventFailure',
|
|
977
|
+
CsmmMigration: 'csmmMigration',
|
|
978
|
+
};
|
|
979
|
+
export const ThreadSearchInputDTOSortDirectionEnum = {
|
|
980
|
+
Asc: 'asc',
|
|
981
|
+
Desc: 'desc',
|
|
982
|
+
};
|
|
983
|
+
export const ThreadStepApprovalDTOOutcomeEnum = {
|
|
984
|
+
Approved: 'approved',
|
|
985
|
+
Denied: 'denied',
|
|
986
|
+
AutoAllowed: 'autoAllowed',
|
|
987
|
+
Cancelled: 'cancelled',
|
|
988
|
+
};
|
|
989
|
+
export const ThreadStepOutputDTOKindEnum = {
|
|
990
|
+
UserMessage: 'userMessage',
|
|
991
|
+
ModelMessage: 'modelMessage',
|
|
992
|
+
ToolCall: 'toolCall',
|
|
993
|
+
ToolResult: 'toolResult',
|
|
994
|
+
ApprovalRequest: 'approvalRequest',
|
|
995
|
+
ApprovalOutcome: 'approvalOutcome',
|
|
996
|
+
};
|
|
997
|
+
export const ThreadStepReferenceDTOTypeEnum = {
|
|
998
|
+
Player: 'player',
|
|
999
|
+
GameServer: 'gameServer',
|
|
1000
|
+
Module: 'module',
|
|
1001
|
+
ModuleVersion: 'moduleVersion',
|
|
1002
|
+
Event: 'event',
|
|
1003
|
+
CsmmImport: 'csmmImport',
|
|
1004
|
+
};
|
|
1005
|
+
export const ThreadWithStepsOutputDTOStatusEnum = {
|
|
1006
|
+
Idle: 'idle',
|
|
1007
|
+
Working: 'working',
|
|
1008
|
+
Stopping: 'stopping',
|
|
1009
|
+
Failed: 'failed',
|
|
1010
|
+
AwaitingApproval: 'awaitingApproval',
|
|
1011
|
+
AwaitingReply: 'awaitingReply',
|
|
1012
|
+
};
|
|
1013
|
+
export const ThreadWithStepsOutputDTOOriginSurfaceEnum = {
|
|
1014
|
+
CommandPalette: 'commandPalette',
|
|
1015
|
+
PlayerSummary: 'playerSummary',
|
|
1016
|
+
Modules: 'modules',
|
|
1017
|
+
GameServerModules: 'gameServerModules',
|
|
1018
|
+
GameServerOverview: 'gameServerOverview',
|
|
1019
|
+
GameServerConsole: 'gameServerConsole',
|
|
1020
|
+
DashboardBriefing: 'dashboardBriefing',
|
|
1021
|
+
EventsFilter: 'eventsFilter',
|
|
1022
|
+
RoleBuilder: 'roleBuilder',
|
|
1023
|
+
ModuleConfig: 'moduleConfig',
|
|
1024
|
+
GameServerShop: 'gameServerShop',
|
|
1025
|
+
ModuleOverview: 'moduleOverview',
|
|
1026
|
+
ModuleBuilder: 'moduleBuilder',
|
|
1027
|
+
EventFailure: 'eventFailure',
|
|
1028
|
+
CsmmMigration: 'csmmMigration',
|
|
1029
|
+
};
|
|
1030
|
+
export const TriggerJobInputDTOTypeEnum = {
|
|
1031
|
+
SeedModules: 'seedModules',
|
|
1032
|
+
CleanEvents: 'cleanEvents',
|
|
1033
|
+
CleanExpiringVariables: 'cleanExpiringVariables',
|
|
1034
|
+
EnsureCronjobsScheduled: 'ensureCronjobsScheduled',
|
|
1035
|
+
DeleteGameServers: 'deleteGameServers',
|
|
1036
|
+
SyncItems: 'syncItems',
|
|
1037
|
+
SyncEntities: 'syncEntities',
|
|
1038
|
+
SyncBans: 'syncBans',
|
|
1039
|
+
SyncMapImages: 'syncMapImages',
|
|
1040
|
+
SyncMapUploads: 'syncMapUploads',
|
|
1041
|
+
SyncSteam: 'syncSteam',
|
|
1042
|
+
SyncDiscordRoles: 'syncDiscordRoles',
|
|
1043
|
+
};
|
|
784
1044
|
export const UserSearchInputDTOExtendEnum = {
|
|
785
1045
|
Roles: 'roles',
|
|
786
1046
|
};
|
|
@@ -3148,69 +3408,88 @@ export class DomainApi extends BaseAPI {
|
|
|
3148
3408
|
}
|
|
3149
3409
|
}
|
|
3150
3410
|
/**
|
|
3151
|
-
*
|
|
3411
|
+
* FixtureHistoryApi - axios parameter creator
|
|
3152
3412
|
* @export
|
|
3153
3413
|
*/
|
|
3154
|
-
export const
|
|
3414
|
+
export const FixtureHistoryApiAxiosParamCreator = function (configuration) {
|
|
3155
3415
|
return {
|
|
3156
3416
|
/**
|
|
3157
|
-
* <br> OperationId: `
|
|
3158
|
-
* @summary
|
|
3417
|
+
* <br> OperationId: `FixtureHistoryControllerActivity`
|
|
3418
|
+
* @summary Write owned, back-dated events and location samples into Postgres (idempotent)
|
|
3419
|
+
* @param {string} domainId
|
|
3420
|
+
* @param {FixtureHistoryActivityInputDTO} [fixtureHistoryActivityInputDTO] FixtureHistoryActivityInputDTO
|
|
3159
3421
|
* @param {*} [options] Override http request option.
|
|
3160
3422
|
* @throws {RequiredError}
|
|
3161
3423
|
*/
|
|
3162
|
-
|
|
3163
|
-
|
|
3424
|
+
fixtureHistoryControllerActivity: async (domainId, fixtureHistoryActivityInputDTO, options = {}) => {
|
|
3425
|
+
// verify required parameter 'domainId' is not null or undefined
|
|
3426
|
+
assertParamExists('fixtureHistoryControllerActivity', 'domainId', domainId);
|
|
3427
|
+
const localVarPath = `/fixture-history/domains/{domainId}/activity`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
|
|
3164
3428
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3165
3429
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3166
3430
|
let baseOptions;
|
|
3167
3431
|
if (configuration) {
|
|
3168
3432
|
baseOptions = configuration.baseOptions;
|
|
3169
3433
|
}
|
|
3170
|
-
const localVarRequestOptions = { method: '
|
|
3434
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
3171
3435
|
const localVarHeaderParameter = {};
|
|
3172
3436
|
const localVarQueryParameter = {};
|
|
3437
|
+
// authentication adminAuth required
|
|
3438
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
3439
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3173
3440
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3174
3441
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3175
3442
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3443
|
+
localVarRequestOptions.data = serializeDataIfNeeded(fixtureHistoryActivityInputDTO, localVarRequestOptions, configuration);
|
|
3176
3444
|
return {
|
|
3177
3445
|
url: toPathString(localVarUrlObj),
|
|
3178
3446
|
options: localVarRequestOptions,
|
|
3179
3447
|
};
|
|
3180
3448
|
},
|
|
3181
3449
|
/**
|
|
3182
|
-
* <br> OperationId: `
|
|
3183
|
-
* @summary
|
|
3450
|
+
* <br> OperationId: `FixtureHistoryControllerAnalytics`
|
|
3451
|
+
* @summary Write owned, back-dated events into the analytics store (inserts only missing ids)
|
|
3452
|
+
* @param {string} domainId
|
|
3453
|
+
* @param {FixtureHistoryAnalyticsInputDTO} [fixtureHistoryAnalyticsInputDTO] FixtureHistoryAnalyticsInputDTO
|
|
3184
3454
|
* @param {*} [options] Override http request option.
|
|
3185
3455
|
* @throws {RequiredError}
|
|
3186
3456
|
*/
|
|
3187
|
-
|
|
3188
|
-
|
|
3457
|
+
fixtureHistoryControllerAnalytics: async (domainId, fixtureHistoryAnalyticsInputDTO, options = {}) => {
|
|
3458
|
+
// verify required parameter 'domainId' is not null or undefined
|
|
3459
|
+
assertParamExists('fixtureHistoryControllerAnalytics', 'domainId', domainId);
|
|
3460
|
+
const localVarPath = `/fixture-history/domains/{domainId}/analytics`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
|
|
3189
3461
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3190
3462
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3191
3463
|
let baseOptions;
|
|
3192
3464
|
if (configuration) {
|
|
3193
3465
|
baseOptions = configuration.baseOptions;
|
|
3194
3466
|
}
|
|
3195
|
-
const localVarRequestOptions = { method: '
|
|
3467
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
3196
3468
|
const localVarHeaderParameter = {};
|
|
3197
3469
|
const localVarQueryParameter = {};
|
|
3470
|
+
// authentication adminAuth required
|
|
3471
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
3472
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3198
3473
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3199
3474
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3200
3475
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3476
|
+
localVarRequestOptions.data = serializeDataIfNeeded(fixtureHistoryAnalyticsInputDTO, localVarRequestOptions, configuration);
|
|
3201
3477
|
return {
|
|
3202
3478
|
url: toPathString(localVarUrlObj),
|
|
3203
3479
|
options: localVarRequestOptions,
|
|
3204
3480
|
};
|
|
3205
3481
|
},
|
|
3206
3482
|
/**
|
|
3207
|
-
* <br> OperationId: `
|
|
3208
|
-
* @summary
|
|
3483
|
+
* <br> OperationId: `FixtureHistoryControllerCapabilities`
|
|
3484
|
+
* @summary What the writer can do for this domain, and the domain\'s event retention
|
|
3485
|
+
* @param {string} domainId
|
|
3209
3486
|
* @param {*} [options] Override http request option.
|
|
3210
3487
|
* @throws {RequiredError}
|
|
3211
3488
|
*/
|
|
3212
|
-
|
|
3213
|
-
|
|
3489
|
+
fixtureHistoryControllerCapabilities: async (domainId, options = {}) => {
|
|
3490
|
+
// verify required parameter 'domainId' is not null or undefined
|
|
3491
|
+
assertParamExists('fixtureHistoryControllerCapabilities', 'domainId', domainId);
|
|
3492
|
+
const localVarPath = `/fixture-history/domains/{domainId}/capabilities`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
|
|
3214
3493
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3215
3494
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3216
3495
|
let baseOptions;
|
|
@@ -3220,6 +3499,8 @@ export const MetaApiAxiosParamCreator = function (configuration) {
|
|
|
3220
3499
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
3221
3500
|
const localVarHeaderParameter = {};
|
|
3222
3501
|
const localVarQueryParameter = {};
|
|
3502
|
+
// authentication adminAuth required
|
|
3503
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
3223
3504
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3224
3505
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3225
3506
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -3229,176 +3510,1149 @@ export const MetaApiAxiosParamCreator = function (configuration) {
|
|
|
3229
3510
|
};
|
|
3230
3511
|
},
|
|
3231
3512
|
/**
|
|
3232
|
-
* <br> OperationId: `
|
|
3233
|
-
* @summary
|
|
3513
|
+
* <br> OperationId: `FixtureHistoryControllerDelete`
|
|
3514
|
+
* @summary Delete a bounded batch of this dataset\'s rows from one store; loop until remaining is 0
|
|
3515
|
+
* @param {string} domainId
|
|
3516
|
+
* @param {string} fixtureDatasetId
|
|
3517
|
+
* @param {FixtureHistoryDeleteInputDTO} [fixtureHistoryDeleteInputDTO] FixtureHistoryDeleteInputDTO
|
|
3234
3518
|
* @param {*} [options] Override http request option.
|
|
3235
3519
|
* @throws {RequiredError}
|
|
3236
3520
|
*/
|
|
3237
|
-
|
|
3238
|
-
|
|
3521
|
+
fixtureHistoryControllerDelete: async (domainId, fixtureDatasetId, fixtureHistoryDeleteInputDTO, options = {}) => {
|
|
3522
|
+
// verify required parameter 'domainId' is not null or undefined
|
|
3523
|
+
assertParamExists('fixtureHistoryControllerDelete', 'domainId', domainId);
|
|
3524
|
+
// verify required parameter 'fixtureDatasetId' is not null or undefined
|
|
3525
|
+
assertParamExists('fixtureHistoryControllerDelete', 'fixtureDatasetId', fixtureDatasetId);
|
|
3526
|
+
const localVarPath = `/fixture-history/domains/{domainId}/datasets/{fixtureDatasetId}/delete`
|
|
3527
|
+
.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)))
|
|
3528
|
+
.replace(`{${'fixtureDatasetId'}}`, encodeURIComponent(String(fixtureDatasetId)));
|
|
3239
3529
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3240
3530
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3241
3531
|
let baseOptions;
|
|
3242
3532
|
if (configuration) {
|
|
3243
3533
|
baseOptions = configuration.baseOptions;
|
|
3244
3534
|
}
|
|
3245
|
-
const localVarRequestOptions = { method: '
|
|
3535
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
3246
3536
|
const localVarHeaderParameter = {};
|
|
3247
3537
|
const localVarQueryParameter = {};
|
|
3538
|
+
// authentication adminAuth required
|
|
3539
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
3540
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3248
3541
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3249
3542
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3250
3543
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3544
|
+
localVarRequestOptions.data = serializeDataIfNeeded(fixtureHistoryDeleteInputDTO, localVarRequestOptions, configuration);
|
|
3251
3545
|
return {
|
|
3252
3546
|
url: toPathString(localVarUrlObj),
|
|
3253
3547
|
options: localVarRequestOptions,
|
|
3254
3548
|
};
|
|
3255
3549
|
},
|
|
3256
3550
|
/**
|
|
3257
|
-
* <br> OperationId: `
|
|
3258
|
-
* @summary
|
|
3551
|
+
* <br> OperationId: `FixtureHistoryControllerEconomyReadiness`
|
|
3552
|
+
* @summary Per gameserver: whether economyEnabled is on (read-only; never written)
|
|
3553
|
+
* @param {string} domainId
|
|
3554
|
+
* @param {FixtureHistoryEconomyReadinessInputDTO} [fixtureHistoryEconomyReadinessInputDTO] FixtureHistoryEconomyReadinessInputDTO
|
|
3259
3555
|
* @param {*} [options] Override http request option.
|
|
3260
3556
|
* @throws {RequiredError}
|
|
3261
3557
|
*/
|
|
3262
|
-
|
|
3263
|
-
|
|
3558
|
+
fixtureHistoryControllerEconomyReadiness: async (domainId, fixtureHistoryEconomyReadinessInputDTO, options = {}) => {
|
|
3559
|
+
// verify required parameter 'domainId' is not null or undefined
|
|
3560
|
+
assertParamExists('fixtureHistoryControllerEconomyReadiness', 'domainId', domainId);
|
|
3561
|
+
const localVarPath = `/fixture-history/domains/{domainId}/economy-readiness`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
|
|
3264
3562
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3265
3563
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3266
3564
|
let baseOptions;
|
|
3267
3565
|
if (configuration) {
|
|
3268
3566
|
baseOptions = configuration.baseOptions;
|
|
3269
3567
|
}
|
|
3270
|
-
const localVarRequestOptions = { method: '
|
|
3568
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
3271
3569
|
const localVarHeaderParameter = {};
|
|
3272
3570
|
const localVarQueryParameter = {};
|
|
3571
|
+
// authentication adminAuth required
|
|
3572
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
3573
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3273
3574
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3274
3575
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3275
3576
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3577
|
+
localVarRequestOptions.data = serializeDataIfNeeded(fixtureHistoryEconomyReadinessInputDTO, localVarRequestOptions, configuration);
|
|
3276
3578
|
return {
|
|
3277
3579
|
url: toPathString(localVarUrlObj),
|
|
3278
3580
|
options: localVarRequestOptions,
|
|
3279
3581
|
};
|
|
3280
3582
|
},
|
|
3281
3583
|
/**
|
|
3282
|
-
*
|
|
3283
|
-
* @summary
|
|
3584
|
+
* One transaction. A planned row whose natural key is held by a row this dataset does not own is a conflict: nothing in the request is written and the conflicts are returned.<br> OperationId: `FixtureHistoryControllerIdentities`
|
|
3585
|
+
* @summary Write owned, back-dated players and players-on-gameserver
|
|
3586
|
+
* @param {string} domainId
|
|
3587
|
+
* @param {FixtureHistoryIdentitiesInputDTO} [fixtureHistoryIdentitiesInputDTO] FixtureHistoryIdentitiesInputDTO
|
|
3284
3588
|
* @param {*} [options] Override http request option.
|
|
3285
3589
|
* @throws {RequiredError}
|
|
3286
3590
|
*/
|
|
3287
|
-
|
|
3288
|
-
|
|
3591
|
+
fixtureHistoryControllerIdentities: async (domainId, fixtureHistoryIdentitiesInputDTO, options = {}) => {
|
|
3592
|
+
// verify required parameter 'domainId' is not null or undefined
|
|
3593
|
+
assertParamExists('fixtureHistoryControllerIdentities', 'domainId', domainId);
|
|
3594
|
+
const localVarPath = `/fixture-history/domains/{domainId}/identities`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
|
|
3289
3595
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3290
3596
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3291
3597
|
let baseOptions;
|
|
3292
3598
|
if (configuration) {
|
|
3293
3599
|
baseOptions = configuration.baseOptions;
|
|
3294
3600
|
}
|
|
3295
|
-
const localVarRequestOptions = { method: '
|
|
3601
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
3296
3602
|
const localVarHeaderParameter = {};
|
|
3297
3603
|
const localVarQueryParameter = {};
|
|
3604
|
+
// authentication adminAuth required
|
|
3605
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
3606
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3298
3607
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3299
3608
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3300
3609
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3610
|
+
localVarRequestOptions.data = serializeDataIfNeeded(fixtureHistoryIdentitiesInputDTO, localVarRequestOptions, configuration);
|
|
3301
3611
|
return {
|
|
3302
3612
|
url: toPathString(localVarUrlObj),
|
|
3303
3613
|
options: localVarRequestOptions,
|
|
3304
3614
|
};
|
|
3305
3615
|
},
|
|
3306
3616
|
/**
|
|
3307
|
-
* <br> OperationId: `
|
|
3308
|
-
* @summary
|
|
3617
|
+
* <br> OperationId: `FixtureHistoryControllerInventory`
|
|
3618
|
+
* @summary Write the terminal inventory baseline of owned players-on-gameserver (idempotent)
|
|
3619
|
+
* @param {string} domainId
|
|
3620
|
+
* @param {FixtureHistoryInventoryInputDTO} [fixtureHistoryInventoryInputDTO] FixtureHistoryInventoryInputDTO
|
|
3309
3621
|
* @param {*} [options] Override http request option.
|
|
3310
3622
|
* @throws {RequiredError}
|
|
3311
3623
|
*/
|
|
3312
|
-
|
|
3313
|
-
|
|
3624
|
+
fixtureHistoryControllerInventory: async (domainId, fixtureHistoryInventoryInputDTO, options = {}) => {
|
|
3625
|
+
// verify required parameter 'domainId' is not null or undefined
|
|
3626
|
+
assertParamExists('fixtureHistoryControllerInventory', 'domainId', domainId);
|
|
3627
|
+
const localVarPath = `/fixture-history/domains/{domainId}/inventory`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
|
|
3314
3628
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3315
3629
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3316
3630
|
let baseOptions;
|
|
3317
3631
|
if (configuration) {
|
|
3318
3632
|
baseOptions = configuration.baseOptions;
|
|
3319
3633
|
}
|
|
3320
|
-
const localVarRequestOptions = { method: '
|
|
3634
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
3321
3635
|
const localVarHeaderParameter = {};
|
|
3322
3636
|
const localVarQueryParameter = {};
|
|
3637
|
+
// authentication adminAuth required
|
|
3638
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
3639
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3323
3640
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3324
3641
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3325
3642
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3643
|
+
localVarRequestOptions.data = serializeDataIfNeeded(fixtureHistoryInventoryInputDTO, localVarRequestOptions, configuration);
|
|
3326
3644
|
return {
|
|
3327
3645
|
url: toPathString(localVarUrlObj),
|
|
3328
3646
|
options: localVarRequestOptions,
|
|
3329
3647
|
};
|
|
3330
3648
|
},
|
|
3331
|
-
};
|
|
3332
|
-
};
|
|
3333
|
-
/**
|
|
3334
|
-
* MetaApi - functional programming interface
|
|
3335
|
-
* @export
|
|
3336
|
-
*/
|
|
3337
|
-
export const MetaApiFp = function (configuration) {
|
|
3338
|
-
const localVarAxiosParamCreator = MetaApiAxiosParamCreator(configuration);
|
|
3339
|
-
return {
|
|
3340
3649
|
/**
|
|
3341
|
-
* <br> OperationId: `
|
|
3342
|
-
* @summary
|
|
3650
|
+
* <br> OperationId: `FixtureHistoryControllerInventoryPage`
|
|
3651
|
+
* @summary Page through the owned inventory baselines, by player-on-gameserver
|
|
3652
|
+
* @param {string} domainId
|
|
3653
|
+
* @param {string} fixtureDatasetId
|
|
3654
|
+
* @param {string} [cursor]
|
|
3343
3655
|
* @param {*} [options] Override http request option.
|
|
3344
3656
|
* @throws {RequiredError}
|
|
3345
3657
|
*/
|
|
3346
|
-
async
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3658
|
+
fixtureHistoryControllerInventoryPage: async (domainId, fixtureDatasetId, cursor, options = {}) => {
|
|
3659
|
+
// verify required parameter 'domainId' is not null or undefined
|
|
3660
|
+
assertParamExists('fixtureHistoryControllerInventoryPage', 'domainId', domainId);
|
|
3661
|
+
// verify required parameter 'fixtureDatasetId' is not null or undefined
|
|
3662
|
+
assertParamExists('fixtureHistoryControllerInventoryPage', 'fixtureDatasetId', fixtureDatasetId);
|
|
3663
|
+
const localVarPath = `/fixture-history/domains/{domainId}/datasets/{fixtureDatasetId}/inventory`
|
|
3664
|
+
.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)))
|
|
3665
|
+
.replace(`{${'fixtureDatasetId'}}`, encodeURIComponent(String(fixtureDatasetId)));
|
|
3666
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3667
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3668
|
+
let baseOptions;
|
|
3669
|
+
if (configuration) {
|
|
3670
|
+
baseOptions = configuration.baseOptions;
|
|
3671
|
+
}
|
|
3672
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
3673
|
+
const localVarHeaderParameter = {};
|
|
3674
|
+
const localVarQueryParameter = {};
|
|
3675
|
+
// authentication adminAuth required
|
|
3676
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
3677
|
+
if (cursor !== undefined) {
|
|
3678
|
+
localVarQueryParameter['cursor'] = cursor;
|
|
3679
|
+
}
|
|
3680
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3681
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3682
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3683
|
+
return {
|
|
3684
|
+
url: toPathString(localVarUrlObj),
|
|
3685
|
+
options: localVarRequestOptions,
|
|
3686
|
+
};
|
|
3351
3687
|
},
|
|
3352
3688
|
/**
|
|
3353
|
-
*
|
|
3354
|
-
* @summary
|
|
3689
|
+
* One transaction. A listing whose id, or whose name on its gameserver, is held by a listing this dataset does not own is a conflict: nothing is written and the conflicts are returned.<br> OperationId: `FixtureHistoryControllerListings`
|
|
3690
|
+
* @summary Write owned, back-dated shop listings
|
|
3691
|
+
* @param {string} domainId
|
|
3692
|
+
* @param {FixtureHistoryListingsInputDTO} [fixtureHistoryListingsInputDTO] FixtureHistoryListingsInputDTO
|
|
3355
3693
|
* @param {*} [options] Override http request option.
|
|
3356
3694
|
* @throws {RequiredError}
|
|
3357
3695
|
*/
|
|
3358
|
-
async
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
const
|
|
3362
|
-
|
|
3696
|
+
fixtureHistoryControllerListings: async (domainId, fixtureHistoryListingsInputDTO, options = {}) => {
|
|
3697
|
+
// verify required parameter 'domainId' is not null or undefined
|
|
3698
|
+
assertParamExists('fixtureHistoryControllerListings', 'domainId', domainId);
|
|
3699
|
+
const localVarPath = `/fixture-history/domains/{domainId}/listings`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
|
|
3700
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3701
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3702
|
+
let baseOptions;
|
|
3703
|
+
if (configuration) {
|
|
3704
|
+
baseOptions = configuration.baseOptions;
|
|
3705
|
+
}
|
|
3706
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
3707
|
+
const localVarHeaderParameter = {};
|
|
3708
|
+
const localVarQueryParameter = {};
|
|
3709
|
+
// authentication adminAuth required
|
|
3710
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
3711
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3712
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3713
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3714
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3715
|
+
localVarRequestOptions.data = serializeDataIfNeeded(fixtureHistoryListingsInputDTO, localVarRequestOptions, configuration);
|
|
3716
|
+
return {
|
|
3717
|
+
url: toPathString(localVarUrlObj),
|
|
3718
|
+
options: localVarRequestOptions,
|
|
3719
|
+
};
|
|
3363
3720
|
},
|
|
3364
3721
|
/**
|
|
3365
|
-
*
|
|
3366
|
-
* @summary
|
|
3722
|
+
* Never charges, refunds, delivers or runs a shop action: an order is written as a settled row.<br> OperationId: `FixtureHistoryControllerOrders`
|
|
3723
|
+
* @summary Write owned, settled (COMPLETED or CANCELED) historical orders (idempotent)
|
|
3724
|
+
* @param {string} domainId
|
|
3725
|
+
* @param {FixtureHistoryOrdersInputDTO} [fixtureHistoryOrdersInputDTO] FixtureHistoryOrdersInputDTO
|
|
3367
3726
|
* @param {*} [options] Override http request option.
|
|
3368
3727
|
* @throws {RequiredError}
|
|
3369
3728
|
*/
|
|
3370
|
-
async
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
const
|
|
3374
|
-
|
|
3729
|
+
fixtureHistoryControllerOrders: async (domainId, fixtureHistoryOrdersInputDTO, options = {}) => {
|
|
3730
|
+
// verify required parameter 'domainId' is not null or undefined
|
|
3731
|
+
assertParamExists('fixtureHistoryControllerOrders', 'domainId', domainId);
|
|
3732
|
+
const localVarPath = `/fixture-history/domains/{domainId}/orders`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
|
|
3733
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3734
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3735
|
+
let baseOptions;
|
|
3736
|
+
if (configuration) {
|
|
3737
|
+
baseOptions = configuration.baseOptions;
|
|
3738
|
+
}
|
|
3739
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
3740
|
+
const localVarHeaderParameter = {};
|
|
3741
|
+
const localVarQueryParameter = {};
|
|
3742
|
+
// authentication adminAuth required
|
|
3743
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
3744
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3745
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3746
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3747
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3748
|
+
localVarRequestOptions.data = serializeDataIfNeeded(fixtureHistoryOrdersInputDTO, localVarRequestOptions, configuration);
|
|
3749
|
+
return {
|
|
3750
|
+
url: toPathString(localVarUrlObj),
|
|
3751
|
+
options: localVarRequestOptions,
|
|
3752
|
+
};
|
|
3375
3753
|
},
|
|
3376
3754
|
/**
|
|
3377
|
-
* <br> OperationId: `
|
|
3378
|
-
* @summary
|
|
3755
|
+
* <br> OperationId: `FixtureHistoryControllerSummary`
|
|
3756
|
+
* @summary Owned row counts per store, and unowned events naming owned players
|
|
3757
|
+
* @param {string} domainId
|
|
3758
|
+
* @param {string} fixtureDatasetId
|
|
3759
|
+
* @param {FixtureHistoryControllerSummarySinceParameter} [since]
|
|
3379
3760
|
* @param {*} [options] Override http request option.
|
|
3380
3761
|
* @throws {RequiredError}
|
|
3381
3762
|
*/
|
|
3382
|
-
async
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3763
|
+
fixtureHistoryControllerSummary: async (domainId, fixtureDatasetId, since, options = {}) => {
|
|
3764
|
+
// verify required parameter 'domainId' is not null or undefined
|
|
3765
|
+
assertParamExists('fixtureHistoryControllerSummary', 'domainId', domainId);
|
|
3766
|
+
// verify required parameter 'fixtureDatasetId' is not null or undefined
|
|
3767
|
+
assertParamExists('fixtureHistoryControllerSummary', 'fixtureDatasetId', fixtureDatasetId);
|
|
3768
|
+
const localVarPath = `/fixture-history/domains/{domainId}/datasets/{fixtureDatasetId}/summary`
|
|
3769
|
+
.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)))
|
|
3770
|
+
.replace(`{${'fixtureDatasetId'}}`, encodeURIComponent(String(fixtureDatasetId)));
|
|
3771
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3772
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3773
|
+
let baseOptions;
|
|
3774
|
+
if (configuration) {
|
|
3775
|
+
baseOptions = configuration.baseOptions;
|
|
3776
|
+
}
|
|
3777
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
3778
|
+
const localVarHeaderParameter = {};
|
|
3779
|
+
const localVarQueryParameter = {};
|
|
3780
|
+
// authentication adminAuth required
|
|
3781
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
3782
|
+
if (since !== undefined) {
|
|
3783
|
+
for (const [key, value] of Object.entries(since)) {
|
|
3784
|
+
localVarQueryParameter[key] = value;
|
|
3785
|
+
}
|
|
3786
|
+
}
|
|
3787
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3788
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3789
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3790
|
+
return {
|
|
3791
|
+
url: toPathString(localVarUrlObj),
|
|
3792
|
+
options: localVarRequestOptions,
|
|
3793
|
+
};
|
|
3387
3794
|
},
|
|
3388
3795
|
/**
|
|
3389
|
-
* <br> OperationId: `
|
|
3390
|
-
* @summary
|
|
3796
|
+
* <br> OperationId: `FixtureHistoryControllerTerminal`
|
|
3797
|
+
* @summary Set the offline terminal state of owned players-on-gameserver
|
|
3798
|
+
* @param {string} domainId
|
|
3799
|
+
* @param {FixtureHistoryTerminalInputDTO} [fixtureHistoryTerminalInputDTO] FixtureHistoryTerminalInputDTO
|
|
3391
3800
|
* @param {*} [options] Override http request option.
|
|
3392
3801
|
* @throws {RequiredError}
|
|
3393
3802
|
*/
|
|
3394
|
-
async
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
const
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3803
|
+
fixtureHistoryControllerTerminal: async (domainId, fixtureHistoryTerminalInputDTO, options = {}) => {
|
|
3804
|
+
// verify required parameter 'domainId' is not null or undefined
|
|
3805
|
+
assertParamExists('fixtureHistoryControllerTerminal', 'domainId', domainId);
|
|
3806
|
+
const localVarPath = `/fixture-history/domains/{domainId}/terminal-state`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
|
|
3807
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3808
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3809
|
+
let baseOptions;
|
|
3810
|
+
if (configuration) {
|
|
3811
|
+
baseOptions = configuration.baseOptions;
|
|
3812
|
+
}
|
|
3813
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
3814
|
+
const localVarHeaderParameter = {};
|
|
3815
|
+
const localVarQueryParameter = {};
|
|
3816
|
+
// authentication adminAuth required
|
|
3817
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
3818
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3819
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3820
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3821
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3822
|
+
localVarRequestOptions.data = serializeDataIfNeeded(fixtureHistoryTerminalInputDTO, localVarRequestOptions, configuration);
|
|
3823
|
+
return {
|
|
3824
|
+
url: toPathString(localVarUrlObj),
|
|
3825
|
+
options: localVarRequestOptions,
|
|
3826
|
+
};
|
|
3827
|
+
},
|
|
3828
|
+
/**
|
|
3829
|
+
* <br> OperationId: `FixtureHistoryControllerTerminalState`
|
|
3830
|
+
* @summary Page through the terminal state of owned players-on-gameserver
|
|
3831
|
+
* @param {string} domainId
|
|
3832
|
+
* @param {string} fixtureDatasetId
|
|
3833
|
+
* @param {string} [cursor]
|
|
3834
|
+
* @param {*} [options] Override http request option.
|
|
3835
|
+
* @throws {RequiredError}
|
|
3836
|
+
*/
|
|
3837
|
+
fixtureHistoryControllerTerminalState: async (domainId, fixtureDatasetId, cursor, options = {}) => {
|
|
3838
|
+
// verify required parameter 'domainId' is not null or undefined
|
|
3839
|
+
assertParamExists('fixtureHistoryControllerTerminalState', 'domainId', domainId);
|
|
3840
|
+
// verify required parameter 'fixtureDatasetId' is not null or undefined
|
|
3841
|
+
assertParamExists('fixtureHistoryControllerTerminalState', 'fixtureDatasetId', fixtureDatasetId);
|
|
3842
|
+
const localVarPath = `/fixture-history/domains/{domainId}/datasets/{fixtureDatasetId}/terminal-state`
|
|
3843
|
+
.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)))
|
|
3844
|
+
.replace(`{${'fixtureDatasetId'}}`, encodeURIComponent(String(fixtureDatasetId)));
|
|
3845
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3846
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3847
|
+
let baseOptions;
|
|
3848
|
+
if (configuration) {
|
|
3849
|
+
baseOptions = configuration.baseOptions;
|
|
3850
|
+
}
|
|
3851
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
3852
|
+
const localVarHeaderParameter = {};
|
|
3853
|
+
const localVarQueryParameter = {};
|
|
3854
|
+
// authentication adminAuth required
|
|
3855
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
3856
|
+
if (cursor !== undefined) {
|
|
3857
|
+
localVarQueryParameter['cursor'] = cursor;
|
|
3858
|
+
}
|
|
3859
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3860
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3861
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3862
|
+
return {
|
|
3863
|
+
url: toPathString(localVarUrlObj),
|
|
3864
|
+
options: localVarRequestOptions,
|
|
3865
|
+
};
|
|
3866
|
+
},
|
|
3867
|
+
};
|
|
3868
|
+
};
|
|
3869
|
+
/**
|
|
3870
|
+
* FixtureHistoryApi - functional programming interface
|
|
3871
|
+
* @export
|
|
3872
|
+
*/
|
|
3873
|
+
export const FixtureHistoryApiFp = function (configuration) {
|
|
3874
|
+
const localVarAxiosParamCreator = FixtureHistoryApiAxiosParamCreator(configuration);
|
|
3875
|
+
return {
|
|
3876
|
+
/**
|
|
3877
|
+
* <br> OperationId: `FixtureHistoryControllerActivity`
|
|
3878
|
+
* @summary Write owned, back-dated events and location samples into Postgres (idempotent)
|
|
3879
|
+
* @param {string} domainId
|
|
3880
|
+
* @param {FixtureHistoryActivityInputDTO} [fixtureHistoryActivityInputDTO] FixtureHistoryActivityInputDTO
|
|
3881
|
+
* @param {*} [options] Override http request option.
|
|
3882
|
+
* @throws {RequiredError}
|
|
3883
|
+
*/
|
|
3884
|
+
async fixtureHistoryControllerActivity(domainId, fixtureHistoryActivityInputDTO, options) {
|
|
3885
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fixtureHistoryControllerActivity(domainId, fixtureHistoryActivityInputDTO, options);
|
|
3886
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3887
|
+
const localVarOperationServerBasePath = operationServerMap['FixtureHistoryApi.fixtureHistoryControllerActivity']?.[localVarOperationServerIndex]?.url;
|
|
3888
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3889
|
+
},
|
|
3890
|
+
/**
|
|
3891
|
+
* <br> OperationId: `FixtureHistoryControllerAnalytics`
|
|
3892
|
+
* @summary Write owned, back-dated events into the analytics store (inserts only missing ids)
|
|
3893
|
+
* @param {string} domainId
|
|
3894
|
+
* @param {FixtureHistoryAnalyticsInputDTO} [fixtureHistoryAnalyticsInputDTO] FixtureHistoryAnalyticsInputDTO
|
|
3895
|
+
* @param {*} [options] Override http request option.
|
|
3896
|
+
* @throws {RequiredError}
|
|
3897
|
+
*/
|
|
3898
|
+
async fixtureHistoryControllerAnalytics(domainId, fixtureHistoryAnalyticsInputDTO, options) {
|
|
3899
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fixtureHistoryControllerAnalytics(domainId, fixtureHistoryAnalyticsInputDTO, options);
|
|
3900
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3901
|
+
const localVarOperationServerBasePath = operationServerMap['FixtureHistoryApi.fixtureHistoryControllerAnalytics']?.[localVarOperationServerIndex]?.url;
|
|
3902
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3903
|
+
},
|
|
3904
|
+
/**
|
|
3905
|
+
* <br> OperationId: `FixtureHistoryControllerCapabilities`
|
|
3906
|
+
* @summary What the writer can do for this domain, and the domain\'s event retention
|
|
3907
|
+
* @param {string} domainId
|
|
3908
|
+
* @param {*} [options] Override http request option.
|
|
3909
|
+
* @throws {RequiredError}
|
|
3910
|
+
*/
|
|
3911
|
+
async fixtureHistoryControllerCapabilities(domainId, options) {
|
|
3912
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fixtureHistoryControllerCapabilities(domainId, options);
|
|
3913
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3914
|
+
const localVarOperationServerBasePath = operationServerMap['FixtureHistoryApi.fixtureHistoryControllerCapabilities']?.[localVarOperationServerIndex]
|
|
3915
|
+
?.url;
|
|
3916
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3917
|
+
},
|
|
3918
|
+
/**
|
|
3919
|
+
* <br> OperationId: `FixtureHistoryControllerDelete`
|
|
3920
|
+
* @summary Delete a bounded batch of this dataset\'s rows from one store; loop until remaining is 0
|
|
3921
|
+
* @param {string} domainId
|
|
3922
|
+
* @param {string} fixtureDatasetId
|
|
3923
|
+
* @param {FixtureHistoryDeleteInputDTO} [fixtureHistoryDeleteInputDTO] FixtureHistoryDeleteInputDTO
|
|
3924
|
+
* @param {*} [options] Override http request option.
|
|
3925
|
+
* @throws {RequiredError}
|
|
3926
|
+
*/
|
|
3927
|
+
async fixtureHistoryControllerDelete(domainId, fixtureDatasetId, fixtureHistoryDeleteInputDTO, options) {
|
|
3928
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fixtureHistoryControllerDelete(domainId, fixtureDatasetId, fixtureHistoryDeleteInputDTO, options);
|
|
3929
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3930
|
+
const localVarOperationServerBasePath = operationServerMap['FixtureHistoryApi.fixtureHistoryControllerDelete']?.[localVarOperationServerIndex]?.url;
|
|
3931
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3932
|
+
},
|
|
3933
|
+
/**
|
|
3934
|
+
* <br> OperationId: `FixtureHistoryControllerEconomyReadiness`
|
|
3935
|
+
* @summary Per gameserver: whether economyEnabled is on (read-only; never written)
|
|
3936
|
+
* @param {string} domainId
|
|
3937
|
+
* @param {FixtureHistoryEconomyReadinessInputDTO} [fixtureHistoryEconomyReadinessInputDTO] FixtureHistoryEconomyReadinessInputDTO
|
|
3938
|
+
* @param {*} [options] Override http request option.
|
|
3939
|
+
* @throws {RequiredError}
|
|
3940
|
+
*/
|
|
3941
|
+
async fixtureHistoryControllerEconomyReadiness(domainId, fixtureHistoryEconomyReadinessInputDTO, options) {
|
|
3942
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fixtureHistoryControllerEconomyReadiness(domainId, fixtureHistoryEconomyReadinessInputDTO, options);
|
|
3943
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3944
|
+
const localVarOperationServerBasePath = operationServerMap['FixtureHistoryApi.fixtureHistoryControllerEconomyReadiness']?.[localVarOperationServerIndex]
|
|
3945
|
+
?.url;
|
|
3946
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3947
|
+
},
|
|
3948
|
+
/**
|
|
3949
|
+
* One transaction. A planned row whose natural key is held by a row this dataset does not own is a conflict: nothing in the request is written and the conflicts are returned.<br> OperationId: `FixtureHistoryControllerIdentities`
|
|
3950
|
+
* @summary Write owned, back-dated players and players-on-gameserver
|
|
3951
|
+
* @param {string} domainId
|
|
3952
|
+
* @param {FixtureHistoryIdentitiesInputDTO} [fixtureHistoryIdentitiesInputDTO] FixtureHistoryIdentitiesInputDTO
|
|
3953
|
+
* @param {*} [options] Override http request option.
|
|
3954
|
+
* @throws {RequiredError}
|
|
3955
|
+
*/
|
|
3956
|
+
async fixtureHistoryControllerIdentities(domainId, fixtureHistoryIdentitiesInputDTO, options) {
|
|
3957
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fixtureHistoryControllerIdentities(domainId, fixtureHistoryIdentitiesInputDTO, options);
|
|
3958
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3959
|
+
const localVarOperationServerBasePath = operationServerMap['FixtureHistoryApi.fixtureHistoryControllerIdentities']?.[localVarOperationServerIndex]?.url;
|
|
3960
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3961
|
+
},
|
|
3962
|
+
/**
|
|
3963
|
+
* <br> OperationId: `FixtureHistoryControllerInventory`
|
|
3964
|
+
* @summary Write the terminal inventory baseline of owned players-on-gameserver (idempotent)
|
|
3965
|
+
* @param {string} domainId
|
|
3966
|
+
* @param {FixtureHistoryInventoryInputDTO} [fixtureHistoryInventoryInputDTO] FixtureHistoryInventoryInputDTO
|
|
3967
|
+
* @param {*} [options] Override http request option.
|
|
3968
|
+
* @throws {RequiredError}
|
|
3969
|
+
*/
|
|
3970
|
+
async fixtureHistoryControllerInventory(domainId, fixtureHistoryInventoryInputDTO, options) {
|
|
3971
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fixtureHistoryControllerInventory(domainId, fixtureHistoryInventoryInputDTO, options);
|
|
3972
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3973
|
+
const localVarOperationServerBasePath = operationServerMap['FixtureHistoryApi.fixtureHistoryControllerInventory']?.[localVarOperationServerIndex]?.url;
|
|
3974
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3975
|
+
},
|
|
3976
|
+
/**
|
|
3977
|
+
* <br> OperationId: `FixtureHistoryControllerInventoryPage`
|
|
3978
|
+
* @summary Page through the owned inventory baselines, by player-on-gameserver
|
|
3979
|
+
* @param {string} domainId
|
|
3980
|
+
* @param {string} fixtureDatasetId
|
|
3981
|
+
* @param {string} [cursor]
|
|
3982
|
+
* @param {*} [options] Override http request option.
|
|
3983
|
+
* @throws {RequiredError}
|
|
3984
|
+
*/
|
|
3985
|
+
async fixtureHistoryControllerInventoryPage(domainId, fixtureDatasetId, cursor, options) {
|
|
3986
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fixtureHistoryControllerInventoryPage(domainId, fixtureDatasetId, cursor, options);
|
|
3987
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3988
|
+
const localVarOperationServerBasePath = operationServerMap['FixtureHistoryApi.fixtureHistoryControllerInventoryPage']?.[localVarOperationServerIndex]
|
|
3989
|
+
?.url;
|
|
3990
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3991
|
+
},
|
|
3992
|
+
/**
|
|
3993
|
+
* One transaction. A listing whose id, or whose name on its gameserver, is held by a listing this dataset does not own is a conflict: nothing is written and the conflicts are returned.<br> OperationId: `FixtureHistoryControllerListings`
|
|
3994
|
+
* @summary Write owned, back-dated shop listings
|
|
3995
|
+
* @param {string} domainId
|
|
3996
|
+
* @param {FixtureHistoryListingsInputDTO} [fixtureHistoryListingsInputDTO] FixtureHistoryListingsInputDTO
|
|
3997
|
+
* @param {*} [options] Override http request option.
|
|
3998
|
+
* @throws {RequiredError}
|
|
3999
|
+
*/
|
|
4000
|
+
async fixtureHistoryControllerListings(domainId, fixtureHistoryListingsInputDTO, options) {
|
|
4001
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fixtureHistoryControllerListings(domainId, fixtureHistoryListingsInputDTO, options);
|
|
4002
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4003
|
+
const localVarOperationServerBasePath = operationServerMap['FixtureHistoryApi.fixtureHistoryControllerListings']?.[localVarOperationServerIndex]?.url;
|
|
4004
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4005
|
+
},
|
|
4006
|
+
/**
|
|
4007
|
+
* Never charges, refunds, delivers or runs a shop action: an order is written as a settled row.<br> OperationId: `FixtureHistoryControllerOrders`
|
|
4008
|
+
* @summary Write owned, settled (COMPLETED or CANCELED) historical orders (idempotent)
|
|
4009
|
+
* @param {string} domainId
|
|
4010
|
+
* @param {FixtureHistoryOrdersInputDTO} [fixtureHistoryOrdersInputDTO] FixtureHistoryOrdersInputDTO
|
|
4011
|
+
* @param {*} [options] Override http request option.
|
|
4012
|
+
* @throws {RequiredError}
|
|
4013
|
+
*/
|
|
4014
|
+
async fixtureHistoryControllerOrders(domainId, fixtureHistoryOrdersInputDTO, options) {
|
|
4015
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fixtureHistoryControllerOrders(domainId, fixtureHistoryOrdersInputDTO, options);
|
|
4016
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4017
|
+
const localVarOperationServerBasePath = operationServerMap['FixtureHistoryApi.fixtureHistoryControllerOrders']?.[localVarOperationServerIndex]?.url;
|
|
4018
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4019
|
+
},
|
|
4020
|
+
/**
|
|
4021
|
+
* <br> OperationId: `FixtureHistoryControllerSummary`
|
|
4022
|
+
* @summary Owned row counts per store, and unowned events naming owned players
|
|
4023
|
+
* @param {string} domainId
|
|
4024
|
+
* @param {string} fixtureDatasetId
|
|
4025
|
+
* @param {FixtureHistoryControllerSummarySinceParameter} [since]
|
|
4026
|
+
* @param {*} [options] Override http request option.
|
|
4027
|
+
* @throws {RequiredError}
|
|
4028
|
+
*/
|
|
4029
|
+
async fixtureHistoryControllerSummary(domainId, fixtureDatasetId, since, options) {
|
|
4030
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fixtureHistoryControllerSummary(domainId, fixtureDatasetId, since, options);
|
|
4031
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4032
|
+
const localVarOperationServerBasePath = operationServerMap['FixtureHistoryApi.fixtureHistoryControllerSummary']?.[localVarOperationServerIndex]?.url;
|
|
4033
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4034
|
+
},
|
|
4035
|
+
/**
|
|
4036
|
+
* <br> OperationId: `FixtureHistoryControllerTerminal`
|
|
4037
|
+
* @summary Set the offline terminal state of owned players-on-gameserver
|
|
4038
|
+
* @param {string} domainId
|
|
4039
|
+
* @param {FixtureHistoryTerminalInputDTO} [fixtureHistoryTerminalInputDTO] FixtureHistoryTerminalInputDTO
|
|
4040
|
+
* @param {*} [options] Override http request option.
|
|
4041
|
+
* @throws {RequiredError}
|
|
4042
|
+
*/
|
|
4043
|
+
async fixtureHistoryControllerTerminal(domainId, fixtureHistoryTerminalInputDTO, options) {
|
|
4044
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fixtureHistoryControllerTerminal(domainId, fixtureHistoryTerminalInputDTO, options);
|
|
4045
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4046
|
+
const localVarOperationServerBasePath = operationServerMap['FixtureHistoryApi.fixtureHistoryControllerTerminal']?.[localVarOperationServerIndex]?.url;
|
|
4047
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4048
|
+
},
|
|
4049
|
+
/**
|
|
4050
|
+
* <br> OperationId: `FixtureHistoryControllerTerminalState`
|
|
4051
|
+
* @summary Page through the terminal state of owned players-on-gameserver
|
|
4052
|
+
* @param {string} domainId
|
|
4053
|
+
* @param {string} fixtureDatasetId
|
|
4054
|
+
* @param {string} [cursor]
|
|
4055
|
+
* @param {*} [options] Override http request option.
|
|
4056
|
+
* @throws {RequiredError}
|
|
4057
|
+
*/
|
|
4058
|
+
async fixtureHistoryControllerTerminalState(domainId, fixtureDatasetId, cursor, options) {
|
|
4059
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fixtureHistoryControllerTerminalState(domainId, fixtureDatasetId, cursor, options);
|
|
4060
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4061
|
+
const localVarOperationServerBasePath = operationServerMap['FixtureHistoryApi.fixtureHistoryControllerTerminalState']?.[localVarOperationServerIndex]
|
|
4062
|
+
?.url;
|
|
4063
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4064
|
+
},
|
|
4065
|
+
};
|
|
4066
|
+
};
|
|
4067
|
+
/**
|
|
4068
|
+
* FixtureHistoryApi - factory interface
|
|
4069
|
+
* @export
|
|
4070
|
+
*/
|
|
4071
|
+
export const FixtureHistoryApiFactory = function (configuration, basePath, axios) {
|
|
4072
|
+
const localVarFp = FixtureHistoryApiFp(configuration);
|
|
4073
|
+
return {
|
|
4074
|
+
/**
|
|
4075
|
+
* <br> OperationId: `FixtureHistoryControllerActivity`
|
|
4076
|
+
* @summary Write owned, back-dated events and location samples into Postgres (idempotent)
|
|
4077
|
+
* @param {string} domainId
|
|
4078
|
+
* @param {FixtureHistoryActivityInputDTO} [fixtureHistoryActivityInputDTO] FixtureHistoryActivityInputDTO
|
|
4079
|
+
* @param {*} [options] Override http request option.
|
|
4080
|
+
* @throws {RequiredError}
|
|
4081
|
+
*/
|
|
4082
|
+
fixtureHistoryControllerActivity(domainId, fixtureHistoryActivityInputDTO, options) {
|
|
4083
|
+
return localVarFp
|
|
4084
|
+
.fixtureHistoryControllerActivity(domainId, fixtureHistoryActivityInputDTO, options)
|
|
4085
|
+
.then((request) => request(axios, basePath));
|
|
4086
|
+
},
|
|
4087
|
+
/**
|
|
4088
|
+
* <br> OperationId: `FixtureHistoryControllerAnalytics`
|
|
4089
|
+
* @summary Write owned, back-dated events into the analytics store (inserts only missing ids)
|
|
4090
|
+
* @param {string} domainId
|
|
4091
|
+
* @param {FixtureHistoryAnalyticsInputDTO} [fixtureHistoryAnalyticsInputDTO] FixtureHistoryAnalyticsInputDTO
|
|
4092
|
+
* @param {*} [options] Override http request option.
|
|
4093
|
+
* @throws {RequiredError}
|
|
4094
|
+
*/
|
|
4095
|
+
fixtureHistoryControllerAnalytics(domainId, fixtureHistoryAnalyticsInputDTO, options) {
|
|
4096
|
+
return localVarFp
|
|
4097
|
+
.fixtureHistoryControllerAnalytics(domainId, fixtureHistoryAnalyticsInputDTO, options)
|
|
4098
|
+
.then((request) => request(axios, basePath));
|
|
4099
|
+
},
|
|
4100
|
+
/**
|
|
4101
|
+
* <br> OperationId: `FixtureHistoryControllerCapabilities`
|
|
4102
|
+
* @summary What the writer can do for this domain, and the domain\'s event retention
|
|
4103
|
+
* @param {string} domainId
|
|
4104
|
+
* @param {*} [options] Override http request option.
|
|
4105
|
+
* @throws {RequiredError}
|
|
4106
|
+
*/
|
|
4107
|
+
fixtureHistoryControllerCapabilities(domainId, options) {
|
|
4108
|
+
return localVarFp
|
|
4109
|
+
.fixtureHistoryControllerCapabilities(domainId, options)
|
|
4110
|
+
.then((request) => request(axios, basePath));
|
|
4111
|
+
},
|
|
4112
|
+
/**
|
|
4113
|
+
* <br> OperationId: `FixtureHistoryControllerDelete`
|
|
4114
|
+
* @summary Delete a bounded batch of this dataset\'s rows from one store; loop until remaining is 0
|
|
4115
|
+
* @param {string} domainId
|
|
4116
|
+
* @param {string} fixtureDatasetId
|
|
4117
|
+
* @param {FixtureHistoryDeleteInputDTO} [fixtureHistoryDeleteInputDTO] FixtureHistoryDeleteInputDTO
|
|
4118
|
+
* @param {*} [options] Override http request option.
|
|
4119
|
+
* @throws {RequiredError}
|
|
4120
|
+
*/
|
|
4121
|
+
fixtureHistoryControllerDelete(domainId, fixtureDatasetId, fixtureHistoryDeleteInputDTO, options) {
|
|
4122
|
+
return localVarFp
|
|
4123
|
+
.fixtureHistoryControllerDelete(domainId, fixtureDatasetId, fixtureHistoryDeleteInputDTO, options)
|
|
4124
|
+
.then((request) => request(axios, basePath));
|
|
4125
|
+
},
|
|
4126
|
+
/**
|
|
4127
|
+
* <br> OperationId: `FixtureHistoryControllerEconomyReadiness`
|
|
4128
|
+
* @summary Per gameserver: whether economyEnabled is on (read-only; never written)
|
|
4129
|
+
* @param {string} domainId
|
|
4130
|
+
* @param {FixtureHistoryEconomyReadinessInputDTO} [fixtureHistoryEconomyReadinessInputDTO] FixtureHistoryEconomyReadinessInputDTO
|
|
4131
|
+
* @param {*} [options] Override http request option.
|
|
4132
|
+
* @throws {RequiredError}
|
|
4133
|
+
*/
|
|
4134
|
+
fixtureHistoryControllerEconomyReadiness(domainId, fixtureHistoryEconomyReadinessInputDTO, options) {
|
|
4135
|
+
return localVarFp
|
|
4136
|
+
.fixtureHistoryControllerEconomyReadiness(domainId, fixtureHistoryEconomyReadinessInputDTO, options)
|
|
4137
|
+
.then((request) => request(axios, basePath));
|
|
4138
|
+
},
|
|
4139
|
+
/**
|
|
4140
|
+
* One transaction. A planned row whose natural key is held by a row this dataset does not own is a conflict: nothing in the request is written and the conflicts are returned.<br> OperationId: `FixtureHistoryControllerIdentities`
|
|
4141
|
+
* @summary Write owned, back-dated players and players-on-gameserver
|
|
4142
|
+
* @param {string} domainId
|
|
4143
|
+
* @param {FixtureHistoryIdentitiesInputDTO} [fixtureHistoryIdentitiesInputDTO] FixtureHistoryIdentitiesInputDTO
|
|
4144
|
+
* @param {*} [options] Override http request option.
|
|
4145
|
+
* @throws {RequiredError}
|
|
4146
|
+
*/
|
|
4147
|
+
fixtureHistoryControllerIdentities(domainId, fixtureHistoryIdentitiesInputDTO, options) {
|
|
4148
|
+
return localVarFp
|
|
4149
|
+
.fixtureHistoryControllerIdentities(domainId, fixtureHistoryIdentitiesInputDTO, options)
|
|
4150
|
+
.then((request) => request(axios, basePath));
|
|
4151
|
+
},
|
|
4152
|
+
/**
|
|
4153
|
+
* <br> OperationId: `FixtureHistoryControllerInventory`
|
|
4154
|
+
* @summary Write the terminal inventory baseline of owned players-on-gameserver (idempotent)
|
|
4155
|
+
* @param {string} domainId
|
|
4156
|
+
* @param {FixtureHistoryInventoryInputDTO} [fixtureHistoryInventoryInputDTO] FixtureHistoryInventoryInputDTO
|
|
4157
|
+
* @param {*} [options] Override http request option.
|
|
4158
|
+
* @throws {RequiredError}
|
|
4159
|
+
*/
|
|
4160
|
+
fixtureHistoryControllerInventory(domainId, fixtureHistoryInventoryInputDTO, options) {
|
|
4161
|
+
return localVarFp
|
|
4162
|
+
.fixtureHistoryControllerInventory(domainId, fixtureHistoryInventoryInputDTO, options)
|
|
4163
|
+
.then((request) => request(axios, basePath));
|
|
4164
|
+
},
|
|
4165
|
+
/**
|
|
4166
|
+
* <br> OperationId: `FixtureHistoryControllerInventoryPage`
|
|
4167
|
+
* @summary Page through the owned inventory baselines, by player-on-gameserver
|
|
4168
|
+
* @param {string} domainId
|
|
4169
|
+
* @param {string} fixtureDatasetId
|
|
4170
|
+
* @param {string} [cursor]
|
|
4171
|
+
* @param {*} [options] Override http request option.
|
|
4172
|
+
* @throws {RequiredError}
|
|
4173
|
+
*/
|
|
4174
|
+
fixtureHistoryControllerInventoryPage(domainId, fixtureDatasetId, cursor, options) {
|
|
4175
|
+
return localVarFp
|
|
4176
|
+
.fixtureHistoryControllerInventoryPage(domainId, fixtureDatasetId, cursor, options)
|
|
4177
|
+
.then((request) => request(axios, basePath));
|
|
4178
|
+
},
|
|
4179
|
+
/**
|
|
4180
|
+
* One transaction. A listing whose id, or whose name on its gameserver, is held by a listing this dataset does not own is a conflict: nothing is written and the conflicts are returned.<br> OperationId: `FixtureHistoryControllerListings`
|
|
4181
|
+
* @summary Write owned, back-dated shop listings
|
|
4182
|
+
* @param {string} domainId
|
|
4183
|
+
* @param {FixtureHistoryListingsInputDTO} [fixtureHistoryListingsInputDTO] FixtureHistoryListingsInputDTO
|
|
4184
|
+
* @param {*} [options] Override http request option.
|
|
4185
|
+
* @throws {RequiredError}
|
|
4186
|
+
*/
|
|
4187
|
+
fixtureHistoryControllerListings(domainId, fixtureHistoryListingsInputDTO, options) {
|
|
4188
|
+
return localVarFp
|
|
4189
|
+
.fixtureHistoryControllerListings(domainId, fixtureHistoryListingsInputDTO, options)
|
|
4190
|
+
.then((request) => request(axios, basePath));
|
|
4191
|
+
},
|
|
4192
|
+
/**
|
|
4193
|
+
* Never charges, refunds, delivers or runs a shop action: an order is written as a settled row.<br> OperationId: `FixtureHistoryControllerOrders`
|
|
4194
|
+
* @summary Write owned, settled (COMPLETED or CANCELED) historical orders (idempotent)
|
|
4195
|
+
* @param {string} domainId
|
|
4196
|
+
* @param {FixtureHistoryOrdersInputDTO} [fixtureHistoryOrdersInputDTO] FixtureHistoryOrdersInputDTO
|
|
4197
|
+
* @param {*} [options] Override http request option.
|
|
4198
|
+
* @throws {RequiredError}
|
|
4199
|
+
*/
|
|
4200
|
+
fixtureHistoryControllerOrders(domainId, fixtureHistoryOrdersInputDTO, options) {
|
|
4201
|
+
return localVarFp
|
|
4202
|
+
.fixtureHistoryControllerOrders(domainId, fixtureHistoryOrdersInputDTO, options)
|
|
4203
|
+
.then((request) => request(axios, basePath));
|
|
4204
|
+
},
|
|
4205
|
+
/**
|
|
4206
|
+
* <br> OperationId: `FixtureHistoryControllerSummary`
|
|
4207
|
+
* @summary Owned row counts per store, and unowned events naming owned players
|
|
4208
|
+
* @param {string} domainId
|
|
4209
|
+
* @param {string} fixtureDatasetId
|
|
4210
|
+
* @param {FixtureHistoryControllerSummarySinceParameter} [since]
|
|
4211
|
+
* @param {*} [options] Override http request option.
|
|
4212
|
+
* @throws {RequiredError}
|
|
4213
|
+
*/
|
|
4214
|
+
fixtureHistoryControllerSummary(domainId, fixtureDatasetId, since, options) {
|
|
4215
|
+
return localVarFp
|
|
4216
|
+
.fixtureHistoryControllerSummary(domainId, fixtureDatasetId, since, options)
|
|
4217
|
+
.then((request) => request(axios, basePath));
|
|
4218
|
+
},
|
|
4219
|
+
/**
|
|
4220
|
+
* <br> OperationId: `FixtureHistoryControllerTerminal`
|
|
4221
|
+
* @summary Set the offline terminal state of owned players-on-gameserver
|
|
4222
|
+
* @param {string} domainId
|
|
4223
|
+
* @param {FixtureHistoryTerminalInputDTO} [fixtureHistoryTerminalInputDTO] FixtureHistoryTerminalInputDTO
|
|
4224
|
+
* @param {*} [options] Override http request option.
|
|
4225
|
+
* @throws {RequiredError}
|
|
4226
|
+
*/
|
|
4227
|
+
fixtureHistoryControllerTerminal(domainId, fixtureHistoryTerminalInputDTO, options) {
|
|
4228
|
+
return localVarFp
|
|
4229
|
+
.fixtureHistoryControllerTerminal(domainId, fixtureHistoryTerminalInputDTO, options)
|
|
4230
|
+
.then((request) => request(axios, basePath));
|
|
4231
|
+
},
|
|
4232
|
+
/**
|
|
4233
|
+
* <br> OperationId: `FixtureHistoryControllerTerminalState`
|
|
4234
|
+
* @summary Page through the terminal state of owned players-on-gameserver
|
|
4235
|
+
* @param {string} domainId
|
|
4236
|
+
* @param {string} fixtureDatasetId
|
|
4237
|
+
* @param {string} [cursor]
|
|
4238
|
+
* @param {*} [options] Override http request option.
|
|
4239
|
+
* @throws {RequiredError}
|
|
4240
|
+
*/
|
|
4241
|
+
fixtureHistoryControllerTerminalState(domainId, fixtureDatasetId, cursor, options) {
|
|
4242
|
+
return localVarFp
|
|
4243
|
+
.fixtureHistoryControllerTerminalState(domainId, fixtureDatasetId, cursor, options)
|
|
4244
|
+
.then((request) => request(axios, basePath));
|
|
4245
|
+
},
|
|
4246
|
+
};
|
|
4247
|
+
};
|
|
4248
|
+
/**
|
|
4249
|
+
* FixtureHistoryApi - object-oriented interface
|
|
4250
|
+
* @export
|
|
4251
|
+
* @class FixtureHistoryApi
|
|
4252
|
+
* @extends {BaseAPI}
|
|
4253
|
+
*/
|
|
4254
|
+
export class FixtureHistoryApi extends BaseAPI {
|
|
4255
|
+
/**
|
|
4256
|
+
* <br> OperationId: `FixtureHistoryControllerActivity`
|
|
4257
|
+
* @summary Write owned, back-dated events and location samples into Postgres (idempotent)
|
|
4258
|
+
* @param {string} domainId
|
|
4259
|
+
* @param {FixtureHistoryActivityInputDTO} [fixtureHistoryActivityInputDTO] FixtureHistoryActivityInputDTO
|
|
4260
|
+
* @param {*} [options] Override http request option.
|
|
4261
|
+
* @throws {RequiredError}
|
|
4262
|
+
* @memberof FixtureHistoryApi
|
|
4263
|
+
*/
|
|
4264
|
+
fixtureHistoryControllerActivity(domainId, fixtureHistoryActivityInputDTO, options) {
|
|
4265
|
+
return FixtureHistoryApiFp(this.configuration)
|
|
4266
|
+
.fixtureHistoryControllerActivity(domainId, fixtureHistoryActivityInputDTO, options)
|
|
4267
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4268
|
+
}
|
|
4269
|
+
/**
|
|
4270
|
+
* <br> OperationId: `FixtureHistoryControllerAnalytics`
|
|
4271
|
+
* @summary Write owned, back-dated events into the analytics store (inserts only missing ids)
|
|
4272
|
+
* @param {string} domainId
|
|
4273
|
+
* @param {FixtureHistoryAnalyticsInputDTO} [fixtureHistoryAnalyticsInputDTO] FixtureHistoryAnalyticsInputDTO
|
|
4274
|
+
* @param {*} [options] Override http request option.
|
|
4275
|
+
* @throws {RequiredError}
|
|
4276
|
+
* @memberof FixtureHistoryApi
|
|
4277
|
+
*/
|
|
4278
|
+
fixtureHistoryControllerAnalytics(domainId, fixtureHistoryAnalyticsInputDTO, options) {
|
|
4279
|
+
return FixtureHistoryApiFp(this.configuration)
|
|
4280
|
+
.fixtureHistoryControllerAnalytics(domainId, fixtureHistoryAnalyticsInputDTO, options)
|
|
4281
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4282
|
+
}
|
|
4283
|
+
/**
|
|
4284
|
+
* <br> OperationId: `FixtureHistoryControllerCapabilities`
|
|
4285
|
+
* @summary What the writer can do for this domain, and the domain\'s event retention
|
|
4286
|
+
* @param {string} domainId
|
|
4287
|
+
* @param {*} [options] Override http request option.
|
|
4288
|
+
* @throws {RequiredError}
|
|
4289
|
+
* @memberof FixtureHistoryApi
|
|
4290
|
+
*/
|
|
4291
|
+
fixtureHistoryControllerCapabilities(domainId, options) {
|
|
4292
|
+
return FixtureHistoryApiFp(this.configuration)
|
|
4293
|
+
.fixtureHistoryControllerCapabilities(domainId, options)
|
|
4294
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4295
|
+
}
|
|
4296
|
+
/**
|
|
4297
|
+
* <br> OperationId: `FixtureHistoryControllerDelete`
|
|
4298
|
+
* @summary Delete a bounded batch of this dataset\'s rows from one store; loop until remaining is 0
|
|
4299
|
+
* @param {string} domainId
|
|
4300
|
+
* @param {string} fixtureDatasetId
|
|
4301
|
+
* @param {FixtureHistoryDeleteInputDTO} [fixtureHistoryDeleteInputDTO] FixtureHistoryDeleteInputDTO
|
|
4302
|
+
* @param {*} [options] Override http request option.
|
|
4303
|
+
* @throws {RequiredError}
|
|
4304
|
+
* @memberof FixtureHistoryApi
|
|
4305
|
+
*/
|
|
4306
|
+
fixtureHistoryControllerDelete(domainId, fixtureDatasetId, fixtureHistoryDeleteInputDTO, options) {
|
|
4307
|
+
return FixtureHistoryApiFp(this.configuration)
|
|
4308
|
+
.fixtureHistoryControllerDelete(domainId, fixtureDatasetId, fixtureHistoryDeleteInputDTO, options)
|
|
4309
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4310
|
+
}
|
|
4311
|
+
/**
|
|
4312
|
+
* <br> OperationId: `FixtureHistoryControllerEconomyReadiness`
|
|
4313
|
+
* @summary Per gameserver: whether economyEnabled is on (read-only; never written)
|
|
4314
|
+
* @param {string} domainId
|
|
4315
|
+
* @param {FixtureHistoryEconomyReadinessInputDTO} [fixtureHistoryEconomyReadinessInputDTO] FixtureHistoryEconomyReadinessInputDTO
|
|
4316
|
+
* @param {*} [options] Override http request option.
|
|
4317
|
+
* @throws {RequiredError}
|
|
4318
|
+
* @memberof FixtureHistoryApi
|
|
4319
|
+
*/
|
|
4320
|
+
fixtureHistoryControllerEconomyReadiness(domainId, fixtureHistoryEconomyReadinessInputDTO, options) {
|
|
4321
|
+
return FixtureHistoryApiFp(this.configuration)
|
|
4322
|
+
.fixtureHistoryControllerEconomyReadiness(domainId, fixtureHistoryEconomyReadinessInputDTO, options)
|
|
4323
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4324
|
+
}
|
|
4325
|
+
/**
|
|
4326
|
+
* One transaction. A planned row whose natural key is held by a row this dataset does not own is a conflict: nothing in the request is written and the conflicts are returned.<br> OperationId: `FixtureHistoryControllerIdentities`
|
|
4327
|
+
* @summary Write owned, back-dated players and players-on-gameserver
|
|
4328
|
+
* @param {string} domainId
|
|
4329
|
+
* @param {FixtureHistoryIdentitiesInputDTO} [fixtureHistoryIdentitiesInputDTO] FixtureHistoryIdentitiesInputDTO
|
|
4330
|
+
* @param {*} [options] Override http request option.
|
|
4331
|
+
* @throws {RequiredError}
|
|
4332
|
+
* @memberof FixtureHistoryApi
|
|
4333
|
+
*/
|
|
4334
|
+
fixtureHistoryControllerIdentities(domainId, fixtureHistoryIdentitiesInputDTO, options) {
|
|
4335
|
+
return FixtureHistoryApiFp(this.configuration)
|
|
4336
|
+
.fixtureHistoryControllerIdentities(domainId, fixtureHistoryIdentitiesInputDTO, options)
|
|
4337
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4338
|
+
}
|
|
4339
|
+
/**
|
|
4340
|
+
* <br> OperationId: `FixtureHistoryControllerInventory`
|
|
4341
|
+
* @summary Write the terminal inventory baseline of owned players-on-gameserver (idempotent)
|
|
4342
|
+
* @param {string} domainId
|
|
4343
|
+
* @param {FixtureHistoryInventoryInputDTO} [fixtureHistoryInventoryInputDTO] FixtureHistoryInventoryInputDTO
|
|
4344
|
+
* @param {*} [options] Override http request option.
|
|
4345
|
+
* @throws {RequiredError}
|
|
4346
|
+
* @memberof FixtureHistoryApi
|
|
4347
|
+
*/
|
|
4348
|
+
fixtureHistoryControllerInventory(domainId, fixtureHistoryInventoryInputDTO, options) {
|
|
4349
|
+
return FixtureHistoryApiFp(this.configuration)
|
|
4350
|
+
.fixtureHistoryControllerInventory(domainId, fixtureHistoryInventoryInputDTO, options)
|
|
4351
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4352
|
+
}
|
|
4353
|
+
/**
|
|
4354
|
+
* <br> OperationId: `FixtureHistoryControllerInventoryPage`
|
|
4355
|
+
* @summary Page through the owned inventory baselines, by player-on-gameserver
|
|
4356
|
+
* @param {string} domainId
|
|
4357
|
+
* @param {string} fixtureDatasetId
|
|
4358
|
+
* @param {string} [cursor]
|
|
4359
|
+
* @param {*} [options] Override http request option.
|
|
4360
|
+
* @throws {RequiredError}
|
|
4361
|
+
* @memberof FixtureHistoryApi
|
|
4362
|
+
*/
|
|
4363
|
+
fixtureHistoryControllerInventoryPage(domainId, fixtureDatasetId, cursor, options) {
|
|
4364
|
+
return FixtureHistoryApiFp(this.configuration)
|
|
4365
|
+
.fixtureHistoryControllerInventoryPage(domainId, fixtureDatasetId, cursor, options)
|
|
4366
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4367
|
+
}
|
|
4368
|
+
/**
|
|
4369
|
+
* One transaction. A listing whose id, or whose name on its gameserver, is held by a listing this dataset does not own is a conflict: nothing is written and the conflicts are returned.<br> OperationId: `FixtureHistoryControllerListings`
|
|
4370
|
+
* @summary Write owned, back-dated shop listings
|
|
4371
|
+
* @param {string} domainId
|
|
4372
|
+
* @param {FixtureHistoryListingsInputDTO} [fixtureHistoryListingsInputDTO] FixtureHistoryListingsInputDTO
|
|
4373
|
+
* @param {*} [options] Override http request option.
|
|
4374
|
+
* @throws {RequiredError}
|
|
4375
|
+
* @memberof FixtureHistoryApi
|
|
4376
|
+
*/
|
|
4377
|
+
fixtureHistoryControllerListings(domainId, fixtureHistoryListingsInputDTO, options) {
|
|
4378
|
+
return FixtureHistoryApiFp(this.configuration)
|
|
4379
|
+
.fixtureHistoryControllerListings(domainId, fixtureHistoryListingsInputDTO, options)
|
|
4380
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4381
|
+
}
|
|
4382
|
+
/**
|
|
4383
|
+
* Never charges, refunds, delivers or runs a shop action: an order is written as a settled row.<br> OperationId: `FixtureHistoryControllerOrders`
|
|
4384
|
+
* @summary Write owned, settled (COMPLETED or CANCELED) historical orders (idempotent)
|
|
4385
|
+
* @param {string} domainId
|
|
4386
|
+
* @param {FixtureHistoryOrdersInputDTO} [fixtureHistoryOrdersInputDTO] FixtureHistoryOrdersInputDTO
|
|
4387
|
+
* @param {*} [options] Override http request option.
|
|
4388
|
+
* @throws {RequiredError}
|
|
4389
|
+
* @memberof FixtureHistoryApi
|
|
4390
|
+
*/
|
|
4391
|
+
fixtureHistoryControllerOrders(domainId, fixtureHistoryOrdersInputDTO, options) {
|
|
4392
|
+
return FixtureHistoryApiFp(this.configuration)
|
|
4393
|
+
.fixtureHistoryControllerOrders(domainId, fixtureHistoryOrdersInputDTO, options)
|
|
4394
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4395
|
+
}
|
|
4396
|
+
/**
|
|
4397
|
+
* <br> OperationId: `FixtureHistoryControllerSummary`
|
|
4398
|
+
* @summary Owned row counts per store, and unowned events naming owned players
|
|
4399
|
+
* @param {string} domainId
|
|
4400
|
+
* @param {string} fixtureDatasetId
|
|
4401
|
+
* @param {FixtureHistoryControllerSummarySinceParameter} [since]
|
|
4402
|
+
* @param {*} [options] Override http request option.
|
|
4403
|
+
* @throws {RequiredError}
|
|
4404
|
+
* @memberof FixtureHistoryApi
|
|
4405
|
+
*/
|
|
4406
|
+
fixtureHistoryControllerSummary(domainId, fixtureDatasetId, since, options) {
|
|
4407
|
+
return FixtureHistoryApiFp(this.configuration)
|
|
4408
|
+
.fixtureHistoryControllerSummary(domainId, fixtureDatasetId, since, options)
|
|
4409
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4410
|
+
}
|
|
4411
|
+
/**
|
|
4412
|
+
* <br> OperationId: `FixtureHistoryControllerTerminal`
|
|
4413
|
+
* @summary Set the offline terminal state of owned players-on-gameserver
|
|
4414
|
+
* @param {string} domainId
|
|
4415
|
+
* @param {FixtureHistoryTerminalInputDTO} [fixtureHistoryTerminalInputDTO] FixtureHistoryTerminalInputDTO
|
|
4416
|
+
* @param {*} [options] Override http request option.
|
|
4417
|
+
* @throws {RequiredError}
|
|
4418
|
+
* @memberof FixtureHistoryApi
|
|
4419
|
+
*/
|
|
4420
|
+
fixtureHistoryControllerTerminal(domainId, fixtureHistoryTerminalInputDTO, options) {
|
|
4421
|
+
return FixtureHistoryApiFp(this.configuration)
|
|
4422
|
+
.fixtureHistoryControllerTerminal(domainId, fixtureHistoryTerminalInputDTO, options)
|
|
4423
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4424
|
+
}
|
|
4425
|
+
/**
|
|
4426
|
+
* <br> OperationId: `FixtureHistoryControllerTerminalState`
|
|
4427
|
+
* @summary Page through the terminal state of owned players-on-gameserver
|
|
4428
|
+
* @param {string} domainId
|
|
4429
|
+
* @param {string} fixtureDatasetId
|
|
4430
|
+
* @param {string} [cursor]
|
|
4431
|
+
* @param {*} [options] Override http request option.
|
|
4432
|
+
* @throws {RequiredError}
|
|
4433
|
+
* @memberof FixtureHistoryApi
|
|
4434
|
+
*/
|
|
4435
|
+
fixtureHistoryControllerTerminalState(domainId, fixtureDatasetId, cursor, options) {
|
|
4436
|
+
return FixtureHistoryApiFp(this.configuration)
|
|
4437
|
+
.fixtureHistoryControllerTerminalState(domainId, fixtureDatasetId, cursor, options)
|
|
4438
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4439
|
+
}
|
|
4440
|
+
}
|
|
4441
|
+
/**
|
|
4442
|
+
* MetaApi - axios parameter creator
|
|
4443
|
+
* @export
|
|
4444
|
+
*/
|
|
4445
|
+
export const MetaApiAxiosParamCreator = function (configuration) {
|
|
4446
|
+
return {
|
|
4447
|
+
/**
|
|
4448
|
+
* <br> OperationId: `MetaGetHealth`
|
|
4449
|
+
* @summary Get health
|
|
4450
|
+
* @param {*} [options] Override http request option.
|
|
4451
|
+
* @throws {RequiredError}
|
|
4452
|
+
*/
|
|
4453
|
+
metaGetHealth: async (options = {}) => {
|
|
4454
|
+
const localVarPath = `/healthz`;
|
|
4455
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4456
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4457
|
+
let baseOptions;
|
|
4458
|
+
if (configuration) {
|
|
4459
|
+
baseOptions = configuration.baseOptions;
|
|
4460
|
+
}
|
|
4461
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4462
|
+
const localVarHeaderParameter = {};
|
|
4463
|
+
const localVarQueryParameter = {};
|
|
4464
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4465
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4466
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4467
|
+
return {
|
|
4468
|
+
url: toPathString(localVarUrlObj),
|
|
4469
|
+
options: localVarRequestOptions,
|
|
4470
|
+
};
|
|
4471
|
+
},
|
|
4472
|
+
/**
|
|
4473
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
4474
|
+
* @summary Get liveness
|
|
4475
|
+
* @param {*} [options] Override http request option.
|
|
4476
|
+
* @throws {RequiredError}
|
|
4477
|
+
*/
|
|
4478
|
+
metaGetLiveness: async (options = {}) => {
|
|
4479
|
+
const localVarPath = `/livez`;
|
|
4480
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4481
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4482
|
+
let baseOptions;
|
|
4483
|
+
if (configuration) {
|
|
4484
|
+
baseOptions = configuration.baseOptions;
|
|
4485
|
+
}
|
|
4486
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4487
|
+
const localVarHeaderParameter = {};
|
|
4488
|
+
const localVarQueryParameter = {};
|
|
4489
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4490
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4491
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4492
|
+
return {
|
|
4493
|
+
url: toPathString(localVarUrlObj),
|
|
4494
|
+
options: localVarRequestOptions,
|
|
4495
|
+
};
|
|
4496
|
+
},
|
|
4497
|
+
/**
|
|
4498
|
+
* <br> OperationId: `MetaGetOpenApi`
|
|
4499
|
+
* @summary Get open api
|
|
4500
|
+
* @param {*} [options] Override http request option.
|
|
4501
|
+
* @throws {RequiredError}
|
|
4502
|
+
*/
|
|
4503
|
+
metaGetOpenApi: async (options = {}) => {
|
|
4504
|
+
const localVarPath = `/openapi.json`;
|
|
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
|
+
/**
|
|
4523
|
+
* <br> OperationId: `MetaGetOpenApiHtml`
|
|
4524
|
+
* @summary Get open api html
|
|
4525
|
+
* @param {*} [options] Override http request option.
|
|
4526
|
+
* @throws {RequiredError}
|
|
4527
|
+
*/
|
|
4528
|
+
metaGetOpenApiHtml: async (options = {}) => {
|
|
4529
|
+
const localVarPath = `/api.html`;
|
|
4530
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4531
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4532
|
+
let baseOptions;
|
|
4533
|
+
if (configuration) {
|
|
4534
|
+
baseOptions = configuration.baseOptions;
|
|
4535
|
+
}
|
|
4536
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4537
|
+
const localVarHeaderParameter = {};
|
|
4538
|
+
const localVarQueryParameter = {};
|
|
4539
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4540
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4541
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4542
|
+
return {
|
|
4543
|
+
url: toPathString(localVarUrlObj),
|
|
4544
|
+
options: localVarRequestOptions,
|
|
4545
|
+
};
|
|
4546
|
+
},
|
|
4547
|
+
/**
|
|
4548
|
+
* <br> OperationId: `MetaGetReadiness`
|
|
4549
|
+
* @summary Get readiness
|
|
4550
|
+
* @param {*} [options] Override http request option.
|
|
4551
|
+
* @throws {RequiredError}
|
|
4552
|
+
*/
|
|
4553
|
+
metaGetReadiness: async (options = {}) => {
|
|
4554
|
+
const localVarPath = `/readyz`;
|
|
4555
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4556
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4557
|
+
let baseOptions;
|
|
4558
|
+
if (configuration) {
|
|
4559
|
+
baseOptions = configuration.baseOptions;
|
|
4560
|
+
}
|
|
4561
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4562
|
+
const localVarHeaderParameter = {};
|
|
4563
|
+
const localVarQueryParameter = {};
|
|
4564
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4565
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4566
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4567
|
+
return {
|
|
4568
|
+
url: toPathString(localVarUrlObj),
|
|
4569
|
+
options: localVarRequestOptions,
|
|
4570
|
+
};
|
|
4571
|
+
},
|
|
4572
|
+
/**
|
|
4573
|
+
* <br> OperationId: `MetaGetRoot`
|
|
4574
|
+
* @summary Get root
|
|
4575
|
+
* @param {*} [options] Override http request option.
|
|
4576
|
+
* @throws {RequiredError}
|
|
4577
|
+
*/
|
|
4578
|
+
metaGetRoot: async (options = {}) => {
|
|
4579
|
+
const localVarPath = `/`;
|
|
4580
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4581
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4582
|
+
let baseOptions;
|
|
4583
|
+
if (configuration) {
|
|
4584
|
+
baseOptions = configuration.baseOptions;
|
|
4585
|
+
}
|
|
4586
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4587
|
+
const localVarHeaderParameter = {};
|
|
4588
|
+
const localVarQueryParameter = {};
|
|
4589
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4590
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4591
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4592
|
+
return {
|
|
4593
|
+
url: toPathString(localVarUrlObj),
|
|
4594
|
+
options: localVarRequestOptions,
|
|
4595
|
+
};
|
|
4596
|
+
},
|
|
4597
|
+
};
|
|
4598
|
+
};
|
|
4599
|
+
/**
|
|
4600
|
+
* MetaApi - functional programming interface
|
|
4601
|
+
* @export
|
|
4602
|
+
*/
|
|
4603
|
+
export const MetaApiFp = function (configuration) {
|
|
4604
|
+
const localVarAxiosParamCreator = MetaApiAxiosParamCreator(configuration);
|
|
4605
|
+
return {
|
|
4606
|
+
/**
|
|
4607
|
+
* <br> OperationId: `MetaGetHealth`
|
|
4608
|
+
* @summary Get health
|
|
4609
|
+
* @param {*} [options] Override http request option.
|
|
4610
|
+
* @throws {RequiredError}
|
|
4611
|
+
*/
|
|
4612
|
+
async metaGetHealth(options) {
|
|
4613
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetHealth(options);
|
|
4614
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4615
|
+
const localVarOperationServerBasePath = operationServerMap['MetaApi.metaGetHealth']?.[localVarOperationServerIndex]?.url;
|
|
4616
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4617
|
+
},
|
|
4618
|
+
/**
|
|
4619
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
4620
|
+
* @summary Get liveness
|
|
4621
|
+
* @param {*} [options] Override http request option.
|
|
4622
|
+
* @throws {RequiredError}
|
|
4623
|
+
*/
|
|
4624
|
+
async metaGetLiveness(options) {
|
|
4625
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetLiveness(options);
|
|
4626
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4627
|
+
const localVarOperationServerBasePath = operationServerMap['MetaApi.metaGetLiveness']?.[localVarOperationServerIndex]?.url;
|
|
4628
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4629
|
+
},
|
|
4630
|
+
/**
|
|
4631
|
+
* <br> OperationId: `MetaGetOpenApi`
|
|
4632
|
+
* @summary Get open api
|
|
4633
|
+
* @param {*} [options] Override http request option.
|
|
4634
|
+
* @throws {RequiredError}
|
|
4635
|
+
*/
|
|
4636
|
+
async metaGetOpenApi(options) {
|
|
4637
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetOpenApi(options);
|
|
4638
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4639
|
+
const localVarOperationServerBasePath = operationServerMap['MetaApi.metaGetOpenApi']?.[localVarOperationServerIndex]?.url;
|
|
4640
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4641
|
+
},
|
|
4642
|
+
/**
|
|
4643
|
+
* <br> OperationId: `MetaGetOpenApiHtml`
|
|
4644
|
+
* @summary Get open api html
|
|
4645
|
+
* @param {*} [options] Override http request option.
|
|
4646
|
+
* @throws {RequiredError}
|
|
4647
|
+
*/
|
|
4648
|
+
async metaGetOpenApiHtml(options) {
|
|
4649
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetOpenApiHtml(options);
|
|
4650
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4651
|
+
const localVarOperationServerBasePath = operationServerMap['MetaApi.metaGetOpenApiHtml']?.[localVarOperationServerIndex]?.url;
|
|
4652
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4653
|
+
},
|
|
4654
|
+
/**
|
|
4655
|
+
* <br> OperationId: `MetaGetReadiness`
|
|
3402
4656
|
* @summary Get readiness
|
|
3403
4657
|
* @param {*} [options] Override http request option.
|
|
3404
4658
|
* @throws {RequiredError}
|
|
@@ -3448,15 +4702,6 @@ export const MetaApiFactory = function (configuration, basePath, axios) {
|
|
|
3448
4702
|
metaGetLiveness(options) {
|
|
3449
4703
|
return localVarFp.metaGetLiveness(options).then((request) => request(axios, basePath));
|
|
3450
4704
|
},
|
|
3451
|
-
/**
|
|
3452
|
-
* <br> OperationId: `MetaGetMetrics`
|
|
3453
|
-
* @summary Get metrics
|
|
3454
|
-
* @param {*} [options] Override http request option.
|
|
3455
|
-
* @throws {RequiredError}
|
|
3456
|
-
*/
|
|
3457
|
-
metaGetMetrics(options) {
|
|
3458
|
-
return localVarFp.metaGetMetrics(options).then((request) => request(axios, basePath));
|
|
3459
|
-
},
|
|
3460
4705
|
/**
|
|
3461
4706
|
* <br> OperationId: `MetaGetOpenApi`
|
|
3462
4707
|
* @summary Get open api
|
|
@@ -3526,18 +4771,6 @@ export class MetaApi extends BaseAPI {
|
|
|
3526
4771
|
.metaGetLiveness(options)
|
|
3527
4772
|
.then((request) => request(this.axios, this.basePath));
|
|
3528
4773
|
}
|
|
3529
|
-
/**
|
|
3530
|
-
* <br> OperationId: `MetaGetMetrics`
|
|
3531
|
-
* @summary Get metrics
|
|
3532
|
-
* @param {*} [options] Override http request option.
|
|
3533
|
-
* @throws {RequiredError}
|
|
3534
|
-
* @memberof MetaApi
|
|
3535
|
-
*/
|
|
3536
|
-
metaGetMetrics(options) {
|
|
3537
|
-
return MetaApiFp(this.configuration)
|
|
3538
|
-
.metaGetMetrics(options)
|
|
3539
|
-
.then((request) => request(this.axios, this.basePath));
|
|
3540
|
-
}
|
|
3541
4774
|
/**
|
|
3542
4775
|
* <br> OperationId: `MetaGetOpenApi`
|
|
3543
4776
|
* @summary Get open api
|
|
@@ -3904,13 +5137,268 @@ export class StaffAuthApi extends BaseAPI {
|
|
|
3904
5137
|
export const StaffMeApiAxiosParamCreator = function (configuration) {
|
|
3905
5138
|
return {
|
|
3906
5139
|
/**
|
|
3907
|
-
* The signed-in Takaro Staff member and their tier (ADR 0026). Deliberately nothing else: no domains, no permissions, and never a token.<br> OperationId: `StaffMeControllerMe`
|
|
3908
|
-
* @summary Who this Staff session belongs to
|
|
5140
|
+
* The signed-in Takaro Staff member and their tier (ADR 0026). Deliberately nothing else: no domains, no permissions, and never a token.<br> OperationId: `StaffMeControllerMe`
|
|
5141
|
+
* @summary Who this Staff session belongs to
|
|
5142
|
+
* @param {*} [options] Override http request option.
|
|
5143
|
+
* @throws {RequiredError}
|
|
5144
|
+
*/
|
|
5145
|
+
staffMeControllerMe: async (options = {}) => {
|
|
5146
|
+
const localVarPath = `/staff/me`;
|
|
5147
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5148
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5149
|
+
let baseOptions;
|
|
5150
|
+
if (configuration) {
|
|
5151
|
+
baseOptions = configuration.baseOptions;
|
|
5152
|
+
}
|
|
5153
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
5154
|
+
const localVarHeaderParameter = {};
|
|
5155
|
+
const localVarQueryParameter = {};
|
|
5156
|
+
// authentication staffSession required
|
|
5157
|
+
// authentication adminAuth required
|
|
5158
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
5159
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5160
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5161
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5162
|
+
return {
|
|
5163
|
+
url: toPathString(localVarUrlObj),
|
|
5164
|
+
options: localVarRequestOptions,
|
|
5165
|
+
};
|
|
5166
|
+
},
|
|
5167
|
+
};
|
|
5168
|
+
};
|
|
5169
|
+
/**
|
|
5170
|
+
* StaffMeApi - functional programming interface
|
|
5171
|
+
* @export
|
|
5172
|
+
*/
|
|
5173
|
+
export const StaffMeApiFp = function (configuration) {
|
|
5174
|
+
const localVarAxiosParamCreator = StaffMeApiAxiosParamCreator(configuration);
|
|
5175
|
+
return {
|
|
5176
|
+
/**
|
|
5177
|
+
* The signed-in Takaro Staff member and their tier (ADR 0026). Deliberately nothing else: no domains, no permissions, and never a token.<br> OperationId: `StaffMeControllerMe`
|
|
5178
|
+
* @summary Who this Staff session belongs to
|
|
5179
|
+
* @param {*} [options] Override http request option.
|
|
5180
|
+
* @throws {RequiredError}
|
|
5181
|
+
*/
|
|
5182
|
+
async staffMeControllerMe(options) {
|
|
5183
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.staffMeControllerMe(options);
|
|
5184
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5185
|
+
const localVarOperationServerBasePath = operationServerMap['StaffMeApi.staffMeControllerMe']?.[localVarOperationServerIndex]?.url;
|
|
5186
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5187
|
+
},
|
|
5188
|
+
};
|
|
5189
|
+
};
|
|
5190
|
+
/**
|
|
5191
|
+
* StaffMeApi - factory interface
|
|
5192
|
+
* @export
|
|
5193
|
+
*/
|
|
5194
|
+
export const StaffMeApiFactory = function (configuration, basePath, axios) {
|
|
5195
|
+
const localVarFp = StaffMeApiFp(configuration);
|
|
5196
|
+
return {
|
|
5197
|
+
/**
|
|
5198
|
+
* The signed-in Takaro Staff member and their tier (ADR 0026). Deliberately nothing else: no domains, no permissions, and never a token.<br> OperationId: `StaffMeControllerMe`
|
|
5199
|
+
* @summary Who this Staff session belongs to
|
|
5200
|
+
* @param {*} [options] Override http request option.
|
|
5201
|
+
* @throws {RequiredError}
|
|
5202
|
+
*/
|
|
5203
|
+
staffMeControllerMe(options) {
|
|
5204
|
+
return localVarFp.staffMeControllerMe(options).then((request) => request(axios, basePath));
|
|
5205
|
+
},
|
|
5206
|
+
};
|
|
5207
|
+
};
|
|
5208
|
+
/**
|
|
5209
|
+
* StaffMeApi - object-oriented interface
|
|
5210
|
+
* @export
|
|
5211
|
+
* @class StaffMeApi
|
|
5212
|
+
* @extends {BaseAPI}
|
|
5213
|
+
*/
|
|
5214
|
+
export class StaffMeApi extends BaseAPI {
|
|
5215
|
+
/**
|
|
5216
|
+
* The signed-in Takaro Staff member and their tier (ADR 0026). Deliberately nothing else: no domains, no permissions, and never a token.<br> OperationId: `StaffMeControllerMe`
|
|
5217
|
+
* @summary Who this Staff session belongs to
|
|
5218
|
+
* @param {*} [options] Override http request option.
|
|
5219
|
+
* @throws {RequiredError}
|
|
5220
|
+
* @memberof StaffMeApi
|
|
5221
|
+
*/
|
|
5222
|
+
staffMeControllerMe(options) {
|
|
5223
|
+
return StaffMeApiFp(this.configuration)
|
|
5224
|
+
.staffMeControllerMe(options)
|
|
5225
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5226
|
+
}
|
|
5227
|
+
}
|
|
5228
|
+
/**
|
|
5229
|
+
* StaffPlanApi - axios parameter creator
|
|
5230
|
+
* @export
|
|
5231
|
+
*/
|
|
5232
|
+
export const StaffPlanApiAxiosParamCreator = function (configuration) {
|
|
5233
|
+
return {
|
|
5234
|
+
/**
|
|
5235
|
+
* Every Plan the billing provider knows about, unfiltered by storefront lookup keys — the ids here are exactly what a Distributor’s allowedPlans accepts. A Viewer sees no prices; Operator and Owner do.<br> OperationId: `StaffPlanControllerList`
|
|
5236
|
+
* @summary The Plan catalogue
|
|
5237
|
+
* @param {*} [options] Override http request option.
|
|
5238
|
+
* @throws {RequiredError}
|
|
5239
|
+
*/
|
|
5240
|
+
staffPlanControllerList: async (options = {}) => {
|
|
5241
|
+
const localVarPath = `/staff/plans`;
|
|
5242
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5243
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5244
|
+
let baseOptions;
|
|
5245
|
+
if (configuration) {
|
|
5246
|
+
baseOptions = configuration.baseOptions;
|
|
5247
|
+
}
|
|
5248
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
5249
|
+
const localVarHeaderParameter = {};
|
|
5250
|
+
const localVarQueryParameter = {};
|
|
5251
|
+
// authentication staffSession required
|
|
5252
|
+
// authentication adminAuth required
|
|
5253
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
5254
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5255
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5256
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5257
|
+
return {
|
|
5258
|
+
url: toPathString(localVarUrlObj),
|
|
5259
|
+
options: localVarRequestOptions,
|
|
5260
|
+
};
|
|
5261
|
+
},
|
|
5262
|
+
};
|
|
5263
|
+
};
|
|
5264
|
+
/**
|
|
5265
|
+
* StaffPlanApi - functional programming interface
|
|
5266
|
+
* @export
|
|
5267
|
+
*/
|
|
5268
|
+
export const StaffPlanApiFp = function (configuration) {
|
|
5269
|
+
const localVarAxiosParamCreator = StaffPlanApiAxiosParamCreator(configuration);
|
|
5270
|
+
return {
|
|
5271
|
+
/**
|
|
5272
|
+
* Every Plan the billing provider knows about, unfiltered by storefront lookup keys — the ids here are exactly what a Distributor’s allowedPlans accepts. A Viewer sees no prices; Operator and Owner do.<br> OperationId: `StaffPlanControllerList`
|
|
5273
|
+
* @summary The Plan catalogue
|
|
5274
|
+
* @param {*} [options] Override http request option.
|
|
5275
|
+
* @throws {RequiredError}
|
|
5276
|
+
*/
|
|
5277
|
+
async staffPlanControllerList(options) {
|
|
5278
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.staffPlanControllerList(options);
|
|
5279
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5280
|
+
const localVarOperationServerBasePath = operationServerMap['StaffPlanApi.staffPlanControllerList']?.[localVarOperationServerIndex]?.url;
|
|
5281
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5282
|
+
},
|
|
5283
|
+
};
|
|
5284
|
+
};
|
|
5285
|
+
/**
|
|
5286
|
+
* StaffPlanApi - factory interface
|
|
5287
|
+
* @export
|
|
5288
|
+
*/
|
|
5289
|
+
export const StaffPlanApiFactory = function (configuration, basePath, axios) {
|
|
5290
|
+
const localVarFp = StaffPlanApiFp(configuration);
|
|
5291
|
+
return {
|
|
5292
|
+
/**
|
|
5293
|
+
* Every Plan the billing provider knows about, unfiltered by storefront lookup keys — the ids here are exactly what a Distributor’s allowedPlans accepts. A Viewer sees no prices; Operator and Owner do.<br> OperationId: `StaffPlanControllerList`
|
|
5294
|
+
* @summary The Plan catalogue
|
|
5295
|
+
* @param {*} [options] Override http request option.
|
|
5296
|
+
* @throws {RequiredError}
|
|
5297
|
+
*/
|
|
5298
|
+
staffPlanControllerList(options) {
|
|
5299
|
+
return localVarFp.staffPlanControllerList(options).then((request) => request(axios, basePath));
|
|
5300
|
+
},
|
|
5301
|
+
};
|
|
5302
|
+
};
|
|
5303
|
+
/**
|
|
5304
|
+
* StaffPlanApi - object-oriented interface
|
|
5305
|
+
* @export
|
|
5306
|
+
* @class StaffPlanApi
|
|
5307
|
+
* @extends {BaseAPI}
|
|
5308
|
+
*/
|
|
5309
|
+
export class StaffPlanApi extends BaseAPI {
|
|
5310
|
+
/**
|
|
5311
|
+
* Every Plan the billing provider knows about, unfiltered by storefront lookup keys — the ids here are exactly what a Distributor’s allowedPlans accepts. A Viewer sees no prices; Operator and Owner do.<br> OperationId: `StaffPlanControllerList`
|
|
5312
|
+
* @summary The Plan catalogue
|
|
5313
|
+
* @param {*} [options] Override http request option.
|
|
5314
|
+
* @throws {RequiredError}
|
|
5315
|
+
* @memberof StaffPlanApi
|
|
5316
|
+
*/
|
|
5317
|
+
staffPlanControllerList(options) {
|
|
5318
|
+
return StaffPlanApiFp(this.configuration)
|
|
5319
|
+
.staffPlanControllerList(options)
|
|
5320
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5321
|
+
}
|
|
5322
|
+
}
|
|
5323
|
+
/**
|
|
5324
|
+
* StaffTakaroAiApi - axios parameter creator
|
|
5325
|
+
* @export
|
|
5326
|
+
*/
|
|
5327
|
+
export const StaffTakaroAiApiAxiosParamCreator = function (configuration) {
|
|
5328
|
+
return {
|
|
5329
|
+
/**
|
|
5330
|
+
* Staff only. The configured default override applies again. An expired override can be cleared.<br> OperationId: `StaffTakaroAiControllerClearDomainOverride`
|
|
5331
|
+
* @summary Clear the Takaro AI override of a Domain
|
|
5332
|
+
* @param {string} id
|
|
5333
|
+
* @param {TakaroAiOverrideClearInputDTO} [takaroAiOverrideClearInputDTO] TakaroAiOverrideClearInputDTO
|
|
5334
|
+
* @param {*} [options] Override http request option.
|
|
5335
|
+
* @throws {RequiredError}
|
|
5336
|
+
*/
|
|
5337
|
+
staffTakaroAiControllerClearDomainOverride: async (id, takaroAiOverrideClearInputDTO, options = {}) => {
|
|
5338
|
+
// verify required parameter 'id' is not null or undefined
|
|
5339
|
+
assertParamExists('staffTakaroAiControllerClearDomainOverride', 'id', id);
|
|
5340
|
+
const localVarPath = `/staff/takaro-ai/domain/{id}/override`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
5341
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5342
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5343
|
+
let baseOptions;
|
|
5344
|
+
if (configuration) {
|
|
5345
|
+
baseOptions = configuration.baseOptions;
|
|
5346
|
+
}
|
|
5347
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
5348
|
+
const localVarHeaderParameter = {};
|
|
5349
|
+
const localVarQueryParameter = {};
|
|
5350
|
+
// authentication staffSession required
|
|
5351
|
+
// authentication adminAuth required
|
|
5352
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
5353
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5354
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5355
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5356
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5357
|
+
localVarRequestOptions.data = serializeDataIfNeeded(takaroAiOverrideClearInputDTO, localVarRequestOptions, configuration);
|
|
5358
|
+
return {
|
|
5359
|
+
url: toPathString(localVarUrlObj),
|
|
5360
|
+
options: localVarRequestOptions,
|
|
5361
|
+
};
|
|
5362
|
+
},
|
|
5363
|
+
/**
|
|
5364
|
+
* Staff only. Amounts are integer microdollars: Plan base, the effective monthly allowance, usage and total spend, plus the override and its change history.<br> OperationId: `StaffTakaroAiControllerGetDomain`
|
|
5365
|
+
* @summary Takaro AI allowance, override and spend of a Domain
|
|
5366
|
+
* @param {string} id
|
|
5367
|
+
* @param {*} [options] Override http request option.
|
|
5368
|
+
* @throws {RequiredError}
|
|
5369
|
+
*/
|
|
5370
|
+
staffTakaroAiControllerGetDomain: async (id, options = {}) => {
|
|
5371
|
+
// verify required parameter 'id' is not null or undefined
|
|
5372
|
+
assertParamExists('staffTakaroAiControllerGetDomain', 'id', id);
|
|
5373
|
+
const localVarPath = `/staff/takaro-ai/domain/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
5374
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5375
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5376
|
+
let baseOptions;
|
|
5377
|
+
if (configuration) {
|
|
5378
|
+
baseOptions = configuration.baseOptions;
|
|
5379
|
+
}
|
|
5380
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
5381
|
+
const localVarHeaderParameter = {};
|
|
5382
|
+
const localVarQueryParameter = {};
|
|
5383
|
+
// authentication staffSession required
|
|
5384
|
+
// authentication adminAuth required
|
|
5385
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
5386
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5387
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5388
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5389
|
+
return {
|
|
5390
|
+
url: toPathString(localVarUrlObj),
|
|
5391
|
+
options: localVarRequestOptions,
|
|
5392
|
+
};
|
|
5393
|
+
},
|
|
5394
|
+
/**
|
|
5395
|
+
* Staff only. Amounts are integer microdollars: platform spend this month, today and in the spend alert window, the top Domains by spend, the global multiplier and its history, and the spend alerts.<br> OperationId: `StaffTakaroAiControllerGetPlatform`
|
|
5396
|
+
* @summary Takaro AI platform spend and global multiplier
|
|
3909
5397
|
* @param {*} [options] Override http request option.
|
|
3910
5398
|
* @throws {RequiredError}
|
|
3911
5399
|
*/
|
|
3912
|
-
|
|
3913
|
-
const localVarPath = `/staff/
|
|
5400
|
+
staffTakaroAiControllerGetPlatform: async (options = {}) => {
|
|
5401
|
+
const localVarPath = `/staff/takaro-ai`;
|
|
3914
5402
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3915
5403
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3916
5404
|
let baseOptions;
|
|
@@ -3931,96 +5419,100 @@ export const StaffMeApiAxiosParamCreator = function (configuration) {
|
|
|
3931
5419
|
options: localVarRequestOptions,
|
|
3932
5420
|
};
|
|
3933
5421
|
},
|
|
3934
|
-
};
|
|
3935
|
-
};
|
|
3936
|
-
/**
|
|
3937
|
-
* StaffMeApi - functional programming interface
|
|
3938
|
-
* @export
|
|
3939
|
-
*/
|
|
3940
|
-
export const StaffMeApiFp = function (configuration) {
|
|
3941
|
-
const localVarAxiosParamCreator = StaffMeApiAxiosParamCreator(configuration);
|
|
3942
|
-
return {
|
|
3943
5422
|
/**
|
|
3944
|
-
*
|
|
3945
|
-
* @summary
|
|
5423
|
+
* Staff only. A factor on the Domain’s allowance, 0 to 1000, with an optional expiry in the future. 0 switches Takaro AI off for the Domain. The billing reconciler never writes it.<br> OperationId: `StaffTakaroAiControllerSetDomainOverride`
|
|
5424
|
+
* @summary Set the Takaro AI override of a Domain
|
|
5425
|
+
* @param {string} id
|
|
5426
|
+
* @param {TakaroAiDomainOverrideInputDTO} [takaroAiDomainOverrideInputDTO] TakaroAiDomainOverrideInputDTO
|
|
3946
5427
|
* @param {*} [options] Override http request option.
|
|
3947
5428
|
* @throws {RequiredError}
|
|
3948
5429
|
*/
|
|
3949
|
-
async
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
const
|
|
3953
|
-
|
|
5430
|
+
staffTakaroAiControllerSetDomainOverride: async (id, takaroAiDomainOverrideInputDTO, options = {}) => {
|
|
5431
|
+
// verify required parameter 'id' is not null or undefined
|
|
5432
|
+
assertParamExists('staffTakaroAiControllerSetDomainOverride', 'id', id);
|
|
5433
|
+
const localVarPath = `/staff/takaro-ai/domain/{id}/override`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
5434
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5435
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5436
|
+
let baseOptions;
|
|
5437
|
+
if (configuration) {
|
|
5438
|
+
baseOptions = configuration.baseOptions;
|
|
5439
|
+
}
|
|
5440
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
5441
|
+
const localVarHeaderParameter = {};
|
|
5442
|
+
const localVarQueryParameter = {};
|
|
5443
|
+
// authentication staffSession required
|
|
5444
|
+
// authentication adminAuth required
|
|
5445
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
5446
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5447
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5448
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5449
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5450
|
+
localVarRequestOptions.data = serializeDataIfNeeded(takaroAiDomainOverrideInputDTO, localVarRequestOptions, configuration);
|
|
5451
|
+
return {
|
|
5452
|
+
url: toPathString(localVarUrlObj),
|
|
5453
|
+
options: localVarRequestOptions,
|
|
5454
|
+
};
|
|
3954
5455
|
},
|
|
3955
|
-
};
|
|
3956
|
-
};
|
|
3957
|
-
/**
|
|
3958
|
-
* StaffMeApi - factory interface
|
|
3959
|
-
* @export
|
|
3960
|
-
*/
|
|
3961
|
-
export const StaffMeApiFactory = function (configuration, basePath, axios) {
|
|
3962
|
-
const localVarFp = StaffMeApiFp(configuration);
|
|
3963
|
-
return {
|
|
3964
5456
|
/**
|
|
3965
|
-
*
|
|
3966
|
-
* @summary
|
|
5457
|
+
* Staff only. A factor on every Domain’s monthly allowance, 0 to 10. Applies from the next usage evaluation; needs no restart. Recorded with who, when and the reason.<br> OperationId: `StaffTakaroAiControllerSetGlobalMultiplier`
|
|
5458
|
+
* @summary Set the Takaro AI global multiplier
|
|
5459
|
+
* @param {TakaroAiGlobalMultiplierInputDTO} [takaroAiGlobalMultiplierInputDTO] TakaroAiGlobalMultiplierInputDTO
|
|
3967
5460
|
* @param {*} [options] Override http request option.
|
|
3968
5461
|
* @throws {RequiredError}
|
|
3969
5462
|
*/
|
|
3970
|
-
|
|
3971
|
-
|
|
5463
|
+
staffTakaroAiControllerSetGlobalMultiplier: async (takaroAiGlobalMultiplierInputDTO, options = {}) => {
|
|
5464
|
+
const localVarPath = `/staff/takaro-ai/global-multiplier`;
|
|
5465
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5466
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5467
|
+
let baseOptions;
|
|
5468
|
+
if (configuration) {
|
|
5469
|
+
baseOptions = configuration.baseOptions;
|
|
5470
|
+
}
|
|
5471
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
5472
|
+
const localVarHeaderParameter = {};
|
|
5473
|
+
const localVarQueryParameter = {};
|
|
5474
|
+
// authentication staffSession required
|
|
5475
|
+
// authentication adminAuth required
|
|
5476
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
5477
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5478
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5479
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5480
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5481
|
+
localVarRequestOptions.data = serializeDataIfNeeded(takaroAiGlobalMultiplierInputDTO, localVarRequestOptions, configuration);
|
|
5482
|
+
return {
|
|
5483
|
+
url: toPathString(localVarUrlObj),
|
|
5484
|
+
options: localVarRequestOptions,
|
|
5485
|
+
};
|
|
3972
5486
|
},
|
|
3973
|
-
};
|
|
3974
|
-
};
|
|
3975
|
-
/**
|
|
3976
|
-
* StaffMeApi - object-oriented interface
|
|
3977
|
-
* @export
|
|
3978
|
-
* @class StaffMeApi
|
|
3979
|
-
* @extends {BaseAPI}
|
|
3980
|
-
*/
|
|
3981
|
-
export class StaffMeApi extends BaseAPI {
|
|
3982
|
-
/**
|
|
3983
|
-
* The signed-in Takaro Staff member and their tier (ADR 0026). Deliberately nothing else: no domains, no permissions, and never a token.<br> OperationId: `StaffMeControllerMe`
|
|
3984
|
-
* @summary Who this Staff session belongs to
|
|
3985
|
-
* @param {*} [options] Override http request option.
|
|
3986
|
-
* @throws {RequiredError}
|
|
3987
|
-
* @memberof StaffMeApi
|
|
3988
|
-
*/
|
|
3989
|
-
staffMeControllerMe(options) {
|
|
3990
|
-
return StaffMeApiFp(this.configuration)
|
|
3991
|
-
.staffMeControllerMe(options)
|
|
3992
|
-
.then((request) => request(this.axios, this.basePath));
|
|
3993
|
-
}
|
|
3994
|
-
}
|
|
3995
|
-
/**
|
|
3996
|
-
* StaffPlanApi - axios parameter creator
|
|
3997
|
-
* @export
|
|
3998
|
-
*/
|
|
3999
|
-
export const StaffPlanApiAxiosParamCreator = function (configuration) {
|
|
4000
|
-
return {
|
|
4001
5487
|
/**
|
|
4002
|
-
*
|
|
4003
|
-
* @summary
|
|
5488
|
+
* Staff only. What the Domain may spend in CSMM Migration Threads over its lifetime, in integer microdollars. Those Threads do not count against the allowance, so this cap is their only bound. `null` goes back to the configured default. Applies from the next message.<br> OperationId: `StaffTakaroAiControllerSetMigrationCap`
|
|
5489
|
+
* @summary Set the CSMM Migration cap of a Domain
|
|
5490
|
+
* @param {string} id
|
|
5491
|
+
* @param {TakaroAiMigrationCapInputDTO} [takaroAiMigrationCapInputDTO] TakaroAiMigrationCapInputDTO
|
|
4004
5492
|
* @param {*} [options] Override http request option.
|
|
4005
5493
|
* @throws {RequiredError}
|
|
4006
5494
|
*/
|
|
4007
|
-
|
|
4008
|
-
|
|
5495
|
+
staffTakaroAiControllerSetMigrationCap: async (id, takaroAiMigrationCapInputDTO, options = {}) => {
|
|
5496
|
+
// verify required parameter 'id' is not null or undefined
|
|
5497
|
+
assertParamExists('staffTakaroAiControllerSetMigrationCap', 'id', id);
|
|
5498
|
+
const localVarPath = `/staff/takaro-ai/domain/{id}/migration-cap`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4009
5499
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4010
5500
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4011
5501
|
let baseOptions;
|
|
4012
5502
|
if (configuration) {
|
|
4013
5503
|
baseOptions = configuration.baseOptions;
|
|
4014
5504
|
}
|
|
4015
|
-
const localVarRequestOptions = { method: '
|
|
5505
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
4016
5506
|
const localVarHeaderParameter = {};
|
|
4017
5507
|
const localVarQueryParameter = {};
|
|
4018
5508
|
// authentication staffSession required
|
|
4019
5509
|
// authentication adminAuth required
|
|
4020
5510
|
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
5511
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4021
5512
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4022
5513
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4023
5514
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5515
|
+
localVarRequestOptions.data = serializeDataIfNeeded(takaroAiMigrationCapInputDTO, localVarRequestOptions, configuration);
|
|
4024
5516
|
return {
|
|
4025
5517
|
url: toPathString(localVarUrlObj),
|
|
4026
5518
|
options: localVarRequestOptions,
|
|
@@ -4029,61 +5521,260 @@ export const StaffPlanApiAxiosParamCreator = function (configuration) {
|
|
|
4029
5521
|
};
|
|
4030
5522
|
};
|
|
4031
5523
|
/**
|
|
4032
|
-
*
|
|
5524
|
+
* StaffTakaroAiApi - functional programming interface
|
|
4033
5525
|
* @export
|
|
4034
5526
|
*/
|
|
4035
|
-
export const
|
|
4036
|
-
const localVarAxiosParamCreator =
|
|
5527
|
+
export const StaffTakaroAiApiFp = function (configuration) {
|
|
5528
|
+
const localVarAxiosParamCreator = StaffTakaroAiApiAxiosParamCreator(configuration);
|
|
4037
5529
|
return {
|
|
4038
5530
|
/**
|
|
4039
|
-
*
|
|
4040
|
-
* @summary
|
|
5531
|
+
* Staff only. The configured default override applies again. An expired override can be cleared.<br> OperationId: `StaffTakaroAiControllerClearDomainOverride`
|
|
5532
|
+
* @summary Clear the Takaro AI override of a Domain
|
|
5533
|
+
* @param {string} id
|
|
5534
|
+
* @param {TakaroAiOverrideClearInputDTO} [takaroAiOverrideClearInputDTO] TakaroAiOverrideClearInputDTO
|
|
4041
5535
|
* @param {*} [options] Override http request option.
|
|
4042
5536
|
* @throws {RequiredError}
|
|
4043
5537
|
*/
|
|
4044
|
-
async
|
|
4045
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5538
|
+
async staffTakaroAiControllerClearDomainOverride(id, takaroAiOverrideClearInputDTO, options) {
|
|
5539
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.staffTakaroAiControllerClearDomainOverride(id, takaroAiOverrideClearInputDTO, options);
|
|
4046
5540
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4047
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
5541
|
+
const localVarOperationServerBasePath = operationServerMap['StaffTakaroAiApi.staffTakaroAiControllerClearDomainOverride']?.[localVarOperationServerIndex]?.url;
|
|
5542
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5543
|
+
},
|
|
5544
|
+
/**
|
|
5545
|
+
* Staff only. Amounts are integer microdollars: Plan base, the effective monthly allowance, usage and total spend, plus the override and its change history.<br> OperationId: `StaffTakaroAiControllerGetDomain`
|
|
5546
|
+
* @summary Takaro AI allowance, override and spend of a Domain
|
|
5547
|
+
* @param {string} id
|
|
5548
|
+
* @param {*} [options] Override http request option.
|
|
5549
|
+
* @throws {RequiredError}
|
|
5550
|
+
*/
|
|
5551
|
+
async staffTakaroAiControllerGetDomain(id, options) {
|
|
5552
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.staffTakaroAiControllerGetDomain(id, options);
|
|
5553
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5554
|
+
const localVarOperationServerBasePath = operationServerMap['StaffTakaroAiApi.staffTakaroAiControllerGetDomain']?.[localVarOperationServerIndex]?.url;
|
|
5555
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5556
|
+
},
|
|
5557
|
+
/**
|
|
5558
|
+
* Staff only. Amounts are integer microdollars: platform spend this month, today and in the spend alert window, the top Domains by spend, the global multiplier and its history, and the spend alerts.<br> OperationId: `StaffTakaroAiControllerGetPlatform`
|
|
5559
|
+
* @summary Takaro AI platform spend and global multiplier
|
|
5560
|
+
* @param {*} [options] Override http request option.
|
|
5561
|
+
* @throws {RequiredError}
|
|
5562
|
+
*/
|
|
5563
|
+
async staffTakaroAiControllerGetPlatform(options) {
|
|
5564
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.staffTakaroAiControllerGetPlatform(options);
|
|
5565
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5566
|
+
const localVarOperationServerBasePath = operationServerMap['StaffTakaroAiApi.staffTakaroAiControllerGetPlatform']?.[localVarOperationServerIndex]?.url;
|
|
5567
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5568
|
+
},
|
|
5569
|
+
/**
|
|
5570
|
+
* Staff only. A factor on the Domain’s allowance, 0 to 1000, with an optional expiry in the future. 0 switches Takaro AI off for the Domain. The billing reconciler never writes it.<br> OperationId: `StaffTakaroAiControllerSetDomainOverride`
|
|
5571
|
+
* @summary Set the Takaro AI override of a Domain
|
|
5572
|
+
* @param {string} id
|
|
5573
|
+
* @param {TakaroAiDomainOverrideInputDTO} [takaroAiDomainOverrideInputDTO] TakaroAiDomainOverrideInputDTO
|
|
5574
|
+
* @param {*} [options] Override http request option.
|
|
5575
|
+
* @throws {RequiredError}
|
|
5576
|
+
*/
|
|
5577
|
+
async staffTakaroAiControllerSetDomainOverride(id, takaroAiDomainOverrideInputDTO, options) {
|
|
5578
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.staffTakaroAiControllerSetDomainOverride(id, takaroAiDomainOverrideInputDTO, options);
|
|
5579
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5580
|
+
const localVarOperationServerBasePath = operationServerMap['StaffTakaroAiApi.staffTakaroAiControllerSetDomainOverride']?.[localVarOperationServerIndex]
|
|
5581
|
+
?.url;
|
|
5582
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5583
|
+
},
|
|
5584
|
+
/**
|
|
5585
|
+
* Staff only. A factor on every Domain’s monthly allowance, 0 to 10. Applies from the next usage evaluation; needs no restart. Recorded with who, when and the reason.<br> OperationId: `StaffTakaroAiControllerSetGlobalMultiplier`
|
|
5586
|
+
* @summary Set the Takaro AI global multiplier
|
|
5587
|
+
* @param {TakaroAiGlobalMultiplierInputDTO} [takaroAiGlobalMultiplierInputDTO] TakaroAiGlobalMultiplierInputDTO
|
|
5588
|
+
* @param {*} [options] Override http request option.
|
|
5589
|
+
* @throws {RequiredError}
|
|
5590
|
+
*/
|
|
5591
|
+
async staffTakaroAiControllerSetGlobalMultiplier(takaroAiGlobalMultiplierInputDTO, options) {
|
|
5592
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.staffTakaroAiControllerSetGlobalMultiplier(takaroAiGlobalMultiplierInputDTO, options);
|
|
5593
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5594
|
+
const localVarOperationServerBasePath = operationServerMap['StaffTakaroAiApi.staffTakaroAiControllerSetGlobalMultiplier']?.[localVarOperationServerIndex]?.url;
|
|
5595
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5596
|
+
},
|
|
5597
|
+
/**
|
|
5598
|
+
* Staff only. What the Domain may spend in CSMM Migration Threads over its lifetime, in integer microdollars. Those Threads do not count against the allowance, so this cap is their only bound. `null` goes back to the configured default. Applies from the next message.<br> OperationId: `StaffTakaroAiControllerSetMigrationCap`
|
|
5599
|
+
* @summary Set the CSMM Migration cap of a Domain
|
|
5600
|
+
* @param {string} id
|
|
5601
|
+
* @param {TakaroAiMigrationCapInputDTO} [takaroAiMigrationCapInputDTO] TakaroAiMigrationCapInputDTO
|
|
5602
|
+
* @param {*} [options] Override http request option.
|
|
5603
|
+
* @throws {RequiredError}
|
|
5604
|
+
*/
|
|
5605
|
+
async staffTakaroAiControllerSetMigrationCap(id, takaroAiMigrationCapInputDTO, options) {
|
|
5606
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.staffTakaroAiControllerSetMigrationCap(id, takaroAiMigrationCapInputDTO, options);
|
|
5607
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5608
|
+
const localVarOperationServerBasePath = operationServerMap['StaffTakaroAiApi.staffTakaroAiControllerSetMigrationCap']?.[localVarOperationServerIndex]
|
|
5609
|
+
?.url;
|
|
4048
5610
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4049
5611
|
},
|
|
4050
5612
|
};
|
|
4051
5613
|
};
|
|
4052
5614
|
/**
|
|
4053
|
-
*
|
|
5615
|
+
* StaffTakaroAiApi - factory interface
|
|
4054
5616
|
* @export
|
|
4055
5617
|
*/
|
|
4056
|
-
export const
|
|
4057
|
-
const localVarFp =
|
|
5618
|
+
export const StaffTakaroAiApiFactory = function (configuration, basePath, axios) {
|
|
5619
|
+
const localVarFp = StaffTakaroAiApiFp(configuration);
|
|
4058
5620
|
return {
|
|
4059
5621
|
/**
|
|
4060
|
-
*
|
|
4061
|
-
* @summary
|
|
5622
|
+
* Staff only. The configured default override applies again. An expired override can be cleared.<br> OperationId: `StaffTakaroAiControllerClearDomainOverride`
|
|
5623
|
+
* @summary Clear the Takaro AI override of a Domain
|
|
5624
|
+
* @param {string} id
|
|
5625
|
+
* @param {TakaroAiOverrideClearInputDTO} [takaroAiOverrideClearInputDTO] TakaroAiOverrideClearInputDTO
|
|
4062
5626
|
* @param {*} [options] Override http request option.
|
|
4063
5627
|
* @throws {RequiredError}
|
|
4064
5628
|
*/
|
|
4065
|
-
|
|
4066
|
-
return localVarFp
|
|
5629
|
+
staffTakaroAiControllerClearDomainOverride(id, takaroAiOverrideClearInputDTO, options) {
|
|
5630
|
+
return localVarFp
|
|
5631
|
+
.staffTakaroAiControllerClearDomainOverride(id, takaroAiOverrideClearInputDTO, options)
|
|
5632
|
+
.then((request) => request(axios, basePath));
|
|
5633
|
+
},
|
|
5634
|
+
/**
|
|
5635
|
+
* Staff only. Amounts are integer microdollars: Plan base, the effective monthly allowance, usage and total spend, plus the override and its change history.<br> OperationId: `StaffTakaroAiControllerGetDomain`
|
|
5636
|
+
* @summary Takaro AI allowance, override and spend of a Domain
|
|
5637
|
+
* @param {string} id
|
|
5638
|
+
* @param {*} [options] Override http request option.
|
|
5639
|
+
* @throws {RequiredError}
|
|
5640
|
+
*/
|
|
5641
|
+
staffTakaroAiControllerGetDomain(id, options) {
|
|
5642
|
+
return localVarFp.staffTakaroAiControllerGetDomain(id, options).then((request) => request(axios, basePath));
|
|
5643
|
+
},
|
|
5644
|
+
/**
|
|
5645
|
+
* Staff only. Amounts are integer microdollars: platform spend this month, today and in the spend alert window, the top Domains by spend, the global multiplier and its history, and the spend alerts.<br> OperationId: `StaffTakaroAiControllerGetPlatform`
|
|
5646
|
+
* @summary Takaro AI platform spend and global multiplier
|
|
5647
|
+
* @param {*} [options] Override http request option.
|
|
5648
|
+
* @throws {RequiredError}
|
|
5649
|
+
*/
|
|
5650
|
+
staffTakaroAiControllerGetPlatform(options) {
|
|
5651
|
+
return localVarFp.staffTakaroAiControllerGetPlatform(options).then((request) => request(axios, basePath));
|
|
5652
|
+
},
|
|
5653
|
+
/**
|
|
5654
|
+
* Staff only. A factor on the Domain’s allowance, 0 to 1000, with an optional expiry in the future. 0 switches Takaro AI off for the Domain. The billing reconciler never writes it.<br> OperationId: `StaffTakaroAiControllerSetDomainOverride`
|
|
5655
|
+
* @summary Set the Takaro AI override of a Domain
|
|
5656
|
+
* @param {string} id
|
|
5657
|
+
* @param {TakaroAiDomainOverrideInputDTO} [takaroAiDomainOverrideInputDTO] TakaroAiDomainOverrideInputDTO
|
|
5658
|
+
* @param {*} [options] Override http request option.
|
|
5659
|
+
* @throws {RequiredError}
|
|
5660
|
+
*/
|
|
5661
|
+
staffTakaroAiControllerSetDomainOverride(id, takaroAiDomainOverrideInputDTO, options) {
|
|
5662
|
+
return localVarFp
|
|
5663
|
+
.staffTakaroAiControllerSetDomainOverride(id, takaroAiDomainOverrideInputDTO, options)
|
|
5664
|
+
.then((request) => request(axios, basePath));
|
|
5665
|
+
},
|
|
5666
|
+
/**
|
|
5667
|
+
* Staff only. A factor on every Domain’s monthly allowance, 0 to 10. Applies from the next usage evaluation; needs no restart. Recorded with who, when and the reason.<br> OperationId: `StaffTakaroAiControllerSetGlobalMultiplier`
|
|
5668
|
+
* @summary Set the Takaro AI global multiplier
|
|
5669
|
+
* @param {TakaroAiGlobalMultiplierInputDTO} [takaroAiGlobalMultiplierInputDTO] TakaroAiGlobalMultiplierInputDTO
|
|
5670
|
+
* @param {*} [options] Override http request option.
|
|
5671
|
+
* @throws {RequiredError}
|
|
5672
|
+
*/
|
|
5673
|
+
staffTakaroAiControllerSetGlobalMultiplier(takaroAiGlobalMultiplierInputDTO, options) {
|
|
5674
|
+
return localVarFp
|
|
5675
|
+
.staffTakaroAiControllerSetGlobalMultiplier(takaroAiGlobalMultiplierInputDTO, options)
|
|
5676
|
+
.then((request) => request(axios, basePath));
|
|
5677
|
+
},
|
|
5678
|
+
/**
|
|
5679
|
+
* Staff only. What the Domain may spend in CSMM Migration Threads over its lifetime, in integer microdollars. Those Threads do not count against the allowance, so this cap is their only bound. `null` goes back to the configured default. Applies from the next message.<br> OperationId: `StaffTakaroAiControllerSetMigrationCap`
|
|
5680
|
+
* @summary Set the CSMM Migration cap of a Domain
|
|
5681
|
+
* @param {string} id
|
|
5682
|
+
* @param {TakaroAiMigrationCapInputDTO} [takaroAiMigrationCapInputDTO] TakaroAiMigrationCapInputDTO
|
|
5683
|
+
* @param {*} [options] Override http request option.
|
|
5684
|
+
* @throws {RequiredError}
|
|
5685
|
+
*/
|
|
5686
|
+
staffTakaroAiControllerSetMigrationCap(id, takaroAiMigrationCapInputDTO, options) {
|
|
5687
|
+
return localVarFp
|
|
5688
|
+
.staffTakaroAiControllerSetMigrationCap(id, takaroAiMigrationCapInputDTO, options)
|
|
5689
|
+
.then((request) => request(axios, basePath));
|
|
4067
5690
|
},
|
|
4068
5691
|
};
|
|
4069
5692
|
};
|
|
4070
5693
|
/**
|
|
4071
|
-
*
|
|
5694
|
+
* StaffTakaroAiApi - object-oriented interface
|
|
4072
5695
|
* @export
|
|
4073
|
-
* @class
|
|
5696
|
+
* @class StaffTakaroAiApi
|
|
4074
5697
|
* @extends {BaseAPI}
|
|
4075
5698
|
*/
|
|
4076
|
-
export class
|
|
5699
|
+
export class StaffTakaroAiApi extends BaseAPI {
|
|
4077
5700
|
/**
|
|
4078
|
-
*
|
|
4079
|
-
* @summary
|
|
5701
|
+
* Staff only. The configured default override applies again. An expired override can be cleared.<br> OperationId: `StaffTakaroAiControllerClearDomainOverride`
|
|
5702
|
+
* @summary Clear the Takaro AI override of a Domain
|
|
5703
|
+
* @param {string} id
|
|
5704
|
+
* @param {TakaroAiOverrideClearInputDTO} [takaroAiOverrideClearInputDTO] TakaroAiOverrideClearInputDTO
|
|
4080
5705
|
* @param {*} [options] Override http request option.
|
|
4081
5706
|
* @throws {RequiredError}
|
|
4082
|
-
* @memberof
|
|
5707
|
+
* @memberof StaffTakaroAiApi
|
|
4083
5708
|
*/
|
|
4084
|
-
|
|
4085
|
-
return
|
|
4086
|
-
.
|
|
5709
|
+
staffTakaroAiControllerClearDomainOverride(id, takaroAiOverrideClearInputDTO, options) {
|
|
5710
|
+
return StaffTakaroAiApiFp(this.configuration)
|
|
5711
|
+
.staffTakaroAiControllerClearDomainOverride(id, takaroAiOverrideClearInputDTO, options)
|
|
5712
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5713
|
+
}
|
|
5714
|
+
/**
|
|
5715
|
+
* Staff only. Amounts are integer microdollars: Plan base, the effective monthly allowance, usage and total spend, plus the override and its change history.<br> OperationId: `StaffTakaroAiControllerGetDomain`
|
|
5716
|
+
* @summary Takaro AI allowance, override and spend of a Domain
|
|
5717
|
+
* @param {string} id
|
|
5718
|
+
* @param {*} [options] Override http request option.
|
|
5719
|
+
* @throws {RequiredError}
|
|
5720
|
+
* @memberof StaffTakaroAiApi
|
|
5721
|
+
*/
|
|
5722
|
+
staffTakaroAiControllerGetDomain(id, options) {
|
|
5723
|
+
return StaffTakaroAiApiFp(this.configuration)
|
|
5724
|
+
.staffTakaroAiControllerGetDomain(id, options)
|
|
5725
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5726
|
+
}
|
|
5727
|
+
/**
|
|
5728
|
+
* Staff only. Amounts are integer microdollars: platform spend this month, today and in the spend alert window, the top Domains by spend, the global multiplier and its history, and the spend alerts.<br> OperationId: `StaffTakaroAiControllerGetPlatform`
|
|
5729
|
+
* @summary Takaro AI platform spend and global multiplier
|
|
5730
|
+
* @param {*} [options] Override http request option.
|
|
5731
|
+
* @throws {RequiredError}
|
|
5732
|
+
* @memberof StaffTakaroAiApi
|
|
5733
|
+
*/
|
|
5734
|
+
staffTakaroAiControllerGetPlatform(options) {
|
|
5735
|
+
return StaffTakaroAiApiFp(this.configuration)
|
|
5736
|
+
.staffTakaroAiControllerGetPlatform(options)
|
|
5737
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5738
|
+
}
|
|
5739
|
+
/**
|
|
5740
|
+
* Staff only. A factor on the Domain’s allowance, 0 to 1000, with an optional expiry in the future. 0 switches Takaro AI off for the Domain. The billing reconciler never writes it.<br> OperationId: `StaffTakaroAiControllerSetDomainOverride`
|
|
5741
|
+
* @summary Set the Takaro AI override of a Domain
|
|
5742
|
+
* @param {string} id
|
|
5743
|
+
* @param {TakaroAiDomainOverrideInputDTO} [takaroAiDomainOverrideInputDTO] TakaroAiDomainOverrideInputDTO
|
|
5744
|
+
* @param {*} [options] Override http request option.
|
|
5745
|
+
* @throws {RequiredError}
|
|
5746
|
+
* @memberof StaffTakaroAiApi
|
|
5747
|
+
*/
|
|
5748
|
+
staffTakaroAiControllerSetDomainOverride(id, takaroAiDomainOverrideInputDTO, options) {
|
|
5749
|
+
return StaffTakaroAiApiFp(this.configuration)
|
|
5750
|
+
.staffTakaroAiControllerSetDomainOverride(id, takaroAiDomainOverrideInputDTO, options)
|
|
5751
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5752
|
+
}
|
|
5753
|
+
/**
|
|
5754
|
+
* Staff only. A factor on every Domain’s monthly allowance, 0 to 10. Applies from the next usage evaluation; needs no restart. Recorded with who, when and the reason.<br> OperationId: `StaffTakaroAiControllerSetGlobalMultiplier`
|
|
5755
|
+
* @summary Set the Takaro AI global multiplier
|
|
5756
|
+
* @param {TakaroAiGlobalMultiplierInputDTO} [takaroAiGlobalMultiplierInputDTO] TakaroAiGlobalMultiplierInputDTO
|
|
5757
|
+
* @param {*} [options] Override http request option.
|
|
5758
|
+
* @throws {RequiredError}
|
|
5759
|
+
* @memberof StaffTakaroAiApi
|
|
5760
|
+
*/
|
|
5761
|
+
staffTakaroAiControllerSetGlobalMultiplier(takaroAiGlobalMultiplierInputDTO, options) {
|
|
5762
|
+
return StaffTakaroAiApiFp(this.configuration)
|
|
5763
|
+
.staffTakaroAiControllerSetGlobalMultiplier(takaroAiGlobalMultiplierInputDTO, options)
|
|
5764
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5765
|
+
}
|
|
5766
|
+
/**
|
|
5767
|
+
* Staff only. What the Domain may spend in CSMM Migration Threads over its lifetime, in integer microdollars. Those Threads do not count against the allowance, so this cap is their only bound. `null` goes back to the configured default. Applies from the next message.<br> OperationId: `StaffTakaroAiControllerSetMigrationCap`
|
|
5768
|
+
* @summary Set the CSMM Migration cap of a Domain
|
|
5769
|
+
* @param {string} id
|
|
5770
|
+
* @param {TakaroAiMigrationCapInputDTO} [takaroAiMigrationCapInputDTO] TakaroAiMigrationCapInputDTO
|
|
5771
|
+
* @param {*} [options] Override http request option.
|
|
5772
|
+
* @throws {RequiredError}
|
|
5773
|
+
* @memberof StaffTakaroAiApi
|
|
5774
|
+
*/
|
|
5775
|
+
staffTakaroAiControllerSetMigrationCap(id, takaroAiMigrationCapInputDTO, options) {
|
|
5776
|
+
return StaffTakaroAiApiFp(this.configuration)
|
|
5777
|
+
.staffTakaroAiControllerSetMigrationCap(id, takaroAiMigrationCapInputDTO, options)
|
|
4087
5778
|
.then((request) => request(this.axios, this.basePath));
|
|
4088
5779
|
}
|
|
4089
5780
|
}
|