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