@zernio/node 0.2.1829 → 0.2.1830
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.mts +0 -7
- package/dist/index.d.ts +0 -7
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +5 -0
- package/src/generated/types.gen.ts +0 -7
package/dist/index.d.mts
CHANGED
|
@@ -36910,13 +36910,6 @@ type CreatePayeeOnboardingLinkError = (ErrorResponse | {
|
|
|
36910
36910
|
*/
|
|
36911
36911
|
effective_account_limit?: number;
|
|
36912
36912
|
};
|
|
36913
|
-
} | {
|
|
36914
|
-
error?: string;
|
|
36915
|
-
code?: 'insufficient_permissions' | 'unclassified_resource';
|
|
36916
|
-
/**
|
|
36917
|
-
* The resource group the key needs for this operation. Absent on admin-plane and unclassified-path denials.
|
|
36918
|
-
*/
|
|
36919
|
-
required_group?: 'publishing' | 'engagement' | 'messages' | 'contacts' | 'analytics' | 'ads' | 'telephony' | 'accounts' | 'billing' | 'webhooks' | 'commerce' | 'creator_campaigns' | 'money' | 'calendar' | 'files';
|
|
36920
36913
|
} | {
|
|
36921
36914
|
error?: string;
|
|
36922
36915
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -36910,13 +36910,6 @@ type CreatePayeeOnboardingLinkError = (ErrorResponse | {
|
|
|
36910
36910
|
*/
|
|
36911
36911
|
effective_account_limit?: number;
|
|
36912
36912
|
};
|
|
36913
|
-
} | {
|
|
36914
|
-
error?: string;
|
|
36915
|
-
code?: 'insufficient_permissions' | 'unclassified_resource';
|
|
36916
|
-
/**
|
|
36917
|
-
* The resource group the key needs for this operation. Absent on admin-plane and unclassified-path denials.
|
|
36918
|
-
*/
|
|
36919
|
-
required_group?: 'publishing' | 'engagement' | 'messages' | 'contacts' | 'analytics' | 'ads' | 'telephony' | 'accounts' | 'billing' | 'webhooks' | 'commerce' | 'creator_campaigns' | 'money' | 'calendar' | 'files';
|
|
36920
36913
|
} | {
|
|
36921
36914
|
error?: string;
|
|
36922
36915
|
});
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.1830",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.1830",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -1231,6 +1231,11 @@ export const listPayees = <ThrowOnError extends boolean = false>(options?: Optio
|
|
|
1231
1231
|
/**
|
|
1232
1232
|
* Create a payee onboarding link
|
|
1233
1233
|
* Returns a Stripe-hosted link where the payee completes identity and bank details so they can receive payouts.
|
|
1234
|
+
*
|
|
1235
|
+
* Only for a payee that has not submitted their details yet: after that, only the payee changes them, from their own payouts page.
|
|
1236
|
+
*
|
|
1237
|
+
* Needs an owner, admin or billing admin, signed in or through a full-access key they created.
|
|
1238
|
+
*
|
|
1234
1239
|
*/
|
|
1235
1240
|
export const createPayeeOnboardingLink = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<CreatePayeeOnboardingLinkData, ThrowOnError>) => {
|
|
1236
1241
|
return (options?.client ?? client).post<CreatePayeeOnboardingLinkResponse, CreatePayeeOnboardingLinkError, ThrowOnError>({
|
|
@@ -35819,13 +35819,6 @@ export type CreatePayeeOnboardingLinkError = (ErrorResponse | {
|
|
|
35819
35819
|
*/
|
|
35820
35820
|
effective_account_limit?: number;
|
|
35821
35821
|
};
|
|
35822
|
-
} | {
|
|
35823
|
-
error?: string;
|
|
35824
|
-
code?: 'insufficient_permissions' | 'unclassified_resource';
|
|
35825
|
-
/**
|
|
35826
|
-
* The resource group the key needs for this operation. Absent on admin-plane and unclassified-path denials.
|
|
35827
|
-
*/
|
|
35828
|
-
required_group?: 'publishing' | 'engagement' | 'messages' | 'contacts' | 'analytics' | 'ads' | 'telephony' | 'accounts' | 'billing' | 'webhooks' | 'commerce' | 'creator_campaigns' | 'money' | 'calendar' | 'files';
|
|
35829
35822
|
} | {
|
|
35830
35823
|
error?: string;
|
|
35831
35824
|
});
|