@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/{chunk-U6GMDSVQ.js → chunk-4Q3E7XLP.js} +5 -3
- package/dist/chunk-4Q3E7XLP.js.map +1 -0
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +1 -1
- package/dist/internal.cjs +4 -2
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-U6GMDSVQ.js.map +0 -1
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(
|
|
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(
|
|
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
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) {
|