@spaceinvoices/js-sdk 8.4.0 → 8.5.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/generated/model/index.d.cts +1 -0
- package/dist/generated/model/index.d.ts +1 -0
- package/dist/generated/model/stripeAppConnection.d.cts +7 -0
- package/dist/generated/model/stripeAppConnection.d.ts +7 -0
- package/dist/generated/model/stripeAppConnectionEntityEnvironment.d.cts +15 -0
- package/dist/generated/model/stripeAppConnectionEntityEnvironment.d.ts +15 -0
- package/dist/generated/stripe-app/stripe-app.d.cts +5 -1
- package/dist/generated/stripe-app/stripe-app.d.ts +5 -1
- package/dist/generated-zod/stripe-app/stripe-app.d.cts +6 -0
- package/dist/generated-zod/stripe-app/stripe-app.d.ts +6 -0
- package/dist/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/package.json +1 -1
|
@@ -1124,6 +1124,7 @@ export * from './stripeAppAuthorizeResponse.cjs';
|
|
|
1124
1124
|
export * from './stripeAppConnectBody.cjs';
|
|
1125
1125
|
export * from './stripeAppConnection.cjs';
|
|
1126
1126
|
export * from './stripeAppConnectionAutoInvoiceConfig.cjs';
|
|
1127
|
+
export * from './stripeAppConnectionEntityEnvironment.cjs';
|
|
1127
1128
|
export * from './stripeAppCreateInvoiceBody.cjs';
|
|
1128
1129
|
export * from './stripeAppDisconnect200.cjs';
|
|
1129
1130
|
export * from './stripeAppEntityDisconnect200.cjs';
|
|
@@ -1124,6 +1124,7 @@ export * from './stripeAppAuthorizeResponse.js';
|
|
|
1124
1124
|
export * from './stripeAppConnectBody.js';
|
|
1125
1125
|
export * from './stripeAppConnection.js';
|
|
1126
1126
|
export * from './stripeAppConnectionAutoInvoiceConfig.js';
|
|
1127
|
+
export * from './stripeAppConnectionEntityEnvironment.js';
|
|
1127
1128
|
export * from './stripeAppCreateInvoiceBody.js';
|
|
1128
1129
|
export * from './stripeAppDisconnect200.js';
|
|
1129
1130
|
export * from './stripeAppEntityDisconnect200.js';
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* OpenAPI spec version: 1.0.0
|
|
7
7
|
*/
|
|
8
8
|
import type { StripeAppConnectionAutoInvoiceConfig } from './stripeAppConnectionAutoInvoiceConfig.cjs';
|
|
9
|
+
import type { StripeAppConnectionEntityEnvironment } from './stripeAppConnectionEntityEnvironment.cjs';
|
|
9
10
|
export interface StripeAppConnection {
|
|
10
11
|
/** Connection ID */
|
|
11
12
|
id: string;
|
|
@@ -13,6 +14,12 @@ export interface StripeAppConnection {
|
|
|
13
14
|
stripe_account_id: string;
|
|
14
15
|
/** Connected Space Invoices entity ID */
|
|
15
16
|
entity_id: string;
|
|
17
|
+
/** Connected Space Invoices entity name */
|
|
18
|
+
entity_name?: string;
|
|
19
|
+
/** Connected Space Invoices entity environment */
|
|
20
|
+
entity_environment?: StripeAppConnectionEntityEnvironment;
|
|
21
|
+
/** Whether the connected entity is configured to charge tax */
|
|
22
|
+
entity_is_tax_subject?: boolean;
|
|
16
23
|
/** White-label context for this connection */
|
|
17
24
|
white_label_id: string;
|
|
18
25
|
/** Auto-invoice configuration */
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* OpenAPI spec version: 1.0.0
|
|
7
7
|
*/
|
|
8
8
|
import type { StripeAppConnectionAutoInvoiceConfig } from './stripeAppConnectionAutoInvoiceConfig.js';
|
|
9
|
+
import type { StripeAppConnectionEntityEnvironment } from './stripeAppConnectionEntityEnvironment.js';
|
|
9
10
|
export interface StripeAppConnection {
|
|
10
11
|
/** Connection ID */
|
|
11
12
|
id: string;
|
|
@@ -13,6 +14,12 @@ export interface StripeAppConnection {
|
|
|
13
14
|
stripe_account_id: string;
|
|
14
15
|
/** Connected Space Invoices entity ID */
|
|
15
16
|
entity_id: string;
|
|
17
|
+
/** Connected Space Invoices entity name */
|
|
18
|
+
entity_name?: string;
|
|
19
|
+
/** Connected Space Invoices entity environment */
|
|
20
|
+
entity_environment?: StripeAppConnectionEntityEnvironment;
|
|
21
|
+
/** Whether the connected entity is configured to charge tax */
|
|
22
|
+
entity_is_tax_subject?: boolean;
|
|
16
23
|
/** White-label context for this connection */
|
|
17
24
|
white_label_id: string;
|
|
18
25
|
/** Auto-invoice configuration */
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.5.3 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Invoices API
|
|
5
|
+
* REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking.
|
|
6
|
+
* OpenAPI spec version: 1.0.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Connected Space Invoices entity environment
|
|
10
|
+
*/
|
|
11
|
+
export type StripeAppConnectionEntityEnvironment = typeof StripeAppConnectionEntityEnvironment[keyof typeof StripeAppConnectionEntityEnvironment];
|
|
12
|
+
export declare const StripeAppConnectionEntityEnvironment: {
|
|
13
|
+
readonly live: "live";
|
|
14
|
+
readonly sandbox: "sandbox";
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.5.3 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Invoices API
|
|
5
|
+
* REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking.
|
|
6
|
+
* OpenAPI spec version: 1.0.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Connected Space Invoices entity environment
|
|
10
|
+
*/
|
|
11
|
+
export type StripeAppConnectionEntityEnvironment = typeof StripeAppConnectionEntityEnvironment[keyof typeof StripeAppConnectionEntityEnvironment];
|
|
12
|
+
export declare const StripeAppConnectionEntityEnvironment: {
|
|
13
|
+
readonly live: "live";
|
|
14
|
+
readonly sandbox: "sandbox";
|
|
15
|
+
};
|
|
@@ -71,6 +71,10 @@ export type stripeAppConnectResponse404 = {
|
|
|
71
71
|
data: Error;
|
|
72
72
|
status: 404;
|
|
73
73
|
};
|
|
74
|
+
export type stripeAppConnectResponse409 = {
|
|
75
|
+
data: Error;
|
|
76
|
+
status: 409;
|
|
77
|
+
};
|
|
74
78
|
export type stripeAppConnectResponse422 = {
|
|
75
79
|
data: ValidationError;
|
|
76
80
|
status: 422;
|
|
@@ -82,7 +86,7 @@ export type stripeAppConnectResponse500 = {
|
|
|
82
86
|
export type stripeAppConnectResponseSuccess = (stripeAppConnectResponse201) & {
|
|
83
87
|
headers: Headers;
|
|
84
88
|
};
|
|
85
|
-
export type stripeAppConnectResponseError = (stripeAppConnectResponse400 | stripeAppConnectResponse401 | stripeAppConnectResponse403 | stripeAppConnectResponse404 | stripeAppConnectResponse422 | stripeAppConnectResponse500) & {
|
|
89
|
+
export type stripeAppConnectResponseError = (stripeAppConnectResponse400 | stripeAppConnectResponse401 | stripeAppConnectResponse403 | stripeAppConnectResponse404 | stripeAppConnectResponse409 | stripeAppConnectResponse422 | stripeAppConnectResponse500) & {
|
|
86
90
|
headers: Headers;
|
|
87
91
|
};
|
|
88
92
|
export type stripeAppConnectResponse = (stripeAppConnectResponseSuccess | stripeAppConnectResponseError);
|
|
@@ -71,6 +71,10 @@ export type stripeAppConnectResponse404 = {
|
|
|
71
71
|
data: Error;
|
|
72
72
|
status: 404;
|
|
73
73
|
};
|
|
74
|
+
export type stripeAppConnectResponse409 = {
|
|
75
|
+
data: Error;
|
|
76
|
+
status: 409;
|
|
77
|
+
};
|
|
74
78
|
export type stripeAppConnectResponse422 = {
|
|
75
79
|
data: ValidationError;
|
|
76
80
|
status: 422;
|
|
@@ -82,7 +86,7 @@ export type stripeAppConnectResponse500 = {
|
|
|
82
86
|
export type stripeAppConnectResponseSuccess = (stripeAppConnectResponse201) & {
|
|
83
87
|
headers: Headers;
|
|
84
88
|
};
|
|
85
|
-
export type stripeAppConnectResponseError = (stripeAppConnectResponse400 | stripeAppConnectResponse401 | stripeAppConnectResponse403 | stripeAppConnectResponse404 | stripeAppConnectResponse422 | stripeAppConnectResponse500) & {
|
|
89
|
+
export type stripeAppConnectResponseError = (stripeAppConnectResponse400 | stripeAppConnectResponse401 | stripeAppConnectResponse403 | stripeAppConnectResponse404 | stripeAppConnectResponse409 | stripeAppConnectResponse422 | stripeAppConnectResponse500) & {
|
|
86
90
|
headers: Headers;
|
|
87
91
|
};
|
|
88
92
|
export type stripeAppConnectResponse = (stripeAppConnectResponseSuccess | stripeAppConnectResponseError);
|
|
@@ -33,6 +33,12 @@ export declare const StripeAppEntityGetConnectionResponse: zod.ZodObject<{
|
|
|
33
33
|
id: zod.ZodString;
|
|
34
34
|
stripe_account_id: zod.ZodString;
|
|
35
35
|
entity_id: zod.ZodString;
|
|
36
|
+
entity_name: zod.ZodOptional<zod.ZodString>;
|
|
37
|
+
entity_environment: zod.ZodOptional<zod.ZodEnum<{
|
|
38
|
+
live: "live";
|
|
39
|
+
sandbox: "sandbox";
|
|
40
|
+
}>>;
|
|
41
|
+
entity_is_tax_subject: zod.ZodOptional<zod.ZodBoolean>;
|
|
36
42
|
white_label_id: zod.ZodString;
|
|
37
43
|
auto_invoice_config: zod.ZodObject<{
|
|
38
44
|
enabled: zod.ZodBoolean;
|
|
@@ -33,6 +33,12 @@ export declare const StripeAppEntityGetConnectionResponse: zod.ZodObject<{
|
|
|
33
33
|
id: zod.ZodString;
|
|
34
34
|
stripe_account_id: zod.ZodString;
|
|
35
35
|
entity_id: zod.ZodString;
|
|
36
|
+
entity_name: zod.ZodOptional<zod.ZodString>;
|
|
37
|
+
entity_environment: zod.ZodOptional<zod.ZodEnum<{
|
|
38
|
+
live: "live";
|
|
39
|
+
sandbox: "sandbox";
|
|
40
|
+
}>>;
|
|
41
|
+
entity_is_tax_subject: zod.ZodOptional<zod.ZodBoolean>;
|
|
36
42
|
white_label_id: zod.ZodString;
|
|
37
43
|
auto_invoice_config: zod.ZodObject<{
|
|
38
44
|
enabled: zod.ZodBoolean;
|