mailmeteor 0.0.15 → 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 +31 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +198 -1
- package/dist/index.mjs +31 -1
- 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 -1
- package/dist/types/generated-sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated-sdk/types.gen.d.ts +174 -0
- package/dist/types/generated-sdk/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1094,7 +1094,11 @@ class Users2 extends HeyApiClient {
|
|
|
1094
1094
|
Users2.__registry = new HeyApiRegistry();
|
|
1095
1095
|
class OrganizationMembers extends HeyApiClient {
|
|
1096
1096
|
list(organization_id, parameters, options) {
|
|
1097
|
-
const params = buildClientParams([organization_id, parameters], [{ in: 'path', key: 'organization_id' }, { args: [
|
|
1097
|
+
const params = buildClientParams([organization_id, parameters], [{ in: 'path', key: 'organization_id' }, { args: [
|
|
1098
|
+
{ in: 'query', key: 'limit' },
|
|
1099
|
+
{ in: 'query', key: 'starting_after' },
|
|
1100
|
+
{ in: 'query', key: 'role' }
|
|
1101
|
+
] }]);
|
|
1098
1102
|
return (options?.client ?? this.client).get({
|
|
1099
1103
|
responseStyle: 'data',
|
|
1100
1104
|
url: '/organizations/{organization_id}/members',
|
|
@@ -1569,6 +1573,29 @@ class BillingAddons2 extends HeyApiClient {
|
|
|
1569
1573
|
}
|
|
1570
1574
|
}
|
|
1571
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
|
+
}
|
|
1572
1599
|
class Billing extends HeyApiClient {
|
|
1573
1600
|
getPrices(parameters, options) {
|
|
1574
1601
|
const params = buildClientParams([parameters], [{ args: [{ in: 'query', key: 'currency' }] }]);
|
|
@@ -1579,6 +1606,9 @@ class Billing extends HeyApiClient {
|
|
|
1579
1606
|
...params
|
|
1580
1607
|
});
|
|
1581
1608
|
}
|
|
1609
|
+
get products() {
|
|
1610
|
+
return this._products ?? (this._products = new Products({ client: this.client }));
|
|
1611
|
+
}
|
|
1582
1612
|
}
|
|
1583
1613
|
class Billing2 extends HeyApiClient {
|
|
1584
1614
|
constructor(args) {
|