@paid-ai/paid-node 1.0.1 → 1.2.0
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/README.md +6 -2
- package/dist/cjs/Client.d.ts +9 -0
- package/dist/cjs/Client.js +29 -14
- package/dist/cjs/api/resources/checkouts/client/Client.d.ts +84 -0
- package/dist/cjs/api/resources/checkouts/client/Client.js +350 -0
- package/dist/cjs/api/resources/checkouts/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/checkouts/client/index.js +17 -0
- package/dist/cjs/api/resources/checkouts/client/requests/ArchiveCheckoutRequest.d.ts +9 -0
- package/dist/cjs/api/resources/checkouts/client/requests/ArchiveCheckoutRequest.js +3 -0
- package/dist/cjs/api/resources/checkouts/client/requests/CreateCheckoutRequest.d.ts +23 -0
- package/dist/cjs/api/resources/checkouts/client/requests/CreateCheckoutRequest.js +3 -0
- package/dist/cjs/api/resources/checkouts/client/requests/GetCheckoutRequest.d.ts +9 -0
- package/dist/cjs/api/resources/checkouts/client/requests/GetCheckoutRequest.js +3 -0
- package/dist/cjs/api/resources/checkouts/client/requests/ListCheckoutsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/checkouts/client/requests/ListCheckoutsRequest.js +3 -0
- package/dist/cjs/api/resources/checkouts/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/checkouts/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/checkouts/index.d.ts +2 -0
- package/dist/cjs/api/resources/checkouts/index.js +18 -0
- package/dist/cjs/api/resources/checkouts/types/ListCheckoutsRequestStatus.d.ts +6 -0
- package/dist/cjs/api/resources/checkouts/types/ListCheckoutsRequestStatus.js +9 -0
- package/dist/cjs/api/resources/checkouts/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/checkouts/types/index.js +17 -0
- package/dist/cjs/api/resources/contacts/client/Client.d.ts +0 -2
- package/dist/cjs/api/resources/contacts/client/Client.js +0 -2
- package/dist/cjs/api/resources/contacts/client/requests/CreateContactRequest.d.ts +13 -4
- package/dist/cjs/api/resources/contacts/client/requests/CreateContactRequest.js +11 -0
- package/dist/cjs/api/resources/credits/client/Client.d.ts +27 -0
- package/dist/cjs/api/resources/credits/client/Client.js +123 -0
- package/dist/cjs/api/resources/credits/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/credits/client/index.js +2 -0
- package/dist/cjs/api/resources/credits/index.d.ts +1 -0
- package/dist/cjs/api/resources/credits/index.js +17 -0
- package/dist/cjs/api/resources/customerPortals/client/Client.d.ts +30 -0
- package/dist/cjs/api/resources/customerPortals/client/Client.js +133 -0
- package/dist/cjs/api/resources/customerPortals/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/customerPortals/client/index.js +17 -0
- package/dist/cjs/api/resources/customerPortals/client/requests/CreateCustomerPortalRequest.d.ts +12 -0
- package/dist/cjs/api/resources/customerPortals/client/requests/CreateCustomerPortalRequest.js +3 -0
- package/dist/cjs/api/resources/customerPortals/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/customerPortals/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/customerPortals/index.d.ts +1 -0
- package/dist/cjs/api/resources/customerPortals/index.js +17 -0
- package/dist/cjs/api/resources/customers/client/Client.d.ts +34 -0
- package/dist/cjs/api/resources/customers/client/Client.js +136 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerCreditBalancesByExternalIdRequest.d.ts +9 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerCreditBalancesByExternalIdRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerCreditBalancesRequest.d.ts +9 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerCreditBalancesRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/index.d.ts +6 -0
- package/dist/cjs/api/resources/index.js +7 -1
- package/dist/cjs/api/resources/orders/client/requests/CreateOrderRequest.d.ts +12 -7
- package/dist/cjs/api/resources/orders/client/requests/UpdateOrderRequest.d.ts +10 -7
- package/dist/cjs/api/types/Checkout.d.ts +18 -0
- package/dist/cjs/api/types/Checkout.js +3 -0
- package/dist/cjs/api/types/CheckoutListResponse.d.ts +5 -0
- package/dist/cjs/api/types/CheckoutListResponse.js +3 -0
- package/dist/cjs/api/types/CheckoutProduct.d.ts +3 -0
- package/dist/cjs/api/types/CheckoutProduct.js +3 -0
- package/dist/cjs/api/types/CheckoutProductInput.d.ts +3 -0
- package/dist/cjs/api/types/CheckoutProductInput.js +3 -0
- package/dist/cjs/api/types/CheckoutStatus.d.ts +7 -0
- package/dist/cjs/api/types/CheckoutStatus.js +10 -0
- package/dist/cjs/api/types/Contact.d.ts +11 -0
- package/dist/cjs/api/types/Contact.js +11 -0
- package/dist/cjs/api/types/CreateOrderLineAttributeRequest.d.ts +120 -0
- package/dist/cjs/api/types/CreateOrderLineAttributeRequest.js +73 -0
- package/dist/cjs/api/types/CreateOrderLineRequest.d.ts +9 -0
- package/dist/cjs/api/types/CreateOrderLineRequest.js +3 -0
- package/dist/cjs/api/types/CreditBalance.d.ts +19 -0
- package/dist/cjs/api/types/CreditBalance.js +11 -0
- package/dist/cjs/api/types/CreditBalanceListResponse.d.ts +4 -0
- package/dist/cjs/api/types/CreditBalanceListResponse.js +3 -0
- package/dist/cjs/api/types/CreditCurrency.d.ts +9 -0
- package/dist/cjs/api/types/CreditCurrency.js +3 -0
- package/dist/cjs/api/types/CreditCurrencyListResponse.d.ts +4 -0
- package/dist/cjs/api/types/CreditCurrencyListResponse.js +3 -0
- package/dist/cjs/api/types/CustomerPortal.d.ts +10 -0
- package/dist/cjs/api/types/CustomerPortal.js +3 -0
- package/dist/cjs/api/types/CustomerPortalStatus.d.ts +5 -0
- package/dist/cjs/api/types/CustomerPortalStatus.js +8 -0
- package/dist/cjs/api/types/Order.d.ts +3 -0
- package/dist/cjs/api/types/Signal.d.ts +2 -0
- package/dist/cjs/api/types/UpdateContactRequest.d.ts +11 -0
- package/dist/cjs/api/types/UpdateContactRequest.js +11 -0
- package/dist/cjs/api/types/index.d.ts +13 -0
- package/dist/cjs/api/types/index.js +13 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +9 -0
- package/dist/esm/Client.mjs +17 -2
- package/dist/esm/api/resources/checkouts/client/Client.d.mts +84 -0
- package/dist/esm/api/resources/checkouts/client/Client.mjs +313 -0
- package/dist/esm/api/resources/checkouts/client/index.d.mts +1 -0
- package/dist/esm/api/resources/checkouts/client/index.mjs +1 -0
- package/dist/esm/api/resources/checkouts/client/requests/ArchiveCheckoutRequest.d.mts +9 -0
- package/dist/esm/api/resources/checkouts/client/requests/ArchiveCheckoutRequest.mjs +2 -0
- package/dist/esm/api/resources/checkouts/client/requests/CreateCheckoutRequest.d.mts +23 -0
- package/dist/esm/api/resources/checkouts/client/requests/CreateCheckoutRequest.mjs +2 -0
- package/dist/esm/api/resources/checkouts/client/requests/GetCheckoutRequest.d.mts +9 -0
- package/dist/esm/api/resources/checkouts/client/requests/GetCheckoutRequest.mjs +2 -0
- package/dist/esm/api/resources/checkouts/client/requests/ListCheckoutsRequest.d.mts +10 -0
- package/dist/esm/api/resources/checkouts/client/requests/ListCheckoutsRequest.mjs +2 -0
- package/dist/esm/api/resources/checkouts/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/checkouts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/checkouts/index.d.mts +2 -0
- package/dist/esm/api/resources/checkouts/index.mjs +2 -0
- package/dist/esm/api/resources/checkouts/types/ListCheckoutsRequestStatus.d.mts +6 -0
- package/dist/esm/api/resources/checkouts/types/ListCheckoutsRequestStatus.mjs +6 -0
- package/dist/esm/api/resources/checkouts/types/index.d.mts +1 -0
- package/dist/esm/api/resources/checkouts/types/index.mjs +1 -0
- package/dist/esm/api/resources/contacts/client/Client.d.mts +0 -2
- package/dist/esm/api/resources/contacts/client/Client.mjs +0 -2
- package/dist/esm/api/resources/contacts/client/requests/CreateContactRequest.d.mts +13 -4
- package/dist/esm/api/resources/contacts/client/requests/CreateContactRequest.mjs +10 -1
- package/dist/esm/api/resources/credits/client/Client.d.mts +27 -0
- package/dist/esm/api/resources/credits/client/Client.mjs +86 -0
- package/dist/esm/api/resources/credits/client/index.d.mts +1 -0
- package/dist/esm/api/resources/credits/client/index.mjs +1 -0
- package/dist/esm/api/resources/credits/index.d.mts +1 -0
- package/dist/esm/api/resources/credits/index.mjs +1 -0
- package/dist/esm/api/resources/customerPortals/client/Client.d.mts +30 -0
- package/dist/esm/api/resources/customerPortals/client/Client.mjs +96 -0
- package/dist/esm/api/resources/customerPortals/client/index.d.mts +1 -0
- package/dist/esm/api/resources/customerPortals/client/index.mjs +1 -0
- package/dist/esm/api/resources/customerPortals/client/requests/CreateCustomerPortalRequest.d.mts +12 -0
- package/dist/esm/api/resources/customerPortals/client/requests/CreateCustomerPortalRequest.mjs +2 -0
- package/dist/esm/api/resources/customerPortals/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/customerPortals/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/customerPortals/index.d.mts +1 -0
- package/dist/esm/api/resources/customerPortals/index.mjs +1 -0
- package/dist/esm/api/resources/customers/client/Client.d.mts +34 -0
- package/dist/esm/api/resources/customers/client/Client.mjs +136 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerCreditBalancesByExternalIdRequest.d.mts +9 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerCreditBalancesByExternalIdRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerCreditBalancesRequest.d.mts +9 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerCreditBalancesRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/index.d.mts +6 -0
- package/dist/esm/api/resources/index.mjs +6 -0
- package/dist/esm/api/resources/orders/client/requests/CreateOrderRequest.d.mts +12 -7
- package/dist/esm/api/resources/orders/client/requests/UpdateOrderRequest.d.mts +10 -7
- package/dist/esm/api/types/Checkout.d.mts +18 -0
- package/dist/esm/api/types/Checkout.mjs +2 -0
- package/dist/esm/api/types/CheckoutListResponse.d.mts +5 -0
- package/dist/esm/api/types/CheckoutListResponse.mjs +2 -0
- package/dist/esm/api/types/CheckoutProduct.d.mts +3 -0
- package/dist/esm/api/types/CheckoutProduct.mjs +2 -0
- package/dist/esm/api/types/CheckoutProductInput.d.mts +3 -0
- package/dist/esm/api/types/CheckoutProductInput.mjs +2 -0
- package/dist/esm/api/types/CheckoutStatus.d.mts +7 -0
- package/dist/esm/api/types/CheckoutStatus.mjs +7 -0
- package/dist/esm/api/types/Contact.d.mts +11 -0
- package/dist/esm/api/types/Contact.mjs +10 -1
- package/dist/esm/api/types/CreateOrderLineAttributeRequest.d.mts +120 -0
- package/dist/esm/api/types/CreateOrderLineAttributeRequest.mjs +70 -0
- package/dist/esm/api/types/CreateOrderLineRequest.d.mts +9 -0
- package/dist/esm/api/types/CreateOrderLineRequest.mjs +2 -0
- package/dist/esm/api/types/CreditBalance.d.mts +19 -0
- package/dist/esm/api/types/CreditBalance.mjs +8 -0
- package/dist/esm/api/types/CreditBalanceListResponse.d.mts +4 -0
- package/dist/esm/api/types/CreditBalanceListResponse.mjs +2 -0
- package/dist/esm/api/types/CreditCurrency.d.mts +9 -0
- package/dist/esm/api/types/CreditCurrency.mjs +2 -0
- package/dist/esm/api/types/CreditCurrencyListResponse.d.mts +4 -0
- package/dist/esm/api/types/CreditCurrencyListResponse.mjs +2 -0
- package/dist/esm/api/types/CustomerPortal.d.mts +10 -0
- package/dist/esm/api/types/CustomerPortal.mjs +2 -0
- package/dist/esm/api/types/CustomerPortalStatus.d.mts +5 -0
- package/dist/esm/api/types/CustomerPortalStatus.mjs +5 -0
- package/dist/esm/api/types/Order.d.mts +3 -0
- package/dist/esm/api/types/Signal.d.mts +2 -0
- package/dist/esm/api/types/UpdateContactRequest.d.mts +11 -0
- package/dist/esm/api/types/UpdateContactRequest.mjs +10 -1
- package/dist/esm/api/types/index.d.mts +13 -0
- package/dist/esm/api/types/index.mjs +13 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +215 -215
- package/reference.md +512 -2
package/package.json
CHANGED
|
@@ -1,226 +1,226 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
2
|
+
"name": "@paid-ai/paid-node",
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"repository": "github:paid-ai/paid-node",
|
|
6
|
+
"type": "commonjs",
|
|
7
|
+
"main": "./dist/cjs/index.js",
|
|
8
|
+
"module": "./dist/esm/index.mjs",
|
|
9
|
+
"types": "./dist/cjs/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/cjs/index.d.ts",
|
|
13
|
+
"import": {
|
|
14
|
+
"types": "./dist/esm/index.d.mts",
|
|
15
|
+
"default": "./dist/esm/index.mjs"
|
|
16
|
+
},
|
|
17
|
+
"require": {
|
|
18
|
+
"types": "./dist/cjs/index.d.ts",
|
|
19
|
+
"default": "./dist/cjs/index.js"
|
|
20
|
+
},
|
|
21
|
+
"default": "./dist/cjs/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./package.json": "./package.json",
|
|
24
|
+
"./openai": {
|
|
25
|
+
"types": "./dist/cjs/openai-wrapper/index.d.ts",
|
|
26
|
+
"import": {
|
|
27
|
+
"types": "./dist/esm/openai-wrapper/index.d.mts",
|
|
28
|
+
"default": "./dist/esm/openai-wrapper/index.mjs"
|
|
29
|
+
},
|
|
30
|
+
"require": {
|
|
31
|
+
"types": "./dist/cjs/openai-wrapper/index.d.ts",
|
|
32
|
+
"default": "./dist/cjs/openai-wrapper/index.js"
|
|
33
|
+
},
|
|
34
|
+
"default": "./dist/cjs/openai-wrapper/index.js"
|
|
35
|
+
},
|
|
36
|
+
"./anthropic": {
|
|
37
|
+
"types": "./dist/cjs/anthropic-wrapper/index.d.ts",
|
|
38
|
+
"import": {
|
|
39
|
+
"types": "./dist/esm/anthropic-wrapper/index.d.mts",
|
|
40
|
+
"default": "./dist/esm/anthropic-wrapper/index.mjs"
|
|
41
|
+
},
|
|
42
|
+
"require": {
|
|
43
|
+
"types": "./dist/cjs/anthropic-wrapper/index.d.ts",
|
|
44
|
+
"default": "./dist/cjs/anthropic-wrapper/index.js"
|
|
45
|
+
},
|
|
46
|
+
"default": "./dist/cjs/anthropic-wrapper/index.js"
|
|
47
|
+
},
|
|
48
|
+
"./mistral": {
|
|
49
|
+
"types": "./dist/cjs/mistral-wrapper/index.d.ts",
|
|
50
|
+
"import": {
|
|
51
|
+
"types": "./dist/esm/mistral-wrapper/index.d.mts",
|
|
52
|
+
"default": "./dist/esm/mistral-wrapper/index.mjs"
|
|
53
|
+
},
|
|
54
|
+
"require": {
|
|
55
|
+
"types": "./dist/cjs/mistral-wrapper/index.d.ts",
|
|
56
|
+
"default": "./dist/cjs/mistral-wrapper/index.js"
|
|
57
|
+
},
|
|
58
|
+
"default": "./dist/cjs/mistral-wrapper/index.js"
|
|
59
|
+
},
|
|
60
|
+
"./langchain": {
|
|
61
|
+
"types": "./dist/cjs/langchain-wrapper/index.d.ts",
|
|
62
|
+
"import": {
|
|
63
|
+
"types": "./dist/esm/langchain-wrapper/index.d.mts",
|
|
64
|
+
"default": "./dist/esm/langchain-wrapper/index.mjs"
|
|
65
|
+
},
|
|
66
|
+
"require": {
|
|
67
|
+
"types": "./dist/cjs/langchain-wrapper/index.d.ts",
|
|
68
|
+
"default": "./dist/cjs/langchain-wrapper/index.js"
|
|
69
|
+
},
|
|
70
|
+
"default": "./dist/cjs/langchain-wrapper/index.js"
|
|
71
|
+
},
|
|
72
|
+
"./vercel": {
|
|
73
|
+
"types": "./dist/cjs/vercel-wrapper/index.d.ts",
|
|
74
|
+
"import": {
|
|
75
|
+
"types": "./dist/esm/vercel-wrapper/index.d.mts",
|
|
76
|
+
"default": "./dist/esm/vercel-wrapper/index.mjs"
|
|
77
|
+
},
|
|
78
|
+
"require": {
|
|
79
|
+
"types": "./dist/cjs/vercel-wrapper/index.d.ts",
|
|
80
|
+
"default": "./dist/cjs/vercel-wrapper/index.js"
|
|
81
|
+
},
|
|
82
|
+
"default": "./dist/cjs/vercel-wrapper/index.js"
|
|
83
|
+
},
|
|
84
|
+
"./tracing": {
|
|
85
|
+
"types": "./dist/cjs/tracing/index.d.ts",
|
|
86
|
+
"import": {
|
|
87
|
+
"types": "./dist/esm/tracing/index.d.mts",
|
|
88
|
+
"default": "./dist/esm/tracing/index.mjs"
|
|
89
|
+
},
|
|
90
|
+
"require": {
|
|
91
|
+
"types": "./dist/cjs/tracing/index.d.ts",
|
|
92
|
+
"default": "./dist/cjs/tracing/index.js"
|
|
93
|
+
},
|
|
94
|
+
"default": "./dist/cjs/tracing/index.js"
|
|
95
|
+
},
|
|
96
|
+
"./tracing/auto": {
|
|
97
|
+
"types": "./dist/cjs/tracing/autoInstrumentation.d.ts",
|
|
98
|
+
"import": {
|
|
99
|
+
"types": "./dist/esm/tracing/autoInstrumentation.d.mts",
|
|
100
|
+
"default": "./dist/esm/tracing/autoInstrumentation.mjs"
|
|
101
|
+
},
|
|
102
|
+
"require": {
|
|
103
|
+
"types": "./dist/cjs/tracing/autoInstrumentation.d.ts",
|
|
104
|
+
"default": "./dist/cjs/tracing/autoInstrumentation.js"
|
|
105
|
+
},
|
|
106
|
+
"default": "./dist/cjs/tracing/autoInstrumentation.js"
|
|
107
|
+
}
|
|
22
108
|
},
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
109
|
+
"files": [
|
|
110
|
+
"dist",
|
|
111
|
+
"reference.md",
|
|
112
|
+
"README.md",
|
|
113
|
+
"LICENSE"
|
|
114
|
+
],
|
|
115
|
+
"scripts": {
|
|
116
|
+
"format": "biome format --write --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
|
|
117
|
+
"format:check": "biome format --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
|
|
118
|
+
"lint": "biome lint --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
|
|
119
|
+
"lint:fix": "biome lint --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
|
|
120
|
+
"check": "biome check --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
|
|
121
|
+
"check:fix": "biome check --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
|
|
122
|
+
"build": "pnpm build:cjs && pnpm build:esm",
|
|
123
|
+
"build:cjs": "tsc --project ./tsconfig.cjs.json",
|
|
124
|
+
"build:esm": "tsc --project ./tsconfig.esm.json && node scripts/rename-to-esm-files.js dist/esm",
|
|
125
|
+
"test": "vitest",
|
|
126
|
+
"test:unit": "vitest --project unit",
|
|
127
|
+
"test:wire": "vitest --project wire"
|
|
35
128
|
},
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
|
|
129
|
+
"dependencies": {
|
|
130
|
+
"@opentelemetry/api": ">=1.9.0",
|
|
131
|
+
"@opentelemetry/context-async-hooks": ">=0.208.0",
|
|
132
|
+
"@opentelemetry/exporter-trace-otlp-http": ">=0.208.0",
|
|
133
|
+
"@opentelemetry/exporter-trace-otlp-proto": ">=0.208.0",
|
|
134
|
+
"@opentelemetry/instrumentation": ">=0.208.0",
|
|
135
|
+
"@opentelemetry/resources": ">=1.38.0",
|
|
136
|
+
"@opentelemetry/sdk-node": ">=0.208.0",
|
|
137
|
+
"@opentelemetry/sdk-trace-base": ">=1.38.0",
|
|
138
|
+
"@opentelemetry/sdk-trace-node": "^2.2.0",
|
|
139
|
+
"@opentelemetry/semantic-conventions": ">=1.38.0",
|
|
140
|
+
"@arizeai/openinference-instrumentation-anthropic": ">=0.1.2",
|
|
141
|
+
"@arizeai/openinference-instrumentation-openai": ">=4.0.0",
|
|
142
|
+
"@arizeai/openinference-semantic-conventions": ">=2.1.2",
|
|
143
|
+
"@traceloop/instrumentation-bedrock": ">=0.22.0"
|
|
47
144
|
},
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"types": "./dist/cjs/mistral-wrapper/index.d.ts",
|
|
56
|
-
"default": "./dist/cjs/mistral-wrapper/index.js"
|
|
57
|
-
},
|
|
58
|
-
"default": "./dist/cjs/mistral-wrapper/index.js"
|
|
145
|
+
"peerDependencies": {
|
|
146
|
+
"@ai-sdk/openai": ">=1.0.0",
|
|
147
|
+
"@anthropic-ai/sdk": ">=0.36.3",
|
|
148
|
+
"@langchain/core": ">=0.3.0",
|
|
149
|
+
"@mistralai/mistralai": ">=1.0.0 <2.0.0",
|
|
150
|
+
"ai": ">=5.0.0",
|
|
151
|
+
"openai": ">=4.85.4"
|
|
59
152
|
},
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
153
|
+
"peerDependenciesMeta": {
|
|
154
|
+
"@ai-sdk/openai": {
|
|
155
|
+
"optional": true
|
|
156
|
+
},
|
|
157
|
+
"@anthropic-ai/sdk": {
|
|
158
|
+
"optional": true
|
|
159
|
+
},
|
|
160
|
+
"@langchain/core": {
|
|
161
|
+
"optional": true
|
|
162
|
+
},
|
|
163
|
+
"@mistralai/mistralai": {
|
|
164
|
+
"optional": true
|
|
165
|
+
},
|
|
166
|
+
"ai": {
|
|
167
|
+
"optional": true
|
|
168
|
+
},
|
|
169
|
+
"openai": {
|
|
170
|
+
"optional": true
|
|
171
|
+
}
|
|
71
172
|
},
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
173
|
+
"devDependencies": {
|
|
174
|
+
"webpack": "^5.97.1",
|
|
175
|
+
"ts-loader": "^9.5.1",
|
|
176
|
+
"vitest": "^3.2.4",
|
|
177
|
+
"msw": ">=2.0.0",
|
|
178
|
+
"@types/node": "^18.19.70",
|
|
179
|
+
"typescript": "~5.7.2",
|
|
180
|
+
"@biomejs/biome": "2.3.1",
|
|
181
|
+
"@ai-sdk/openai": ">=1.0.0",
|
|
182
|
+
"@anthropic-ai/sdk": ">=0.36.3",
|
|
183
|
+
"@langchain/core": ">=0.3.0",
|
|
184
|
+
"@mistralai/mistralai": ">=1.0.0 <2.0.0",
|
|
185
|
+
"ai": ">=5.0.0",
|
|
186
|
+
"openai": ">=4.85.4",
|
|
187
|
+
"nock": ">=14.0.0",
|
|
188
|
+
"zod": ">=3.0.0"
|
|
83
189
|
},
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
},
|
|
90
|
-
"require": {
|
|
91
|
-
"types": "./dist/cjs/tracing/index.d.ts",
|
|
92
|
-
"default": "./dist/cjs/tracing/index.js"
|
|
93
|
-
},
|
|
94
|
-
"default": "./dist/cjs/tracing/index.js"
|
|
190
|
+
"browser": {
|
|
191
|
+
"fs": false,
|
|
192
|
+
"os": false,
|
|
193
|
+
"path": false,
|
|
194
|
+
"stream": false
|
|
95
195
|
},
|
|
96
|
-
"
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
"types": "./dist/esm/tracing/autoInstrumentation.d.mts",
|
|
100
|
-
"default": "./dist/esm/tracing/autoInstrumentation.mjs"
|
|
101
|
-
},
|
|
102
|
-
"require": {
|
|
103
|
-
"types": "./dist/cjs/tracing/autoInstrumentation.d.ts",
|
|
104
|
-
"default": "./dist/cjs/tracing/autoInstrumentation.js"
|
|
105
|
-
},
|
|
106
|
-
"default": "./dist/cjs/tracing/autoInstrumentation.js"
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
"files": [
|
|
110
|
-
"dist",
|
|
111
|
-
"reference.md",
|
|
112
|
-
"README.md",
|
|
113
|
-
"LICENSE"
|
|
114
|
-
],
|
|
115
|
-
"scripts": {
|
|
116
|
-
"format": "biome format --write --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
|
|
117
|
-
"format:check": "biome format --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
|
|
118
|
-
"lint": "biome lint --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
|
|
119
|
-
"lint:fix": "biome lint --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
|
|
120
|
-
"check": "biome check --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
|
|
121
|
-
"check:fix": "biome check --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
|
|
122
|
-
"build": "pnpm build:cjs && pnpm build:esm",
|
|
123
|
-
"build:cjs": "tsc --project ./tsconfig.cjs.json",
|
|
124
|
-
"build:esm": "tsc --project ./tsconfig.esm.json && node scripts/rename-to-esm-files.js dist/esm",
|
|
125
|
-
"test": "vitest",
|
|
126
|
-
"test:unit": "vitest --project unit",
|
|
127
|
-
"test:wire": "vitest --project wire"
|
|
128
|
-
},
|
|
129
|
-
"dependencies": {
|
|
130
|
-
"@opentelemetry/api": ">=1.9.0",
|
|
131
|
-
"@opentelemetry/context-async-hooks": ">=0.208.0",
|
|
132
|
-
"@opentelemetry/exporter-trace-otlp-http": ">=0.208.0",
|
|
133
|
-
"@opentelemetry/exporter-trace-otlp-proto": ">=0.208.0",
|
|
134
|
-
"@opentelemetry/instrumentation": ">=0.208.0",
|
|
135
|
-
"@opentelemetry/resources": ">=1.38.0",
|
|
136
|
-
"@opentelemetry/sdk-node": ">=0.208.0",
|
|
137
|
-
"@opentelemetry/sdk-trace-base": ">=1.38.0",
|
|
138
|
-
"@opentelemetry/sdk-trace-node": "^2.2.0",
|
|
139
|
-
"@opentelemetry/semantic-conventions": ">=1.38.0",
|
|
140
|
-
"@arizeai/openinference-instrumentation-anthropic": ">=0.1.2",
|
|
141
|
-
"@arizeai/openinference-instrumentation-openai": ">=4.0.0",
|
|
142
|
-
"@arizeai/openinference-semantic-conventions": ">=2.1.2",
|
|
143
|
-
"@traceloop/instrumentation-bedrock": ">=0.22.0"
|
|
144
|
-
},
|
|
145
|
-
"peerDependencies": {
|
|
146
|
-
"@ai-sdk/openai": ">=1.0.0",
|
|
147
|
-
"@anthropic-ai/sdk": ">=0.36.3",
|
|
148
|
-
"@langchain/core": ">=0.3.0",
|
|
149
|
-
"@mistralai/mistralai": ">=1.0.0",
|
|
150
|
-
"ai": ">=5.0.0",
|
|
151
|
-
"openai": ">=4.85.4"
|
|
152
|
-
},
|
|
153
|
-
"peerDependenciesMeta": {
|
|
154
|
-
"@ai-sdk/openai": {
|
|
155
|
-
"optional": true
|
|
156
|
-
},
|
|
157
|
-
"@anthropic-ai/sdk": {
|
|
158
|
-
"optional": true
|
|
159
|
-
},
|
|
160
|
-
"@langchain/core": {
|
|
161
|
-
"optional": true
|
|
196
|
+
"packageManager": "pnpm@10.14.0",
|
|
197
|
+
"engines": {
|
|
198
|
+
"node": ">=18.0.0"
|
|
162
199
|
},
|
|
163
|
-
"
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
"zod": ">=3.0.0"
|
|
189
|
-
},
|
|
190
|
-
"browser": {
|
|
191
|
-
"fs": false,
|
|
192
|
-
"os": false,
|
|
193
|
-
"path": false,
|
|
194
|
-
"stream": false
|
|
195
|
-
},
|
|
196
|
-
"packageManager": "pnpm@10.14.0",
|
|
197
|
-
"engines": {
|
|
198
|
-
"node": ">=18.0.0"
|
|
199
|
-
},
|
|
200
|
-
"sideEffects": false,
|
|
201
|
-
"typesVersions": {
|
|
202
|
-
"*": {
|
|
203
|
-
"openai": [
|
|
204
|
-
"./dist/cjs/openai-wrapper/index.d.ts"
|
|
205
|
-
],
|
|
206
|
-
"anthropic": [
|
|
207
|
-
"./dist/cjs/anthropic-wrapper/index.d.ts"
|
|
208
|
-
],
|
|
209
|
-
"mistral": [
|
|
210
|
-
"./dist/cjs/mistral-wrapper/index.d.ts"
|
|
211
|
-
],
|
|
212
|
-
"langchain": [
|
|
213
|
-
"./dist/cjs/langchain-wrapper/index.d.ts"
|
|
214
|
-
],
|
|
215
|
-
"vercel": [
|
|
216
|
-
"./dist/cjs/vercel-wrapper/index.d.ts"
|
|
217
|
-
],
|
|
218
|
-
"tracing": [
|
|
219
|
-
"./dist/cjs/tracing/index.d.ts"
|
|
220
|
-
],
|
|
221
|
-
"tracing/auto": [
|
|
222
|
-
"./dist/cjs/tracing/autoInstrumentation.d.ts"
|
|
223
|
-
]
|
|
200
|
+
"sideEffects": false,
|
|
201
|
+
"typesVersions": {
|
|
202
|
+
"*": {
|
|
203
|
+
"openai": [
|
|
204
|
+
"./dist/cjs/openai-wrapper/index.d.ts"
|
|
205
|
+
],
|
|
206
|
+
"anthropic": [
|
|
207
|
+
"./dist/cjs/anthropic-wrapper/index.d.ts"
|
|
208
|
+
],
|
|
209
|
+
"mistral": [
|
|
210
|
+
"./dist/cjs/mistral-wrapper/index.d.ts"
|
|
211
|
+
],
|
|
212
|
+
"langchain": [
|
|
213
|
+
"./dist/cjs/langchain-wrapper/index.d.ts"
|
|
214
|
+
],
|
|
215
|
+
"vercel": [
|
|
216
|
+
"./dist/cjs/vercel-wrapper/index.d.ts"
|
|
217
|
+
],
|
|
218
|
+
"tracing": [
|
|
219
|
+
"./dist/cjs/tracing/index.d.ts"
|
|
220
|
+
],
|
|
221
|
+
"tracing/auto": [
|
|
222
|
+
"./dist/cjs/tracing/autoInstrumentation.d.ts"
|
|
223
|
+
]
|
|
224
|
+
}
|
|
224
225
|
}
|
|
225
|
-
}
|
|
226
226
|
}
|