@drawbridge/drawbridge-utils 0.0.175 → 0.0.176
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/connections/index.cjs +2738 -1579
- package/dist/connections/index.d.cts +11 -9163
- package/dist/connections/index.d.ts +11 -9163
- package/dist/connections/index.js +2720 -1576
- package/dist/connections/oauth.cjs +4 -4
- package/dist/connections/oauth.d.cts +10 -8
- package/dist/connections/oauth.d.ts +10 -8
- package/dist/connections/oauth.js +4 -4
- package/dist/features.cjs +7546 -42
- package/dist/features.d.cts +46 -42
- package/dist/features.d.ts +46 -42
- package/dist/features.js +7534 -42
- package/dist/index-B8JhYfvU.d.ts +11928 -0
- package/dist/index-qY18QITf.d.cts +11928 -0
- package/dist/plans.cjs +7542 -51
- package/dist/plans.d.cts +28 -10
- package/dist/plans.d.ts +28 -10
- package/dist/plans.js +7542 -51
- package/dist/pricing.cjs +7687 -209
- package/dist/pricing.d.cts +25 -17
- package/dist/pricing.d.ts +25 -17
- package/dist/pricing.js +7687 -209
- package/dist/providers.cjs +2621 -1638
- package/dist/providers.d.cts +2 -13
- package/dist/providers.d.ts +2 -13
- package/dist/providers.js +2618 -1635
- package/package.json +1 -1
package/dist/pricing.d.cts
CHANGED
|
@@ -1,16 +1,35 @@
|
|
|
1
|
+
import { u as channels } from './index-qY18QITf.cjs';
|
|
1
2
|
import { MARKUP } from './billing.cjs';
|
|
2
3
|
export { LOCAL_FLAT_CENTS, PREMIUM_CPM_CENTS, PREMIUM_RATE_PER_GB, REUSE_FLAT_CENTS, STANDARD_CPM_CENTS, STANDARD_RATE_PER_GB, ai, scrape } from './billing.cjs';
|
|
3
4
|
export { conversionRate, free, plans, resolvePlan, unitAmountDecimal } from './plans.cjs';
|
|
5
|
+
import './usage.cjs';
|
|
6
|
+
import './connections/oauth.cjs';
|
|
7
|
+
import 'node:crypto';
|
|
8
|
+
import './phone.cjs';
|
|
9
|
+
import 'libphonenumber-js';
|
|
10
|
+
import './http.cjs';
|
|
11
|
+
import 'nanoid';
|
|
12
|
+
import './email.cjs';
|
|
13
|
+
import './encrypt.cjs';
|
|
14
|
+
import 'crypto';
|
|
15
|
+
import './token.cjs';
|
|
16
|
+
import './slugify.cjs';
|
|
17
|
+
import 'slugify';
|
|
18
|
+
import './safe-http.cjs';
|
|
19
|
+
import 'dns';
|
|
20
|
+
import 'node:http';
|
|
21
|
+
import 'node:https';
|
|
22
|
+
import './axios.cjs';
|
|
23
|
+
import 'axios';
|
|
24
|
+
import 'net';
|
|
4
25
|
import './transactions.cjs';
|
|
5
26
|
import '@drawbridge/drawbridge-telemetry';
|
|
6
|
-
import './usage.cjs';
|
|
7
27
|
import './features.cjs';
|
|
8
28
|
import './index.cjs';
|
|
9
29
|
import 'currency-codes';
|
|
10
30
|
import './color.cjs';
|
|
11
31
|
import 'tinycolor2';
|
|
12
32
|
import './nanoid.cjs';
|
|
13
|
-
import 'nanoid';
|
|
14
33
|
|
|
15
34
|
// Pricing — the one file you open to see every customer-facing number.
|
|
16
35
|
//
|
|
@@ -201,21 +220,10 @@ const sending = {
|
|
|
201
220
|
}
|
|
202
221
|
};
|
|
203
222
|
|
|
204
|
-
// Weighted actions
|
|
205
|
-
//
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
actionsPerSend : 1,
|
|
209
|
-
includedInAllowance : true
|
|
210
|
-
},
|
|
211
|
-
sms : {
|
|
212
|
-
// Two actions PER SEGMENT (a long message is several segments), billed from
|
|
213
|
-
// the FIRST segment and never drawn from the plan's included allowance —
|
|
214
|
-
// carrier cost is real from message one, so there is no free tier of it.
|
|
215
|
-
actionsPerSegment : 2,
|
|
216
|
-
includedInAllowance : false
|
|
217
|
-
}
|
|
218
|
-
};
|
|
223
|
+
// Weighted actions per channel now live in lib/channels.js, and are re-exported
|
|
224
|
+
// below so this file stays the index of every customer-facing number. They moved
|
|
225
|
+
// so a connection manifest can read them without pulling in the plan catalogue —
|
|
226
|
+
// see that file.
|
|
219
227
|
|
|
220
228
|
// The lowest CENTS-per-action rate a plan may charge. Custom plans are
|
|
221
229
|
// hand-entered, and the guard on them only ever rejected a MISSING rate — zero
|
package/dist/pricing.d.ts
CHANGED
|
@@ -1,16 +1,35 @@
|
|
|
1
|
+
import { u as channels } from './index-B8JhYfvU.js';
|
|
1
2
|
import { MARKUP } from './billing.js';
|
|
2
3
|
export { LOCAL_FLAT_CENTS, PREMIUM_CPM_CENTS, PREMIUM_RATE_PER_GB, REUSE_FLAT_CENTS, STANDARD_CPM_CENTS, STANDARD_RATE_PER_GB, ai, scrape } from './billing.js';
|
|
3
4
|
export { conversionRate, free, plans, resolvePlan, unitAmountDecimal } from './plans.js';
|
|
5
|
+
import './usage.js';
|
|
6
|
+
import './connections/oauth.js';
|
|
7
|
+
import 'node:crypto';
|
|
8
|
+
import './phone.js';
|
|
9
|
+
import 'libphonenumber-js';
|
|
10
|
+
import './http.js';
|
|
11
|
+
import 'nanoid';
|
|
12
|
+
import './email.js';
|
|
13
|
+
import './encrypt.js';
|
|
14
|
+
import 'crypto';
|
|
15
|
+
import './token.js';
|
|
16
|
+
import './slugify.js';
|
|
17
|
+
import 'slugify';
|
|
18
|
+
import './safe-http.js';
|
|
19
|
+
import 'dns';
|
|
20
|
+
import 'node:http';
|
|
21
|
+
import 'node:https';
|
|
22
|
+
import './axios.js';
|
|
23
|
+
import 'axios';
|
|
24
|
+
import 'net';
|
|
4
25
|
import './transactions.js';
|
|
5
26
|
import '@drawbridge/drawbridge-telemetry';
|
|
6
|
-
import './usage.js';
|
|
7
27
|
import './features.js';
|
|
8
28
|
import './index.js';
|
|
9
29
|
import 'currency-codes';
|
|
10
30
|
import './color.js';
|
|
11
31
|
import 'tinycolor2';
|
|
12
32
|
import './nanoid.js';
|
|
13
|
-
import 'nanoid';
|
|
14
33
|
|
|
15
34
|
// Pricing — the one file you open to see every customer-facing number.
|
|
16
35
|
//
|
|
@@ -201,21 +220,10 @@ const sending = {
|
|
|
201
220
|
}
|
|
202
221
|
};
|
|
203
222
|
|
|
204
|
-
// Weighted actions
|
|
205
|
-
//
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
actionsPerSend : 1,
|
|
209
|
-
includedInAllowance : true
|
|
210
|
-
},
|
|
211
|
-
sms : {
|
|
212
|
-
// Two actions PER SEGMENT (a long message is several segments), billed from
|
|
213
|
-
// the FIRST segment and never drawn from the plan's included allowance —
|
|
214
|
-
// carrier cost is real from message one, so there is no free tier of it.
|
|
215
|
-
actionsPerSegment : 2,
|
|
216
|
-
includedInAllowance : false
|
|
217
|
-
}
|
|
218
|
-
};
|
|
223
|
+
// Weighted actions per channel now live in lib/channels.js, and are re-exported
|
|
224
|
+
// below so this file stays the index of every customer-facing number. They moved
|
|
225
|
+
// so a connection manifest can read them without pulling in the plan catalogue —
|
|
226
|
+
// see that file.
|
|
219
227
|
|
|
220
228
|
// The lowest CENTS-per-action rate a plan may charge. Custom plans are
|
|
221
229
|
// hand-entered, and the guard on them only ever rejected a MISSING rate — zero
|