mailmeteor 0.0.16 → 0.0.17
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.
- package/dist/index.cjs +25 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +157 -45
- package/dist/index.mjs +25 -6
- package/dist/index.mjs.map +1 -1
- package/dist/types/generated-sdk/index.d.ts +2 -2
- package/dist/types/generated-sdk/index.d.ts.map +1 -1
- package/dist/types/generated-sdk/sdk.gen.d.ts +9 -2
- package/dist/types/generated-sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated-sdk/types.gen.d.ts +134 -37
- package/dist/types/generated-sdk/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1573,6 +1573,29 @@ class BillingAddons2 extends HeyApiClient {
|
|
|
1573
1573
|
}
|
|
1574
1574
|
}
|
|
1575
1575
|
BillingAddons2.__registry = new HeyApiRegistry7();
|
|
1576
|
+
class Products extends HeyApiClient {
|
|
1577
|
+
retrieve(options) {
|
|
1578
|
+
return (options?.client ?? this.client).get({
|
|
1579
|
+
responseStyle: 'data',
|
|
1580
|
+
url: '/billing/products',
|
|
1581
|
+
...options
|
|
1582
|
+
});
|
|
1583
|
+
}
|
|
1584
|
+
update(product, parameters, options) {
|
|
1585
|
+
const params = buildClientParams([product, parameters], [{ in: 'path', key: 'product' }, { args: [{ in: 'body', key: 'quantity' }] }]);
|
|
1586
|
+
return (options?.client ?? this.client).patch({
|
|
1587
|
+
responseStyle: 'data',
|
|
1588
|
+
url: '/billing/products/{product}',
|
|
1589
|
+
...options,
|
|
1590
|
+
...params,
|
|
1591
|
+
headers: {
|
|
1592
|
+
'Content-Type': 'application/json',
|
|
1593
|
+
...options?.headers,
|
|
1594
|
+
...params.headers
|
|
1595
|
+
}
|
|
1596
|
+
});
|
|
1597
|
+
}
|
|
1598
|
+
}
|
|
1576
1599
|
class Billing extends HeyApiClient {
|
|
1577
1600
|
getPrices(parameters, options) {
|
|
1578
1601
|
const params = buildClientParams([parameters], [{ args: [{ in: 'query', key: 'currency' }] }]);
|
|
@@ -1583,12 +1606,8 @@ class Billing extends HeyApiClient {
|
|
|
1583
1606
|
...params
|
|
1584
1607
|
});
|
|
1585
1608
|
}
|
|
1586
|
-
|
|
1587
|
-
return
|
|
1588
|
-
responseStyle: 'data',
|
|
1589
|
-
url: '/billing/limits',
|
|
1590
|
-
...options
|
|
1591
|
-
});
|
|
1609
|
+
get products() {
|
|
1610
|
+
return this._products ?? (this._products = new Products({ client: this.client }));
|
|
1592
1611
|
}
|
|
1593
1612
|
}
|
|
1594
1613
|
class Billing2 extends HeyApiClient {
|