@accelbyte/sdk-ams 0.0.0-dev-20240828055251 → 0.0.0-dev-20240904033042

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/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { AccelByteSDK, SdkSetConfigParam, Response } from '@accelbyte/sdk';
2
2
  import { AxiosResponse, AxiosInstance } from 'axios';
3
- import { A as AccountResponse, a as AccountCreateRequest, b as AccountCreateResponse, c as AccountLinkTokenResponse, d as AccountLinkRequest, e as AccountLinkResponse, f as AmsRegionsResponse, g as AvailableInstanceTypesResponse, Q as QoSEndpointResponse, U as UpdateServerRequest, h as ArtifactListResponse, i as ArtifactUsageResponse, j as ArtifactUrlResponse, F as FleetArtifactsSampleRules, D as DevelopmentServerConfigurationListResponse, k as DevelopmentServerConfigurationCreateRequest, l as DevelopmentServerConfigurationCreateResponse, m as DevelopmentServerConfigurationGetResponse, n as FleetListResponse, o as FleetParameters, p as FleetCreateResponse, q as FleetGetResponse, r as FleetServersResponse, I as ImageList, s as ImageStorage, t as ImageDetails, u as ImageUpdate, v as FleetServerInfoResponse, w as FleetServerHistoryResponse, x as DsHistoryList, y as FleetServerConnectionInfoResponse, z as FleetClaimByKeysReq, B as FleetClaimResponse, C as FleetClaimReq } from './FleetClaimResponse-DIDPJOnU.cjs';
3
+ import { A as AccountResponse, a as AccountCreateRequest, b as AccountCreateResponse, c as AccountLinkTokenResponse, d as AccountLinkRequest, e as AccountLinkResponse, f as AmsRegionsResponse, g as AvailableInstanceTypesResponse, Q as QoSEndpointResponse, U as UpdateServerRequest, h as ArtifactListResponse, i as ArtifactUsageResponse, j as ArtifactUrlResponse, F as FleetArtifactsSampleRules, D as DevelopmentServerConfigurationListResponse, k as DevelopmentServerConfigurationCreateRequest, l as DevelopmentServerConfigurationCreateResponse, m as DevelopmentServerConfigurationGetResponse, n as FleetListResponse, o as FleetParameters, p as FleetCreateResponse, q as FleetGetResponse, r as FleetServersResponse, I as ImageList, s as ImageStorage, t as ImageDetails, u as ImageUpdate, v as FleetServerInfoResponse, w as FleetServerHistoryResponse, x as DsHistoryList, y as FleetServerConnectionInfoResponse, z as FleetClaimByKeysReq, B as FleetClaimResponse, C as FleetClaimReq } from './FleetClaimResponse-CS_GmAA_.cjs';
4
4
  import { z } from 'zod';
5
5
 
6
6
  /**
@@ -90,8 +90,13 @@ declare function FleetsAdminApi(sdk: AccelByteSDK, args?: SdkSetConfigParam): {
90
90
  getFleet_ByFleetId: (fleetID: string) => Promise<AxiosResponse<FleetGetResponse>>;
91
91
  updateFleet_ByFleetId: (fleetID: string, data: FleetParameters) => Promise<AxiosResponse<unknown>>;
92
92
  getServers_ByFleetId: (fleetID: string, queryParams?: {
93
- count?: string | null;
93
+ count?: number;
94
94
  offset?: number;
95
+ region?: string | null;
96
+ serverId?: string | null;
97
+ sortBy?: string | null;
98
+ sortDirection?: "asc" | "desc";
99
+ status?: "claimed" | "claiming" | "crash backoff" | "creating" | "draining" | "ready" | "unresponsive";
95
100
  }) => Promise<AxiosResponse<FleetServersResponse>>;
96
101
  };
97
102
 
@@ -384,8 +389,13 @@ declare class FleetsAdmin$ {
384
389
  * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
385
390
  */
386
391
  getServers_ByFleetId(fleetID: string, queryParams?: {
387
- count?: string | null;
392
+ count?: number;
388
393
  offset?: number;
394
+ region?: string | null;
395
+ serverId?: string | null;
396
+ sortBy?: string | null;
397
+ sortDirection?: 'asc' | 'desc';
398
+ status?: 'claimed' | 'claiming' | 'crash backoff' | 'creating' | 'draining' | 'ready' | 'unresponsive';
389
399
  }): Promise<Response<FleetServersResponse>>;
390
400
  }
391
401
 
@@ -460,11 +470,11 @@ declare class ServersAdmin$ {
460
470
  }
461
471
 
462
472
  declare const AccountLimits: z.ZodObject<{
463
- allowedNodeClasses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
464
- allowedRegions: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
465
- fleetCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
466
- fleetVmCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
467
- imageStorageQuotaBytes: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
473
+ allowedNodeClasses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
474
+ allowedRegions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
475
+ fleetCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
476
+ fleetVmCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
477
+ imageStorageQuotaBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
468
478
  }, "strip", z.ZodTypeAny, {
469
479
  allowedNodeClasses?: string[] | null | undefined;
470
480
  allowedRegions?: string[] | null | undefined;
@@ -495,8 +505,6 @@ declare const ArtifactResponse: z.ZodObject<{
495
505
  sizeBytes: z.ZodNumber;
496
506
  status: z.ZodString;
497
507
  }, "strip", z.ZodTypeAny, {
498
- createdOn?: any;
499
- expiresOn?: any;
500
508
  namespace: string;
501
509
  status: string;
502
510
  id: string;
@@ -507,9 +515,9 @@ declare const ArtifactResponse: z.ZodObject<{
507
515
  fleetId: string;
508
516
  imageId: string;
509
517
  sizeBytes: number;
510
- }, {
511
518
  createdOn?: any;
512
519
  expiresOn?: any;
520
+ }, {
513
521
  namespace: string;
514
522
  status: string;
515
523
  id: string;
@@ -520,6 +528,8 @@ declare const ArtifactResponse: z.ZodObject<{
520
528
  fleetId: string;
521
529
  imageId: string;
522
530
  sizeBytes: number;
531
+ createdOn?: any;
532
+ expiresOn?: any;
523
533
  }>;
524
534
  interface ArtifactResponse extends z.TypeOf<typeof ArtifactResponse> {
525
535
  }
@@ -589,21 +599,21 @@ declare const DsHistoryEvent: z.ZodObject<{
589
599
  serverId: z.ZodString;
590
600
  status: z.ZodString;
591
601
  }, "strip", z.ZodTypeAny, {
592
- createdAt?: any;
593
602
  status: string;
594
603
  region: string;
595
604
  ipAddress: string;
596
605
  serverId: string;
597
606
  exitCode: number;
598
607
  reason: string;
599
- }, {
600
608
  createdAt?: any;
609
+ }, {
601
610
  status: string;
602
611
  region: string;
603
612
  ipAddress: string;
604
613
  serverId: string;
605
614
  exitCode: number;
606
615
  reason: string;
616
+ createdAt?: any;
607
617
  }>;
608
618
  interface DsHistoryEvent extends z.TypeOf<typeof DsHistoryEvent> {
609
619
  }
@@ -740,21 +750,21 @@ declare const FleetServerHistoryEventResponse: z.ZodObject<{
740
750
  reason: z.ZodString;
741
751
  serverId: z.ZodString;
742
752
  }, "strip", z.ZodTypeAny, {
743
- createdAt?: any;
744
753
  fleetId: string;
745
754
  serverId: string;
746
755
  exitCode: number;
747
756
  reason: string;
748
757
  newState: string;
749
758
  oldState: string;
750
- }, {
751
759
  createdAt?: any;
760
+ }, {
752
761
  fleetId: string;
753
762
  serverId: string;
754
763
  exitCode: number;
755
764
  reason: string;
756
765
  newState: string;
757
766
  oldState: string;
767
+ createdAt?: any;
758
768
  }>;
759
769
  interface FleetServerHistoryEventResponse extends z.TypeOf<typeof FleetServerHistoryEventResponse> {
760
770
  }
@@ -832,9 +842,6 @@ declare const ImageListItem: z.ZodObject<{
832
842
  uploadedAt: z.ZodAny;
833
843
  uploadedBy: z.ZodString;
834
844
  }, "strip", z.ZodTypeAny, {
835
- createdAt?: any;
836
- deleteAt?: any;
837
- uploadedAt?: any;
838
845
  status: string;
839
846
  name: string;
840
847
  id: string;
@@ -844,10 +851,10 @@ declare const ImageListItem: z.ZodObject<{
844
851
  sizeInByte: number;
845
852
  tags: string[];
846
853
  uploadedBy: string;
847
- }, {
848
854
  createdAt?: any;
849
855
  deleteAt?: any;
850
856
  uploadedAt?: any;
857
+ }, {
851
858
  status: string;
852
859
  name: string;
853
860
  id: string;
@@ -857,6 +864,9 @@ declare const ImageListItem: z.ZodObject<{
857
864
  sizeInByte: number;
858
865
  tags: string[];
859
866
  uploadedBy: string;
867
+ createdAt?: any;
868
+ deleteAt?: any;
869
+ uploadedAt?: any;
860
870
  }>;
861
871
  interface ImageListItem extends z.TypeOf<typeof ImageListItem> {
862
872
  }
@@ -1031,19 +1041,19 @@ declare const QoSServer: z.ZodObject<{
1031
1041
  region: z.ZodString;
1032
1042
  status: z.ZodString;
1033
1043
  }, "strip", z.ZodTypeAny, {
1034
- last_update?: any;
1035
1044
  status: string;
1036
1045
  alias: string;
1037
1046
  ip: string;
1038
1047
  port: number;
1039
1048
  region: string;
1040
- }, {
1041
1049
  last_update?: any;
1050
+ }, {
1042
1051
  status: string;
1043
1052
  alias: string;
1044
1053
  ip: string;
1045
1054
  port: number;
1046
1055
  region: string;
1056
+ last_update?: any;
1047
1057
  }>;
1048
1058
  interface QoSServer extends z.TypeOf<typeof QoSServer> {
1049
1059
  }
@@ -1208,7 +1218,7 @@ declare class Fleets$ {
1208
1218
  private useSchemaValidation;
1209
1219
  constructor(axiosInstance: AxiosInstance, namespace: string, useSchemaValidation?: boolean);
1210
1220
  /**
1211
- * Claim a dedicated server from fleets with matching claim keys Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]
1221
+ * Claim a dedicated server from fleets with matching claim keys. If the claim key is for a regular fleet (non development), the request will instantly fail if there are no DS available (HTTP 404). If the claim key is for a development fleet and there are no DS available, a new DS will be launched and the request might take up to 8 seconds to return (depending on the environment configuration). If it&#39;s not ready after that duration the request will still return HTTP 404. In either case, the call to this endpoint may be retried at any time to check if a DS has become available. Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]
1212
1222
  */
1213
1223
  updateServerClaim(data: FleetClaimByKeysReq): Promise<Response<FleetClaimResponse>>;
1214
1224
  /**
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { AccelByteSDK, SdkSetConfigParam, Response } from '@accelbyte/sdk';
2
2
  import { AxiosResponse, AxiosInstance } from 'axios';
3
- import { A as AccountResponse, a as AccountCreateRequest, b as AccountCreateResponse, c as AccountLinkTokenResponse, d as AccountLinkRequest, e as AccountLinkResponse, f as AmsRegionsResponse, g as AvailableInstanceTypesResponse, Q as QoSEndpointResponse, U as UpdateServerRequest, h as ArtifactListResponse, i as ArtifactUsageResponse, j as ArtifactUrlResponse, F as FleetArtifactsSampleRules, D as DevelopmentServerConfigurationListResponse, k as DevelopmentServerConfigurationCreateRequest, l as DevelopmentServerConfigurationCreateResponse, m as DevelopmentServerConfigurationGetResponse, n as FleetListResponse, o as FleetParameters, p as FleetCreateResponse, q as FleetGetResponse, r as FleetServersResponse, I as ImageList, s as ImageStorage, t as ImageDetails, u as ImageUpdate, v as FleetServerInfoResponse, w as FleetServerHistoryResponse, x as DsHistoryList, y as FleetServerConnectionInfoResponse, z as FleetClaimByKeysReq, B as FleetClaimResponse, C as FleetClaimReq } from './FleetClaimResponse-DIDPJOnU.js';
3
+ import { A as AccountResponse, a as AccountCreateRequest, b as AccountCreateResponse, c as AccountLinkTokenResponse, d as AccountLinkRequest, e as AccountLinkResponse, f as AmsRegionsResponse, g as AvailableInstanceTypesResponse, Q as QoSEndpointResponse, U as UpdateServerRequest, h as ArtifactListResponse, i as ArtifactUsageResponse, j as ArtifactUrlResponse, F as FleetArtifactsSampleRules, D as DevelopmentServerConfigurationListResponse, k as DevelopmentServerConfigurationCreateRequest, l as DevelopmentServerConfigurationCreateResponse, m as DevelopmentServerConfigurationGetResponse, n as FleetListResponse, o as FleetParameters, p as FleetCreateResponse, q as FleetGetResponse, r as FleetServersResponse, I as ImageList, s as ImageStorage, t as ImageDetails, u as ImageUpdate, v as FleetServerInfoResponse, w as FleetServerHistoryResponse, x as DsHistoryList, y as FleetServerConnectionInfoResponse, z as FleetClaimByKeysReq, B as FleetClaimResponse, C as FleetClaimReq } from './FleetClaimResponse-CS_GmAA_.js';
4
4
  import { z } from 'zod';
5
5
 
6
6
  /**
@@ -90,8 +90,13 @@ declare function FleetsAdminApi(sdk: AccelByteSDK, args?: SdkSetConfigParam): {
90
90
  getFleet_ByFleetId: (fleetID: string) => Promise<AxiosResponse<FleetGetResponse>>;
91
91
  updateFleet_ByFleetId: (fleetID: string, data: FleetParameters) => Promise<AxiosResponse<unknown>>;
92
92
  getServers_ByFleetId: (fleetID: string, queryParams?: {
93
- count?: string | null;
93
+ count?: number;
94
94
  offset?: number;
95
+ region?: string | null;
96
+ serverId?: string | null;
97
+ sortBy?: string | null;
98
+ sortDirection?: "asc" | "desc";
99
+ status?: "claimed" | "claiming" | "crash backoff" | "creating" | "draining" | "ready" | "unresponsive";
95
100
  }) => Promise<AxiosResponse<FleetServersResponse>>;
96
101
  };
97
102
 
@@ -384,8 +389,13 @@ declare class FleetsAdmin$ {
384
389
  * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
385
390
  */
386
391
  getServers_ByFleetId(fleetID: string, queryParams?: {
387
- count?: string | null;
392
+ count?: number;
388
393
  offset?: number;
394
+ region?: string | null;
395
+ serverId?: string | null;
396
+ sortBy?: string | null;
397
+ sortDirection?: 'asc' | 'desc';
398
+ status?: 'claimed' | 'claiming' | 'crash backoff' | 'creating' | 'draining' | 'ready' | 'unresponsive';
389
399
  }): Promise<Response<FleetServersResponse>>;
390
400
  }
391
401
 
@@ -460,11 +470,11 @@ declare class ServersAdmin$ {
460
470
  }
461
471
 
462
472
  declare const AccountLimits: z.ZodObject<{
463
- allowedNodeClasses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
464
- allowedRegions: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
465
- fleetCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
466
- fleetVmCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
467
- imageStorageQuotaBytes: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
473
+ allowedNodeClasses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
474
+ allowedRegions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
475
+ fleetCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
476
+ fleetVmCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
477
+ imageStorageQuotaBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
468
478
  }, "strip", z.ZodTypeAny, {
469
479
  allowedNodeClasses?: string[] | null | undefined;
470
480
  allowedRegions?: string[] | null | undefined;
@@ -495,8 +505,6 @@ declare const ArtifactResponse: z.ZodObject<{
495
505
  sizeBytes: z.ZodNumber;
496
506
  status: z.ZodString;
497
507
  }, "strip", z.ZodTypeAny, {
498
- createdOn?: any;
499
- expiresOn?: any;
500
508
  namespace: string;
501
509
  status: string;
502
510
  id: string;
@@ -507,9 +515,9 @@ declare const ArtifactResponse: z.ZodObject<{
507
515
  fleetId: string;
508
516
  imageId: string;
509
517
  sizeBytes: number;
510
- }, {
511
518
  createdOn?: any;
512
519
  expiresOn?: any;
520
+ }, {
513
521
  namespace: string;
514
522
  status: string;
515
523
  id: string;
@@ -520,6 +528,8 @@ declare const ArtifactResponse: z.ZodObject<{
520
528
  fleetId: string;
521
529
  imageId: string;
522
530
  sizeBytes: number;
531
+ createdOn?: any;
532
+ expiresOn?: any;
523
533
  }>;
524
534
  interface ArtifactResponse extends z.TypeOf<typeof ArtifactResponse> {
525
535
  }
@@ -589,21 +599,21 @@ declare const DsHistoryEvent: z.ZodObject<{
589
599
  serverId: z.ZodString;
590
600
  status: z.ZodString;
591
601
  }, "strip", z.ZodTypeAny, {
592
- createdAt?: any;
593
602
  status: string;
594
603
  region: string;
595
604
  ipAddress: string;
596
605
  serverId: string;
597
606
  exitCode: number;
598
607
  reason: string;
599
- }, {
600
608
  createdAt?: any;
609
+ }, {
601
610
  status: string;
602
611
  region: string;
603
612
  ipAddress: string;
604
613
  serverId: string;
605
614
  exitCode: number;
606
615
  reason: string;
616
+ createdAt?: any;
607
617
  }>;
608
618
  interface DsHistoryEvent extends z.TypeOf<typeof DsHistoryEvent> {
609
619
  }
@@ -740,21 +750,21 @@ declare const FleetServerHistoryEventResponse: z.ZodObject<{
740
750
  reason: z.ZodString;
741
751
  serverId: z.ZodString;
742
752
  }, "strip", z.ZodTypeAny, {
743
- createdAt?: any;
744
753
  fleetId: string;
745
754
  serverId: string;
746
755
  exitCode: number;
747
756
  reason: string;
748
757
  newState: string;
749
758
  oldState: string;
750
- }, {
751
759
  createdAt?: any;
760
+ }, {
752
761
  fleetId: string;
753
762
  serverId: string;
754
763
  exitCode: number;
755
764
  reason: string;
756
765
  newState: string;
757
766
  oldState: string;
767
+ createdAt?: any;
758
768
  }>;
759
769
  interface FleetServerHistoryEventResponse extends z.TypeOf<typeof FleetServerHistoryEventResponse> {
760
770
  }
@@ -832,9 +842,6 @@ declare const ImageListItem: z.ZodObject<{
832
842
  uploadedAt: z.ZodAny;
833
843
  uploadedBy: z.ZodString;
834
844
  }, "strip", z.ZodTypeAny, {
835
- createdAt?: any;
836
- deleteAt?: any;
837
- uploadedAt?: any;
838
845
  status: string;
839
846
  name: string;
840
847
  id: string;
@@ -844,10 +851,10 @@ declare const ImageListItem: z.ZodObject<{
844
851
  sizeInByte: number;
845
852
  tags: string[];
846
853
  uploadedBy: string;
847
- }, {
848
854
  createdAt?: any;
849
855
  deleteAt?: any;
850
856
  uploadedAt?: any;
857
+ }, {
851
858
  status: string;
852
859
  name: string;
853
860
  id: string;
@@ -857,6 +864,9 @@ declare const ImageListItem: z.ZodObject<{
857
864
  sizeInByte: number;
858
865
  tags: string[];
859
866
  uploadedBy: string;
867
+ createdAt?: any;
868
+ deleteAt?: any;
869
+ uploadedAt?: any;
860
870
  }>;
861
871
  interface ImageListItem extends z.TypeOf<typeof ImageListItem> {
862
872
  }
@@ -1031,19 +1041,19 @@ declare const QoSServer: z.ZodObject<{
1031
1041
  region: z.ZodString;
1032
1042
  status: z.ZodString;
1033
1043
  }, "strip", z.ZodTypeAny, {
1034
- last_update?: any;
1035
1044
  status: string;
1036
1045
  alias: string;
1037
1046
  ip: string;
1038
1047
  port: number;
1039
1048
  region: string;
1040
- }, {
1041
1049
  last_update?: any;
1050
+ }, {
1042
1051
  status: string;
1043
1052
  alias: string;
1044
1053
  ip: string;
1045
1054
  port: number;
1046
1055
  region: string;
1056
+ last_update?: any;
1047
1057
  }>;
1048
1058
  interface QoSServer extends z.TypeOf<typeof QoSServer> {
1049
1059
  }
@@ -1208,7 +1218,7 @@ declare class Fleets$ {
1208
1218
  private useSchemaValidation;
1209
1219
  constructor(axiosInstance: AxiosInstance, namespace: string, useSchemaValidation?: boolean);
1210
1220
  /**
1211
- * Claim a dedicated server from fleets with matching claim keys Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]
1221
+ * Claim a dedicated server from fleets with matching claim keys. If the claim key is for a regular fleet (non development), the request will instantly fail if there are no DS available (HTTP 404). If the claim key is for a development fleet and there are no DS available, a new DS will be launched and the request might take up to 8 seconds to return (depending on the environment configuration). If it&#39;s not ready after that duration the request will still return HTTP 404. In either case, the call to this endpoint may be retried at any time to check if a DS has become available. Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]
1212
1222
  */
1213
1223
  updateServerClaim(data: FleetClaimByKeysReq): Promise<Response<FleetClaimResponse>>;
1214
1224
  /**
package/dist/index.js CHANGED
@@ -72,7 +72,7 @@ import {
72
72
  Timeout,
73
73
  Watchdogs$,
74
74
  WatchdogsApi
75
- } from "./chunk-DMVQYRRS.js";
75
+ } from "./chunk-TMBQO77A.js";
76
76
 
77
77
  // src/Ams.ts
78
78
  var apis = {
package/package.json CHANGED
@@ -1,26 +1,50 @@
1
1
  {
2
2
  "name": "@accelbyte/sdk-ams",
3
- "version": "0.0.0-dev-20240828055251",
3
+ "version": "0.0.0-dev-20240904033042",
4
4
  "author": "AccelByte Inc",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "main": "./dist/index.js",
7
7
  "type": "module",
8
- "scripts": {},
9
- "devDependencies": {},
8
+ "scripts": {
9
+ "build": "rimraf dist && tsup src/index.ts src/all-query-imports.ts --dts --format esm,cjs",
10
+ "test": "echo ''",
11
+ "clean:src": "rimraf src/generated-*",
12
+ "clean": "rimraf dist && rimraf node_modules && rimraf .yalc",
13
+ "cg:lint": "eslint src/**/*.ts --fix --config ../../.eslintrc.js",
14
+ "cg:prettify": "prettier --write swaggers/*.json && prettier --write --no-error-on-unmatched-pattern src/**/*",
15
+ "cg:download": "yarn cg download-swaggers --config swaggers.json --swaggersOutput swaggers",
16
+ "cg:generate": "rimraf src/generated-public && yarn cg generate-code --config swaggers.json --swaggersOutput swaggers --output src",
17
+ "cg": "tsx ../codegen/src/cli.ts",
18
+ "codegen": "yarn clean:src && yarn cg:generate && yarn cg:lint && yarn cg:prettify"
19
+ },
20
+ "devDependencies": {
21
+ "@accelbyte/sdk": "workspace:*",
22
+ "@tanstack/react-query": "4.36.1",
23
+ "@types/crypto-js": "4.1.0",
24
+ "@types/node": "22.3.0",
25
+ "@types/platform": "1.3.4",
26
+ "@types/uuid": "8.3.4",
27
+ "eslint": "8.56.0",
28
+ "prettier": "3.3.3",
29
+ "react": "17.0.2",
30
+ "rimraf": "4.1.2",
31
+ "tsup": "8.2.4",
32
+ "tsx": "4.17",
33
+ "typescript": "5.5.4"
34
+ },
10
35
  "dependencies": {
11
- "@accelbyte/validator": "0.0.0-dev-20240828055251",
36
+ "@accelbyte/validator": "0.0.0-dev-20240904033042",
12
37
  "axios": "1.3.6",
13
38
  "buffer": "6.0.3",
14
39
  "crypto-js": "4.1.1",
15
40
  "platform": "1.3.6",
16
41
  "uuid": "8.3.2",
17
42
  "validator": "13.7.0",
18
- "zod": "3.17.3"
43
+ "zod": "3.23.8"
19
44
  },
20
45
  "peerDependencies": {
21
- "@accelbyte/sdk": "0.0.0-dev-20240828055251",
22
- "@tanstack/react-query": "^4.36.1",
23
- "react": "^17.0.2"
46
+ "@accelbyte/sdk": "0.0.0-dev-20240904033042",
47
+ "@tanstack/react-query": "^4.36.1"
24
48
  },
25
49
  "sideEffects": false,
26
50
  "peerDependenciesMeta": {