@schematichq/schematic-components 1.7.0 → 1.7.1

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.
@@ -7494,7 +7494,7 @@ function BillingProductResponseDataFromJSONTyped(json, ignoreDiscriminator) {
7494
7494
  return {
7495
7495
  accountId: json["account_id"],
7496
7496
  createdAt: new Date(json["created_at"]),
7497
- currency: json["currency"],
7497
+ currency: json["currency"] == null ? void 0 : json["currency"],
7498
7498
  environmentId: json["environment_id"],
7499
7499
  externalId: json["external_id"],
7500
7500
  isActive: json["is_active"],
@@ -7642,7 +7642,7 @@ function BillingProductDetailResponseDataFromJSONTyped(json, ignoreDiscriminator
7642
7642
  return {
7643
7643
  accountId: json["account_id"],
7644
7644
  createdAt: new Date(json["created_at"]),
7645
- currency: json["currency"],
7645
+ currency: json["currency"] == null ? void 0 : json["currency"],
7646
7646
  environmentId: json["environment_id"],
7647
7647
  externalId: json["external_id"],
7648
7648
  isActive: json["is_active"],
@@ -9884,7 +9884,7 @@ function BillingProductResponseDataFromJSONTyped4(json, ignoreDiscriminator) {
9884
9884
  return {
9885
9885
  accountId: json["account_id"],
9886
9886
  createdAt: new Date(json["created_at"]),
9887
- currency: json["currency"],
9887
+ currency: json["currency"] == null ? void 0 : json["currency"],
9888
9888
  environmentId: json["environment_id"],
9889
9889
  externalId: json["external_id"],
9890
9890
  isActive: json["is_active"],
@@ -10004,7 +10004,7 @@ function BillingProductDetailResponseDataFromJSONTyped5(json, ignoreDiscriminato
10004
10004
  return {
10005
10005
  accountId: json["account_id"],
10006
10006
  createdAt: new Date(json["created_at"]),
10007
- currency: json["currency"],
10007
+ currency: json["currency"] == null ? void 0 : json["currency"],
10008
10008
  environmentId: json["environment_id"],
10009
10009
  externalId: json["external_id"],
10010
10010
  isActive: json["is_active"],
@@ -10648,7 +10648,7 @@ var EmbedProvider = ({
10648
10648
  });
10649
10649
  const customHeaders = (0, import_react12.useMemo)(
10650
10650
  () => ({
10651
- "X-Schematic-Components-Version": "1.7.0",
10651
+ "X-Schematic-Components-Version": "1.7.1",
10652
10652
  "X-Schematic-Session-ID": sessionIdRef.current
10653
10653
  }),
10654
10654
  []
@@ -856,11 +856,12 @@ declare interface BillingProductDetailResponseData {
856
856
  */
857
857
  createdAt: Date;
858
858
  /**
859
- *
859
+ * Deprecated; currencies are associated with prices, not products
860
860
  * @type {string}
861
861
  * @memberof BillingProductDetailResponseData
862
+ * @deprecated
862
863
  */
863
- currency: string;
864
+ currency?: string | null;
864
865
  /**
865
866
  *
866
867
  * @type {string}
@@ -948,11 +949,12 @@ declare interface BillingProductDetailResponseData_2 {
948
949
  */
949
950
  createdAt: Date;
950
951
  /**
951
- *
952
+ * Deprecated; currencies are associated with prices, not products
952
953
  * @type {string}
953
954
  * @memberof BillingProductDetailResponseData
955
+ * @deprecated
954
956
  */
955
- currency: string;
957
+ currency?: string | null;
956
958
  /**
957
959
  *
958
960
  * @type {string}
@@ -1380,11 +1382,12 @@ declare interface BillingProductResponseData {
1380
1382
  */
1381
1383
  createdAt: Date;
1382
1384
  /**
1383
- *
1385
+ * Deprecated; currencies are associated with prices, not products
1384
1386
  * @type {string}
1385
1387
  * @memberof BillingProductResponseData
1388
+ * @deprecated
1386
1389
  */
1387
- currency: string;
1390
+ currency?: string | null;
1388
1391
  /**
1389
1392
  *
1390
1393
  * @type {string}
@@ -1471,11 +1474,12 @@ declare interface BillingProductResponseData_2 {
1471
1474
  */
1472
1475
  createdAt: Date;
1473
1476
  /**
1474
- *
1477
+ * Deprecated; currencies are associated with prices, not products
1475
1478
  * @type {string}
1476
1479
  * @memberof BillingProductResponseData
1480
+ * @deprecated
1477
1481
  */
1478
- currency: string;
1482
+ currency?: string | null;
1479
1483
  /**
1480
1484
  *
1481
1485
  * @type {string}
@@ -7434,7 +7434,7 @@ function BillingProductResponseDataFromJSONTyped(json, ignoreDiscriminator) {
7434
7434
  return {
7435
7435
  accountId: json["account_id"],
7436
7436
  createdAt: new Date(json["created_at"]),
7437
- currency: json["currency"],
7437
+ currency: json["currency"] == null ? void 0 : json["currency"],
7438
7438
  environmentId: json["environment_id"],
7439
7439
  externalId: json["external_id"],
7440
7440
  isActive: json["is_active"],
@@ -7582,7 +7582,7 @@ function BillingProductDetailResponseDataFromJSONTyped(json, ignoreDiscriminator
7582
7582
  return {
7583
7583
  accountId: json["account_id"],
7584
7584
  createdAt: new Date(json["created_at"]),
7585
- currency: json["currency"],
7585
+ currency: json["currency"] == null ? void 0 : json["currency"],
7586
7586
  environmentId: json["environment_id"],
7587
7587
  externalId: json["external_id"],
7588
7588
  isActive: json["is_active"],
@@ -9824,7 +9824,7 @@ function BillingProductResponseDataFromJSONTyped4(json, ignoreDiscriminator) {
9824
9824
  return {
9825
9825
  accountId: json["account_id"],
9826
9826
  createdAt: new Date(json["created_at"]),
9827
- currency: json["currency"],
9827
+ currency: json["currency"] == null ? void 0 : json["currency"],
9828
9828
  environmentId: json["environment_id"],
9829
9829
  externalId: json["external_id"],
9830
9830
  isActive: json["is_active"],
@@ -9944,7 +9944,7 @@ function BillingProductDetailResponseDataFromJSONTyped5(json, ignoreDiscriminato
9944
9944
  return {
9945
9945
  accountId: json["account_id"],
9946
9946
  createdAt: new Date(json["created_at"]),
9947
- currency: json["currency"],
9947
+ currency: json["currency"] == null ? void 0 : json["currency"],
9948
9948
  environmentId: json["environment_id"],
9949
9949
  externalId: json["external_id"],
9950
9950
  isActive: json["is_active"],
@@ -10588,7 +10588,7 @@ var EmbedProvider = ({
10588
10588
  });
10589
10589
  const customHeaders = useMemo3(
10590
10590
  () => ({
10591
- "X-Schematic-Components-Version": "1.7.0",
10591
+ "X-Schematic-Components-Version": "1.7.1",
10592
10592
  "X-Schematic-Session-ID": sessionIdRef.current
10593
10593
  }),
10594
10594
  []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schematichq/schematic-components",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "main": "dist/schematic-components.cjs.js",
5
5
  "module": "dist/schematic-components.esm.js",
6
6
  "types": "dist/schematic-components.d.ts",