Skip to content

Commit d2b919f

Browse files
committed
Restore creator-economy changes after merging origin/main
1 parent 399b878 commit d2b919f

37 files changed

Lines changed: 881 additions & 11 deletions

openapi/components/parameters.yaml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,14 @@ groupRoleId:
356356
in: path
357357
schema:
358358
$ref: ./schemas/GroupRoleID.yaml
359+
groupByDuration:
360+
name: groupByDuration
361+
description: Time bucket size for economy metrics. Observed values include `days` and `years`.
362+
required: false
363+
in: query
364+
schema:
365+
type: string
366+
example: days
359367
hydrate:
360368
name: hydrate
361369
description: Populates some fields and changes types of others for certain objects.
@@ -377,6 +385,22 @@ hydrateProducts:
377385
in: query
378386
schema:
379387
type: boolean
388+
listingTypeFilter:
389+
name: listingType
390+
description: Filter user listings by category. Observed values include `otp` and `subscription`.
391+
required: false
392+
in: query
393+
schema:
394+
type: string
395+
example: otp
396+
managementPov:
397+
name: managementPov
398+
description: Return stores from the seller management point of view.
399+
required: false
400+
in: query
401+
schema:
402+
type: boolean
403+
example: true
380404
include:
381405
name: include
382406
description: Tags to include (comma-separated). Any of the tags needs to be present.
@@ -548,6 +572,22 @@ maxUnityVersion:
548572
in: query
549573
schema:
550574
type: string
575+
metricDateEnd:
576+
name: metricDateEnd
577+
description: Upper bound for economy metrics queries. Observed formats include both date-only and full ISO timestamps.
578+
required: false
579+
in: query
580+
schema:
581+
type: string
582+
example: 2026-04-04T21:59:59.999Z
583+
metricDateStart:
584+
name: metricDateStart
585+
description: Lower bound for economy metrics queries. Observed formats include both date-only and full ISO timestamps.
586+
required: false
587+
in: query
588+
schema:
589+
type: string
590+
example: 2026-03-28T23:00:00.000Z
551591
messageType:
552592
name: messageType
553593
description: "The type of message to fetch, must be a valid InviteMessageType."
@@ -741,6 +781,20 @@ search:
741781
in: query
742782
schema:
743783
type: string
784+
sellerIdQuery:
785+
name: sellerId
786+
description: Filter results by seller.
787+
required: false
788+
in: query
789+
schema:
790+
$ref: ./schemas/UserID.yaml
791+
sellerId:
792+
name: sellerId
793+
description: Seller to retrieve economy metrics for.
794+
required: true
795+
in: query
796+
schema:
797+
$ref: ./schemas/UserID.yaml
744798
slot:
745799
name: slot
746800
description: The message slot to fetch of a given message type.

openapi/components/paths.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@
134134
$ref: "./paths/economy.yaml#/paths/~1economy~1purchases~1{productPurchaseId}"
135135
"/economy/purchases/{productPurchaseId}/stacks":
136136
$ref: "./paths/economy.yaml#/paths/~1economy~1purchases~1{productPurchaseId}~1stacks"
137+
/economy/stores:
138+
$ref: "./paths/economy.yaml#/paths/~1economy~1stores"
137139
/economy/seller/eligibility:
138140
$ref: "./paths/economy.yaml#/paths/~1economy~1seller~1eligibility"
139141
/economy/store:
@@ -288,6 +290,8 @@
288290
$ref: "./paths/miscellaneous.yaml#/paths/~1js~1app.js"
289291
"/licenseGroups/{licenseGroupId}":
290292
$ref: "./paths/economy.yaml#/paths/~1licenseGroups~1{licenseGroupId}"
293+
/listing:
294+
$ref: "./paths/economy.yaml#/paths/~1listing"
291295
"/listing/{productId}":
292296
$ref: "./paths/economy.yaml#/paths/~1listing~1{productId}"
293297
/logout:
@@ -320,6 +324,8 @@
320324
$ref: "./paths/prints.yaml#/paths/~1prints~1user~1{userId}"
321325
"/prints/{printId}":
322326
$ref: "./paths/prints.yaml#/paths/~1prints~1{printId}"
327+
/products:
328+
$ref: "./paths/economy.yaml#/paths/~1products"
323329
"/products/{productId}":
324330
$ref: "./paths/economy.yaml#/paths/~1products~1{productId}"
325331
/props:
@@ -352,6 +358,12 @@
352358
$ref: "./paths/economy.yaml#/paths/~1user~1{userId}~1balance~1earnings"
353359
"/user/{userId}/economy/account":
354360
$ref: "./paths/economy.yaml#/paths/~1user~1{userId}~1economy~1account"
361+
"/user/{userId}/economy/balances":
362+
$ref: "./paths/economy.yaml#/paths/~1user~1{userId}~1economy~1balances"
363+
"/user/{userId}/economy/payouts/list":
364+
$ref: "./paths/economy.yaml#/paths/~1user~1{userId}~1economy~1payouts~1list"
365+
"/user/{userId}/economy/payouts/status":
366+
$ref: "./paths/economy.yaml#/paths/~1user~1{userId}~1economy~1payouts~1status"
355367
"/user/{userId}/economy/transactions":
356368
$ref: "./paths/economy.yaml#/paths/~1user~1{userId}~1economy~1transactions"
357369
"/user/{userId}/friendRequest":
@@ -362,6 +374,10 @@
362374
$ref: "./paths/inventory.yaml#/paths/~1user~1{userId}~1inventory~1{inventoryItemId}"
363375
"/user/{userId}/listings":
364376
$ref: "./paths/economy.yaml#/paths/~1user~1{userId}~1listings"
377+
"/user/{userId}/products":
378+
$ref: "./paths/economy.yaml#/paths/~1user~1{userId}~1products"
379+
"/user/{userId}/tilia/kyc":
380+
$ref: "./paths/economy.yaml#/paths/~1user~1{userId}~1tilia~1kyc"
365381
"/user/{userId}/tilia/tos":
366382
$ref: "./paths/economy.yaml#/paths/~1user~1{userId}~1tilia~1tos"
367383
/userNotes:

0 commit comments

Comments
 (0)