@jacobhumston/roblox-openapi-ts 1.0.13 → 1.0.14

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +226 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -22766,6 +22766,7 @@ export interface paths {
22766
22766
  * 23: Insufficient permissions to complete the request.
22767
22767
  * 28: Group has paid out too recently. Please wait and try again.
22768
22768
  * 35: 2-Step Verification is required to make further transactions. Go to Settings > Security to complete 2-Step Verification.
22769
+ * 52: Group has paid out to this recipient too many times recently. Please try again later.
22769
22770
  */
22770
22771
  403: {
22771
22772
  headers: {
@@ -48207,6 +48208,134 @@ export interface paths {
48207
48208
  patch?: never;
48208
48209
  trace?: never;
48209
48210
  };
48211
+ "/v4/avatar": {
48212
+ parameters: {
48213
+ query?: never;
48214
+ header?: never;
48215
+ path?: never;
48216
+ cookie?: never;
48217
+ };
48218
+ /**
48219
+ * Gets the currently wearing avatar definition for the authenticated user.
48220
+ * @description Returns an Roblox.Api.Avatar.Models.V4.AvatarDefinition containing an Roblox.Api.Avatar.Models.V4.AvatarModelV4 and Roblox.Api.Avatar.Models.V4.AvatarConfigurations.
48221
+ */
48222
+ get: {
48223
+ parameters: {
48224
+ query: {
48225
+ /** @description Selection types for the avatar data to return. */
48226
+ selectionTypes: (0 | 1 | 2 | 3 | 4 | 5)[];
48227
+ };
48228
+ header?: {
48229
+ "Roblox-Place-Id"?: number;
48230
+ };
48231
+ path?: never;
48232
+ cookie?: never;
48233
+ };
48234
+ requestBody?: never;
48235
+ responses: {
48236
+ /** @description OK */
48237
+ 200: {
48238
+ headers: {
48239
+ [name: string]: unknown;
48240
+ };
48241
+ content: {
48242
+ "application/json": components["schemas"]["Roblox.Api.Avatar.Models.V4.AvatarDefinition"];
48243
+ "text/json": components["schemas"]["Roblox.Api.Avatar.Models.V4.AvatarDefinition"];
48244
+ };
48245
+ };
48246
+ /** @description 0: Authorization has been denied for this request. */
48247
+ 401: {
48248
+ headers: {
48249
+ [name: string]: unknown;
48250
+ };
48251
+ content?: never;
48252
+ };
48253
+ };
48254
+ };
48255
+ put?: never;
48256
+ post?: never;
48257
+ delete?: never;
48258
+ options?: never;
48259
+ head?: never;
48260
+ patch?: never;
48261
+ trace?: never;
48262
+ };
48263
+ "/v4/outfits/{outfitId}/details": {
48264
+ parameters: {
48265
+ query?: never;
48266
+ header?: never;
48267
+ path?: never;
48268
+ cookie?: never;
48269
+ };
48270
+ /**
48271
+ * Gets the definition for an outfit.
48272
+ * @description Returns an Roblox.Api.Avatar.Models.V4.OutfitDefinition containing an Roblox.Api.Avatar.Models.V4.OutfitModelV4 and background Roblox.Api.Avatar.Models.V4.OutfitConfigurations.
48273
+ */
48274
+ get: {
48275
+ parameters: {
48276
+ query: {
48277
+ /** @description The selection types for the outfit data to return. */
48278
+ selectionTypes: (0 | 1)[];
48279
+ };
48280
+ header?: {
48281
+ "Roblox-Place-Id"?: number;
48282
+ };
48283
+ path: {
48284
+ /** @description The outfit id. */
48285
+ outfitId: string;
48286
+ };
48287
+ cookie?: never;
48288
+ };
48289
+ requestBody?: never;
48290
+ responses: {
48291
+ /** @description OK */
48292
+ 200: {
48293
+ headers: {
48294
+ [name: string]: unknown;
48295
+ };
48296
+ content: {
48297
+ "application/json": components["schemas"]["Roblox.Api.Avatar.Models.V4.OutfitDefinition"];
48298
+ "text/json": components["schemas"]["Roblox.Api.Avatar.Models.V4.OutfitDefinition"];
48299
+ };
48300
+ };
48301
+ /** @description 2: The outfit for the specified userOutfit is invalid. */
48302
+ 400: {
48303
+ headers: {
48304
+ [name: string]: unknown;
48305
+ };
48306
+ content?: never;
48307
+ };
48308
+ /** @description 0: Authorization has been denied for this request. */
48309
+ 401: {
48310
+ headers: {
48311
+ [name: string]: unknown;
48312
+ };
48313
+ content?: never;
48314
+ };
48315
+ /** @description 3: The requester does not have access to the details for the given user outfit. */
48316
+ 403: {
48317
+ headers: {
48318
+ [name: string]: unknown;
48319
+ };
48320
+ content?: never;
48321
+ };
48322
+ /** @description 1: The specified userOutfitId is invalid. */
48323
+ 404: {
48324
+ headers: {
48325
+ [name: string]: unknown;
48326
+ };
48327
+ content?: never;
48328
+ };
48329
+ };
48330
+ };
48331
+ put?: never;
48332
+ post?: never;
48333
+ delete?: never;
48334
+ options?: never;
48335
+ head?: never;
48336
+ patch?: never;
48337
+ trace?: never;
48338
+ };
48210
48339
  }
48211
48340
  export type webhooks = Record<string, never>;
48212
48341
  export interface components {
@@ -53539,6 +53668,39 @@ export interface components {
53539
53668
  /** @description Whether or not emotes are enabled */
53540
53669
  emotesEnabledForUser?: boolean;
53541
53670
  };
53671
+ /** @description A model describing a the camera details for a single avatar thumbnail customization. */
53672
+ "Roblox.Api.Avatar.Models.AvatarThumbnailCustomizationCameraModel": {
53673
+ /**
53674
+ * Format: double
53675
+ * @description Field of view for the camera, in degrees.
53676
+ */
53677
+ fieldOfViewDeg?: number;
53678
+ /**
53679
+ * Format: double
53680
+ * @description Rotation around y axis, in degrees.
53681
+ */
53682
+ yRotDeg?: number;
53683
+ /**
53684
+ * Format: double
53685
+ * @description There's a natural camera distance we calculate based on avatar size. Apply this scale to that distance.
53686
+ */
53687
+ distanceScale?: number;
53688
+ };
53689
+ /** @description A model describing a single avatar thumbnail customization. */
53690
+ "Roblox.Api.Avatar.Models.AvatarThumbnailCustomizationModel": {
53691
+ /**
53692
+ * Format: int32
53693
+ * @description What type of 2D thumbnail are we customizing: |Closeup, FullBody.
53694
+ * @enum {integer}
53695
+ */
53696
+ thumbnailType?: 0 | 1 | 2;
53697
+ /**
53698
+ * Format: int64
53699
+ * @description What emote are we using to pose the avatar in the thumbnail.
53700
+ */
53701
+ emoteAssetId?: number;
53702
+ camera?: components["schemas"]["Roblox.Api.Avatar.Models.AvatarThumbnailCustomizationCameraModel"];
53703
+ };
53542
53704
  /** @description A model container BrickColor ids for each body part. */
53543
53705
  "Roblox.Api.Avatar.Models.BodyColorModel": {
53544
53706
  /**
@@ -53785,6 +53947,70 @@ export interface components {
53785
53947
  assetTypeID?: number;
53786
53948
  isPlayerChoice?: boolean;
53787
53949
  };
53950
+ /** @description A model containing avatar background data. */
53951
+ "Roblox.Api.Avatar.Models.V4.AvatarBackgroundModel": {
53952
+ backgroundAsset?: components["schemas"]["Roblox.Api.Avatar.Models.AssetModelV2"];
53953
+ };
53954
+ /** @description Avatar config details. */
53955
+ "Roblox.Api.Avatar.Models.V4.AvatarConfigurations": {
53956
+ /** @description The emotes on the character. */
53957
+ emotes?: components["schemas"]["Roblox.Api.Avatar.Models.EmoteResponseModel"][];
53958
+ background?: components["schemas"]["Roblox.Api.Avatar.Models.V4.AvatarBackgroundModel"];
53959
+ /** @description List of customizations set for this avatar. At most one per thumbnail type (Closeup, FullBody). */
53960
+ thumbnailCustomizations?: components["schemas"]["Roblox.Api.Avatar.Models.AvatarThumbnailCustomizationModel"][];
53961
+ };
53962
+ /** @description Details about an avatar. */
53963
+ "Roblox.Api.Avatar.Models.V4.AvatarDefinition": {
53964
+ avatarModel?: components["schemas"]["Roblox.Api.Avatar.Models.V4.AvatarModelV4"];
53965
+ avatarConfigurations?: components["schemas"]["Roblox.Api.Avatar.Models.V4.AvatarConfigurations"];
53966
+ };
53967
+ /** @description A model containing details about an avatar. */
53968
+ "Roblox.Api.Avatar.Models.V4.AvatarModelV4": {
53969
+ scales?: components["schemas"]["Roblox.Web.Responses.Avatar.ScaleModel"];
53970
+ /**
53971
+ * Format: int32
53972
+ * @description The avatar type.
53973
+ * @enum {integer}
53974
+ */
53975
+ playerAvatarType?: 1 | 3;
53976
+ bodyColor3s?: components["schemas"]["Roblox.Api.Avatar.Models.BodyColors3Model"];
53977
+ /** @description The assets worn on the character. */
53978
+ assets?: components["schemas"]["Roblox.Api.Avatar.Models.AssetModelV2"][];
53979
+ };
53980
+ /** @description Background configuration for an outfit. */
53981
+ "Roblox.Api.Avatar.Models.V4.OutfitConfigurations": {
53982
+ background?: components["schemas"]["Roblox.Api.Avatar.Models.V4.AvatarBackgroundModel"];
53983
+ };
53984
+ /** @description Details about an outfit. */
53985
+ "Roblox.Api.Avatar.Models.V4.OutfitDefinition": {
53986
+ outfitModel?: components["schemas"]["Roblox.Api.Avatar.Models.V4.OutfitModelV4"];
53987
+ outfitConfigurations?: components["schemas"]["Roblox.Api.Avatar.Models.V4.OutfitConfigurations"];
53988
+ };
53989
+ /** @description A model containing core outfit details. */
53990
+ "Roblox.Api.Avatar.Models.V4.OutfitModelV4": {
53991
+ /** @description The outfit id. */
53992
+ id?: string;
53993
+ /** @description The outfit name. */
53994
+ name?: string;
53995
+ /** @description Whether the outfit can be modified by the user. */
53996
+ isEditable?: boolean;
53997
+ /**
53998
+ * Format: int32
53999
+ * @description The type of the outfit.
54000
+ * @enum {integer}
54001
+ */
54002
+ outfitType?: 0 | 1 | 2 | 4 | 5;
54003
+ /** @description The assets on the outfit. */
54004
+ assets?: components["schemas"]["Roblox.Api.Avatar.Models.AssetModelV2"][];
54005
+ bodyColor3s?: components["schemas"]["Roblox.Api.Avatar.Models.BodyColors3Model"];
54006
+ scale?: components["schemas"]["Roblox.Web.Responses.Avatar.ScaleModel"];
54007
+ /**
54008
+ * Format: int32
54009
+ * @description The player avatar type.
54010
+ * @enum {integer}
54011
+ */
54012
+ playerAvatarType?: 1 | 3;
54013
+ };
53788
54014
  /** @description A model that contains a list of AssetWear models */
53789
54015
  "Roblox.Api.Avatar.Models.WearRequestModel": {
53790
54016
  /** @description The asset ids */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jacobhumston/roblox-openapi-ts",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "An automatically updated Roblox API client based on their OpenAPI documentation.",
5
5
  "keywords": [
6
6
  "roblox",