@delopay/sdk 0.66.0 → 0.66.2
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.d.cts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/internal.d.cts +6 -0
- package/dist/internal.d.ts +6 -0
- package/package.json +17 -16
package/dist/index.d.cts
CHANGED
|
@@ -955,6 +955,16 @@ interface ConnectorWebhookEntry {
|
|
|
955
955
|
connector_webhook_id: string;
|
|
956
956
|
/** Absent for registrations stored before environments were tracked (all live). */
|
|
957
957
|
environment?: WebhookRegistrationEnvironment;
|
|
958
|
+
/** Callback URL the endpoint is registered to. Present when the list is
|
|
959
|
+
* sourced live from the connector (e.g. Stripe); absent for entries
|
|
960
|
+
* reconstructed from stored registration metadata only. */
|
|
961
|
+
webhook_url?: string;
|
|
962
|
+
/** Endpoint status as the connector reports it (e.g. `enabled`/`disabled`). */
|
|
963
|
+
status?: string;
|
|
964
|
+
/** Events the endpoint is subscribed to at the connector. */
|
|
965
|
+
enabled_events?: string[];
|
|
966
|
+
/** Unix timestamp (seconds) the endpoint was created at the connector. */
|
|
967
|
+
created_at?: number;
|
|
958
968
|
}
|
|
959
969
|
interface ConnectorWebhookListResponse {
|
|
960
970
|
connector: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -955,6 +955,16 @@ interface ConnectorWebhookEntry {
|
|
|
955
955
|
connector_webhook_id: string;
|
|
956
956
|
/** Absent for registrations stored before environments were tracked (all live). */
|
|
957
957
|
environment?: WebhookRegistrationEnvironment;
|
|
958
|
+
/** Callback URL the endpoint is registered to. Present when the list is
|
|
959
|
+
* sourced live from the connector (e.g. Stripe); absent for entries
|
|
960
|
+
* reconstructed from stored registration metadata only. */
|
|
961
|
+
webhook_url?: string;
|
|
962
|
+
/** Endpoint status as the connector reports it (e.g. `enabled`/`disabled`). */
|
|
963
|
+
status?: string;
|
|
964
|
+
/** Events the endpoint is subscribed to at the connector. */
|
|
965
|
+
enabled_events?: string[];
|
|
966
|
+
/** Unix timestamp (seconds) the endpoint was created at the connector. */
|
|
967
|
+
created_at?: number;
|
|
958
968
|
}
|
|
959
969
|
interface ConnectorWebhookListResponse {
|
|
960
970
|
connector: string;
|
package/dist/internal.d.cts
CHANGED
|
@@ -173,6 +173,12 @@ interface AdminTransactionListParams {
|
|
|
173
173
|
shop_id?: string | null;
|
|
174
174
|
payment_id?: string | null;
|
|
175
175
|
status?: string | null;
|
|
176
|
+
/** Exact match on the active attempt's connector (e.g. `stripe`). */
|
|
177
|
+
connector?: string | null;
|
|
178
|
+
/** Exact match on the active attempt's payment method (e.g. `card`). */
|
|
179
|
+
payment_method?: string | null;
|
|
180
|
+
/** Exact match on the active attempt's method sub-type (e.g. `apple_pay`). */
|
|
181
|
+
payment_method_type?: string | null;
|
|
176
182
|
/** `true` = test only, `false` = live only, omitted = both. */
|
|
177
183
|
test_mode?: boolean | null;
|
|
178
184
|
/** Inclusive lower bound on the payment amount, in minor units. */
|
package/dist/internal.d.ts
CHANGED
|
@@ -173,6 +173,12 @@ interface AdminTransactionListParams {
|
|
|
173
173
|
shop_id?: string | null;
|
|
174
174
|
payment_id?: string | null;
|
|
175
175
|
status?: string | null;
|
|
176
|
+
/** Exact match on the active attempt's connector (e.g. `stripe`). */
|
|
177
|
+
connector?: string | null;
|
|
178
|
+
/** Exact match on the active attempt's payment method (e.g. `card`). */
|
|
179
|
+
payment_method?: string | null;
|
|
180
|
+
/** Exact match on the active attempt's method sub-type (e.g. `apple_pay`). */
|
|
181
|
+
payment_method_type?: string | null;
|
|
176
182
|
/** `true` = test only, `false` = live only, omitted = both. */
|
|
177
183
|
test_mode?: boolean | null;
|
|
178
184
|
/** Inclusive lower bound on the payment amount, in minor units. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@delopay/sdk",
|
|
3
|
-
"version": "0.66.
|
|
3
|
+
"version": "0.66.2",
|
|
4
4
|
"description": "Official Delopay TypeScript SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -32,6 +32,20 @@
|
|
|
32
32
|
"files": [
|
|
33
33
|
"dist"
|
|
34
34
|
],
|
|
35
|
+
"scripts": {
|
|
36
|
+
"build": "tsup",
|
|
37
|
+
"prepublishOnly": "tsup",
|
|
38
|
+
"test": "vitest run",
|
|
39
|
+
"test:watch": "vitest",
|
|
40
|
+
"typecheck": "tsc --noEmit",
|
|
41
|
+
"lint": "oxlint && eslint .",
|
|
42
|
+
"lint:fix": "oxlint --fix && eslint . --fix",
|
|
43
|
+
"format": "prettier --write .",
|
|
44
|
+
"format:check": "prettier --check .",
|
|
45
|
+
"check": "pnpm typecheck && pnpm lint && pnpm format:check && pnpm test && pnpm check:parity",
|
|
46
|
+
"check:parity": "node scripts/parity-check.mjs",
|
|
47
|
+
"validate:types": "npx tsx scripts/validate-types.ts"
|
|
48
|
+
},
|
|
35
49
|
"devDependencies": {
|
|
36
50
|
"@eslint/js": "^10.0.1",
|
|
37
51
|
"@types/node": "^25.6.0",
|
|
@@ -46,18 +60,5 @@
|
|
|
46
60
|
"engines": {
|
|
47
61
|
"node": ">=18.0.0"
|
|
48
62
|
},
|
|
49
|
-
"license": "MIT"
|
|
50
|
-
|
|
51
|
-
"build": "tsup",
|
|
52
|
-
"test": "vitest run",
|
|
53
|
-
"test:watch": "vitest",
|
|
54
|
-
"typecheck": "tsc --noEmit",
|
|
55
|
-
"lint": "oxlint && eslint .",
|
|
56
|
-
"lint:fix": "oxlint --fix && eslint . --fix",
|
|
57
|
-
"format": "prettier --write .",
|
|
58
|
-
"format:check": "prettier --check .",
|
|
59
|
-
"check": "pnpm typecheck && pnpm lint && pnpm format:check && pnpm test && pnpm check:parity",
|
|
60
|
-
"check:parity": "node scripts/parity-check.mjs",
|
|
61
|
-
"validate:types": "npx tsx scripts/validate-types.ts"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
63
|
+
"license": "MIT"
|
|
64
|
+
}
|