Skip to content

Commit

Permalink
new version (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
tenub authored Sep 26, 2024
1 parent 0428257 commit cb7303a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@schematichq/schematic-components",
"version": "0.1.0",
"version": "0.2.0",
"main": "dist/schematic-components.cjs.js",
"module": "dist/schematic-components.esm.js",
"types": "dist/schematic-components.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export interface BillingProductForSubscriptionResponseData {
* @type {string}
* @memberof BillingProductForSubscriptionResponseData
*/
interval?: string | null;
interval: string;
/**
*
* @type {string}
Expand All @@ -78,7 +78,7 @@ export interface BillingProductForSubscriptionResponseData {
* @type {string}
* @memberof BillingProductForSubscriptionResponseData
*/
priceExternalId?: string | null;
priceExternalId: string;
/**
*
* @type {number}
Expand Down Expand Up @@ -113,8 +113,11 @@ export function instanceOfBillingProductForSubscriptionResponseData(
if (!("externalId" in value) || value["externalId"] === undefined)
return false;
if (!("id" in value) || value["id"] === undefined) return false;
if (!("interval" in value) || value["interval"] === undefined) return false;
if (!("name" in value) || value["name"] === undefined) return false;
if (!("price" in value) || value["price"] === undefined) return false;
if (!("priceExternalId" in value) || value["priceExternalId"] === undefined)
return false;
if (!("quantity" in value) || value["quantity"] === undefined) return false;
if (!("subscriptionId" in value) || value["subscriptionId"] === undefined)
return false;
Expand Down Expand Up @@ -142,11 +145,10 @@ export function BillingProductForSubscriptionResponseDataFromJSONTyped(
environmentId: json["environment_id"],
externalId: json["external_id"],
id: json["id"],
interval: json["interval"] == null ? undefined : json["interval"],
interval: json["interval"],
name: json["name"],
price: json["price"],
priceExternalId:
json["price_external_id"] == null ? undefined : json["price_external_id"],
priceExternalId: json["price_external_id"],
quantity: json["quantity"],
subscriptionId: json["subscription_id"],
updatedAt: new Date(json["updated_at"]),
Expand Down

0 comments on commit cb7303a

Please sign in to comment.