@delopay/sdk 0.28.0 → 0.29.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/dist/index.d.cts CHANGED
@@ -1333,6 +1333,7 @@ interface SwitchProfileRequest {
1333
1333
  interface InviteUsersRequest {
1334
1334
  email: string;
1335
1335
  role_id: string;
1336
+ profile_ids?: string[];
1336
1337
  }
1337
1338
  interface InviteUsersResponse {
1338
1339
  email: string;
@@ -3268,7 +3269,9 @@ declare class Users {
3268
3269
  /** Select auth method. `POST /user/auth/select` */
3269
3270
  selectAuth(params: Record<string, unknown>): Promise<Record<string, unknown>>;
3270
3271
  /** List users in lineage. `GET /user/employees/list` */
3271
- listUsersInLineage(): Promise<Record<string, unknown>[]>;
3272
+ listUsersInLineage(params?: {
3273
+ entity_type?: string;
3274
+ }): Promise<Record<string, unknown>[]>;
3272
3275
  /** Resend invite. `POST /user/employees/resend-invite` */
3273
3276
  resendInvite(params: Record<string, unknown>): Promise<Record<string, unknown>>;
3274
3277
  /**
package/dist/index.d.ts CHANGED
@@ -1333,6 +1333,7 @@ interface SwitchProfileRequest {
1333
1333
  interface InviteUsersRequest {
1334
1334
  email: string;
1335
1335
  role_id: string;
1336
+ profile_ids?: string[];
1336
1337
  }
1337
1338
  interface InviteUsersResponse {
1338
1339
  email: string;
@@ -3268,7 +3269,9 @@ declare class Users {
3268
3269
  /** Select auth method. `POST /user/auth/select` */
3269
3270
  selectAuth(params: Record<string, unknown>): Promise<Record<string, unknown>>;
3270
3271
  /** List users in lineage. `GET /user/employees/list` */
3271
- listUsersInLineage(): Promise<Record<string, unknown>[]>;
3272
+ listUsersInLineage(params?: {
3273
+ entity_type?: string;
3274
+ }): Promise<Record<string, unknown>[]>;
3272
3275
  /** Resend invite. `POST /user/employees/resend-invite` */
3273
3276
  resendInvite(params: Record<string, unknown>): Promise<Record<string, unknown>>;
3274
3277
  /**
package/dist/index.js CHANGED
@@ -41,7 +41,7 @@ import {
41
41
  shadowFor,
42
42
  surfacePadValue,
43
43
  verticalGapValue
44
- } from "./chunk-U6GMDSVQ.js";
44
+ } from "./chunk-4Q3E7XLP.js";
45
45
  export {
46
46
  Analytics,
47
47
  AnalyticsDashboard,
package/dist/internal.cjs CHANGED
@@ -2223,8 +2223,10 @@ var Users = class {
2223
2223
  return this.request("POST", "/user/auth/select", { body: params });
2224
2224
  }
2225
2225
  /** List users in lineage. `GET /user/employees/list` */
2226
- async listUsersInLineage() {
2227
- return this.request("GET", "/user/employees/list");
2226
+ async listUsersInLineage(params) {
2227
+ return this.request("GET", "/user/employees/list", {
2228
+ query: params
2229
+ });
2228
2230
  }
2229
2231
  /** Resend invite. `POST /user/employees/resend-invite` */
2230
2232
  async resendInvite(params) {