@spaceinvoices/js-sdk 10.1.2 → 10.1.3

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.
@@ -6,6 +6,7 @@
6
6
  * OpenAPI spec version: 1.0.0
7
7
  */
8
8
  import type { CompanyBankAccount } from './companyBankAccount.cjs';
9
+ import type { CompanyRegistryResultSettings } from './companyRegistryResultSettings.cjs';
9
10
  /**
10
11
  * Company from public registry for autocomplete
11
12
  */
@@ -17,8 +18,18 @@ export interface CompanyRegistryResult {
17
18
  */
18
19
  country_code: string;
19
20
  registration_number: string;
20
- /** @nullable */
21
+ /**
22
+ * VAT identification number when available, otherwise the business tax number
23
+ * @nullable
24
+ */
21
25
  tax_number: string | null;
26
+ /** Entity settings suggested by registry evidence; omitted when no supported VAT profile is known */
27
+ settings?: CompanyRegistryResultSettings;
28
+ /**
29
+ * Autofill suggestion for ordinary domestic tax charging: true for regular registration, false for non-registration or limited registration; null for unknown or special/group cases requiring review
30
+ * @nullable
31
+ */
32
+ is_tax_subject?: boolean | null;
22
33
  name: string;
23
34
  /** @nullable */
24
35
  address: string | null;
@@ -6,6 +6,7 @@
6
6
  * OpenAPI spec version: 1.0.0
7
7
  */
8
8
  import type { CompanyBankAccount } from './companyBankAccount.js';
9
+ import type { CompanyRegistryResultSettings } from './companyRegistryResultSettings.js';
9
10
  /**
10
11
  * Company from public registry for autocomplete
11
12
  */
@@ -17,8 +18,18 @@ export interface CompanyRegistryResult {
17
18
  */
18
19
  country_code: string;
19
20
  registration_number: string;
20
- /** @nullable */
21
+ /**
22
+ * VAT identification number when available, otherwise the business tax number
23
+ * @nullable
24
+ */
21
25
  tax_number: string | null;
26
+ /** Entity settings suggested by registry evidence; omitted when no supported VAT profile is known */
27
+ settings?: CompanyRegistryResultSettings;
28
+ /**
29
+ * Autofill suggestion for ordinary domestic tax charging: true for regular registration, false for non-registration or limited registration; null for unknown or special/group cases requiring review
30
+ * @nullable
31
+ */
32
+ is_tax_subject?: boolean | null;
22
33
  name: string;
23
34
  /** @nullable */
24
35
  address: string | null;
@@ -0,0 +1,14 @@
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
+ import type { CompanyRegistryResultSettingsSlovenia } from './companyRegistryResultSettingsSlovenia.cjs';
9
+ /**
10
+ * Entity settings suggested by registry evidence; omitted when no supported VAT profile is known
11
+ */
12
+ export type CompanyRegistryResultSettings = {
13
+ slovenia: CompanyRegistryResultSettingsSlovenia;
14
+ };
@@ -0,0 +1,14 @@
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
+ import type { CompanyRegistryResultSettingsSlovenia } from './companyRegistryResultSettingsSlovenia.js';
9
+ /**
10
+ * Entity settings suggested by registry evidence; omitted when no supported VAT profile is known
11
+ */
12
+ export type CompanyRegistryResultSettings = {
13
+ slovenia: CompanyRegistryResultSettingsSlovenia;
14
+ };
@@ -0,0 +1,12 @@
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
+ import type { CompanyRegistryResultSettingsSloveniaVatProfile } from './companyRegistryResultSettingsSloveniaVatProfile.cjs';
9
+ export type CompanyRegistryResultSettingsSlovenia = {
10
+ /** Slovenia-specific VAT subject subtype. */
11
+ vat_profile: CompanyRegistryResultSettingsSloveniaVatProfile;
12
+ };
@@ -0,0 +1,12 @@
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
+ import type { CompanyRegistryResultSettingsSloveniaVatProfile } from './companyRegistryResultSettingsSloveniaVatProfile.js';
9
+ export type CompanyRegistryResultSettingsSlovenia = {
10
+ /** Slovenia-specific VAT subject subtype. */
11
+ vat_profile: CompanyRegistryResultSettingsSloveniaVatProfile;
12
+ };
@@ -0,0 +1,16 @@
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
+ * Slovenia-specific VAT subject subtype.
10
+ */
11
+ export type CompanyRegistryResultSettingsSloveniaVatProfile = typeof CompanyRegistryResultSettingsSloveniaVatProfile[keyof typeof CompanyRegistryResultSettingsSloveniaVatProfile];
12
+ export declare const CompanyRegistryResultSettingsSloveniaVatProfile: {
13
+ readonly standard: "standard";
14
+ readonly special_vat_identified: "special_vat_identified";
15
+ readonly non_vat_subject: "non_vat_subject";
16
+ };
@@ -0,0 +1,16 @@
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
+ * Slovenia-specific VAT subject subtype.
10
+ */
11
+ export type CompanyRegistryResultSettingsSloveniaVatProfile = typeof CompanyRegistryResultSettingsSloveniaVatProfile[keyof typeof CompanyRegistryResultSettingsSloveniaVatProfile];
12
+ export declare const CompanyRegistryResultSettingsSloveniaVatProfile: {
13
+ readonly standard: "standard";
14
+ readonly special_vat_identified: "special_vat_identified";
15
+ readonly non_vat_subject: "non_vat_subject";
16
+ };
@@ -72,6 +72,9 @@ export * from './claimPosTabBody.cjs';
72
72
  export * from './closePosTabBody.cjs';
73
73
  export * from './companyBankAccount.cjs';
74
74
  export * from './companyRegistryResult.cjs';
75
+ export * from './companyRegistryResultSettings.cjs';
76
+ export * from './companyRegistryResultSettingsSlovenia.cjs';
77
+ export * from './companyRegistryResultSettingsSloveniaVatProfile.cjs';
75
78
  export * from './companyRegistrySearchResponse.cjs';
76
79
  export * from './completeAdvanceInvoicePreview.cjs';
77
80
  export * from './completeAdvanceInvoicePreviewCalculationMode.cjs';
@@ -72,6 +72,9 @@ export * from './claimPosTabBody.js';
72
72
  export * from './closePosTabBody.js';
73
73
  export * from './companyBankAccount.js';
74
74
  export * from './companyRegistryResult.js';
75
+ export * from './companyRegistryResultSettings.js';
76
+ export * from './companyRegistryResultSettingsSlovenia.js';
77
+ export * from './companyRegistryResultSettingsSloveniaVatProfile.js';
75
78
  export * from './companyRegistrySearchResponse.js';
76
79
  export * from './completeAdvanceInvoicePreview.js';
77
80
  export * from './completeAdvanceInvoicePreviewCalculationMode.js';
@@ -26,6 +26,16 @@ export declare const SearchCompanyRegistryResponse: zod.ZodObject<{
26
26
  country_code: zod.ZodString;
27
27
  registration_number: zod.ZodString;
28
28
  tax_number: zod.ZodNullable<zod.ZodString>;
29
+ settings: zod.ZodOptional<zod.ZodObject<{
30
+ slovenia: zod.ZodObject<{
31
+ vat_profile: zod.ZodEnum<{
32
+ standard: "standard";
33
+ special_vat_identified: "special_vat_identified";
34
+ non_vat_subject: "non_vat_subject";
35
+ }>;
36
+ }, zod.z.core.$strip>;
37
+ }, zod.z.core.$strip>>;
38
+ is_tax_subject: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
29
39
  name: zod.ZodString;
30
40
  address: zod.ZodNullable<zod.ZodString>;
31
41
  post_code: zod.ZodNullable<zod.ZodString>;
@@ -26,6 +26,16 @@ export declare const SearchCompanyRegistryResponse: zod.ZodObject<{
26
26
  country_code: zod.ZodString;
27
27
  registration_number: zod.ZodString;
28
28
  tax_number: zod.ZodNullable<zod.ZodString>;
29
+ settings: zod.ZodOptional<zod.ZodObject<{
30
+ slovenia: zod.ZodObject<{
31
+ vat_profile: zod.ZodEnum<{
32
+ standard: "standard";
33
+ special_vat_identified: "special_vat_identified";
34
+ non_vat_subject: "non_vat_subject";
35
+ }>;
36
+ }, zod.z.core.$strip>;
37
+ }, zod.z.core.$strip>>;
38
+ is_tax_subject: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
29
39
  name: zod.ZodString;
30
40
  address: zod.ZodNullable<zod.ZodString>;
31
41
  post_code: zod.ZodNullable<zod.ZodString>;