@delopay/sdk 0.26.0 → 0.28.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.
@@ -113,7 +113,7 @@ interface CustomerUser {
113
113
  email?: string | null;
114
114
  name?: string | null;
115
115
  role_id?: string | null;
116
- /** Optional: older backend deployments omit this field. */
116
+ /** Optional: older API versions may omit this field. */
117
117
  is_verified?: boolean | null;
118
118
  is_active: boolean;
119
119
  created_at: string;
@@ -326,13 +326,13 @@ interface GsmRuleResponse {
326
326
  type ConnectorVisibility = 'public' | 'beta' | 'disabled';
327
327
  /** Body for `POST /admin/connector_restrictions` (upsert). */
328
328
  interface UpsertConnectorRestrictionRequest {
329
- /** Connector name (snake_case, matches the backend `Connector` enum). */
329
+ /** Connector name (snake_case, e.g. `'stripe'`, `'adyen'`). */
330
330
  connector_name: string;
331
331
  /** Visibility mode. Defaults server-side to `'beta'` when omitted. */
332
332
  visibility?: ConnectorVisibility;
333
333
  /** Merchant IDs allowed to attach this connector. Only consulted
334
334
  * when `visibility === 'beta'`; ignored for `'public'` /
335
- * `'disabled'` and collapsed to an empty array on the backend. */
335
+ * `'disabled'` (collapsed to an empty array). */
336
336
  allowed_merchant_ids: string[];
337
337
  /** Optional audit note (e.g. `"beta access — Marcel"`). */
338
338
  reason?: string | null;
@@ -113,7 +113,7 @@ interface CustomerUser {
113
113
  email?: string | null;
114
114
  name?: string | null;
115
115
  role_id?: string | null;
116
- /** Optional: older backend deployments omit this field. */
116
+ /** Optional: older API versions may omit this field. */
117
117
  is_verified?: boolean | null;
118
118
  is_active: boolean;
119
119
  created_at: string;
@@ -326,13 +326,13 @@ interface GsmRuleResponse {
326
326
  type ConnectorVisibility = 'public' | 'beta' | 'disabled';
327
327
  /** Body for `POST /admin/connector_restrictions` (upsert). */
328
328
  interface UpsertConnectorRestrictionRequest {
329
- /** Connector name (snake_case, matches the backend `Connector` enum). */
329
+ /** Connector name (snake_case, e.g. `'stripe'`, `'adyen'`). */
330
330
  connector_name: string;
331
331
  /** Visibility mode. Defaults server-side to `'beta'` when omitted. */
332
332
  visibility?: ConnectorVisibility;
333
333
  /** Merchant IDs allowed to attach this connector. Only consulted
334
334
  * when `visibility === 'beta'`; ignored for `'public'` /
335
- * `'disabled'` and collapsed to an empty array on the backend. */
335
+ * `'disabled'` (collapsed to an empty array). */
336
336
  allowed_merchant_ids: string[];
337
337
  /** Optional audit note (e.g. `"beta access — Marcel"`). */
338
338
  reason?: string | null;
package/dist/internal.js CHANGED
@@ -41,7 +41,7 @@ import {
41
41
  shadowFor,
42
42
  surfacePadValue,
43
43
  verticalGapValue
44
- } from "./chunk-XK6RSV5Y.js";
44
+ } from "./chunk-U6GMDSVQ.js";
45
45
 
46
46
  // src/internal/resources/admin.ts
47
47
  var Admin = class {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delopay/sdk",
3
- "version": "0.26.0",
3
+ "version": "0.28.0",
4
4
  "description": "Official Delopay TypeScript SDK",
5
5
  "type": "module",
6
6
  "sideEffects": false,