From e6037b430935720ce60245ae36ecd3622e8a22bf Mon Sep 17 00:00:00 2001 From: Max Nanis Date: Mon, 2 Jun 2025 16:45:21 +0700 Subject: Updated openapi generator to use the latest version (camelCase to underscore - which respects API models). Updating views to use the new swagger definitions. AnswerSlice as a datastore alongside Questions TS interface --- src/api/models/starwall-offer-wall.ts | 52 ----------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 src/api/models/starwall-offer-wall.ts (limited to 'src/api/models/starwall-offer-wall.ts') diff --git a/src/api/models/starwall-offer-wall.ts b/src/api/models/starwall-offer-wall.ts deleted file mode 100644 index 2eaaef3..0000000 --- a/src/api/models/starwall-offer-wall.ts +++ /dev/null @@ -1,52 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * General Research Full Service Brokerage API - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: 1.1.0 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - /** - * An offerwall with buckets that are clustered by setting as seeds the highest scoring surveys for each bin, then the rest are distributed according to their Euclidean distance using the bucket's features. Offerwall code: `b59a2d2b` - * - * @export - * @interface StarwallOfferWall - */ -export interface StarwallOfferWall { - - /** - * Unique identifier to reference a generated offerwall - * - * @type {any} - * @memberof StarwallOfferWall - */ - id: any; - - /** - * Total opportunities available for specific bpuid respondent and parameters. This value changes frequently and can be used to determine if a respondent has potential tasks available, regardless of the offerwall type being requested. If the value is 0, no buckets will be generated. - * - * @type {any} - * @memberof StarwallOfferWall - */ - availabilityCount: any; - - /** - * @type {any} - * @memberof StarwallOfferWall - */ - buckets?: any; - - /** - * The format describing the str representation of a payout. Typically, this would be displayed to a user. The payout_format is similar to python format string with a subset of functionality supported. Only float with a precision are supported along with an optional comma for a thousands separator. In addition, a mathematical operator can be applied, such as dividing by 100. Examples are shown assuming payout = 100 (one dollar). - \"{payout*10:,.0f} Points\" -> \"1,000 Points\" - \"${payout/100:.2f}\" -> \"$1.00\" - * - * @type {any} - * @memberof StarwallOfferWall - */ - payoutFormat: any; -} -- cgit v1.2.3