@spaceinvoices/js-sdk 12.33.0 → 12.34.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.
@@ -10,6 +10,8 @@ export interface CompanyBankAccount {
10
10
  iban: string;
11
11
  /** Bank name or code */
12
12
  bank?: string;
13
+ /** BIC/SWIFT code of the bank */
14
+ bic?: string;
13
15
  /** Whether this account is currently active */
14
16
  is_active?: boolean;
15
17
  }
@@ -10,6 +10,8 @@ export interface CompanyBankAccount {
10
10
  iban: string;
11
11
  /** Bank name or code */
12
12
  bank?: string;
13
+ /** BIC/SWIFT code of the bank */
14
+ bic?: string;
13
15
  /** Whether this account is currently active */
14
16
  is_active?: boolean;
15
17
  }
@@ -0,0 +1,18 @@
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
+ export interface CompanyRegistryActivity {
9
+ /** Activity code in the given classification, e.g. 62.100 */
10
+ code: string;
11
+ /**
12
+ * Activity description in the registry's language
13
+ * @nullable
14
+ */
15
+ description: string | null;
16
+ /** Classification scheme of `code`. Values: SKD_2025 (Slovenia, national version of NACE Rev. 2.1, used by the Slovenian Business Register since 2025). Other countries will use their own scheme identifiers, e.g. NACE_REV2_1, WZ_2025, NAICS_2022 */
17
+ classification: string;
18
+ }
@@ -0,0 +1,18 @@
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
+ export interface CompanyRegistryActivity {
9
+ /** Activity code in the given classification, e.g. 62.100 */
10
+ code: string;
11
+ /**
12
+ * Activity description in the registry's language
13
+ * @nullable
14
+ */
15
+ description: string | null;
16
+ /** Classification scheme of `code`. Values: SKD_2025 (Slovenia, national version of NACE Rev. 2.1, used by the Slovenian Business Register since 2025). Other countries will use their own scheme identifiers, e.g. NACE_REV2_1, WZ_2025, NAICS_2022 */
17
+ classification: string;
18
+ }
@@ -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 { CompanyRegistryActivity } from './companyRegistryActivity.cjs';
9
10
  import type { CompanyRegistryResultSettings } from './companyRegistryResultSettings.cjs';
10
11
  /**
11
12
  * Company from public registry for autocomplete
@@ -40,5 +41,12 @@ export interface CompanyRegistryResult {
40
41
  /** @nullable */
41
42
  legal_form: string | null;
42
43
  bank_accounts: CompanyBankAccount[];
44
+ /**
45
+ * Short/abbreviated registered name, when the registry provides one
46
+ * @nullable
47
+ */
48
+ short_name?: string | null;
49
+ /** Registered principal business activity; null when unknown */
50
+ activity?: CompanyRegistryActivity | null;
43
51
  status: string;
44
52
  }
@@ -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 { CompanyRegistryActivity } from './companyRegistryActivity.js';
9
10
  import type { CompanyRegistryResultSettings } from './companyRegistryResultSettings.js';
10
11
  /**
11
12
  * Company from public registry for autocomplete
@@ -40,5 +41,12 @@ export interface CompanyRegistryResult {
40
41
  /** @nullable */
41
42
  legal_form: string | null;
42
43
  bank_accounts: CompanyBankAccount[];
44
+ /**
45
+ * Short/abbreviated registered name, when the registry provides one
46
+ * @nullable
47
+ */
48
+ short_name?: string | null;
49
+ /** Registered principal business activity; null when unknown */
50
+ activity?: CompanyRegistryActivity | null;
43
51
  status: string;
44
52
  }
@@ -75,6 +75,7 @@ export * from './checkoutSessionResponse.cjs';
75
75
  export * from './claimPosTabBody.cjs';
76
76
  export * from './closePosTabBody.cjs';
77
77
  export * from './companyBankAccount.cjs';
78
+ export * from './companyRegistryActivity.cjs';
78
79
  export * from './companyRegistryResult.cjs';
79
80
  export * from './companyRegistryResultSettings.cjs';
80
81
  export * from './companyRegistryResultSettingsSlovenia.cjs';
@@ -75,6 +75,7 @@ export * from './checkoutSessionResponse.js';
75
75
  export * from './claimPosTabBody.js';
76
76
  export * from './closePosTabBody.js';
77
77
  export * from './companyBankAccount.js';
78
+ export * from './companyRegistryActivity.js';
78
79
  export * from './companyRegistryResult.js';
79
80
  export * from './companyRegistryResultSettings.js';
80
81
  export * from './companyRegistryResultSettingsSlovenia.js';
@@ -44,8 +44,15 @@ export declare const SearchCompanyRegistryResponse: zod.ZodObject<{
44
44
  bank_accounts: zod.ZodArray<zod.ZodObject<{
45
45
  iban: zod.ZodString;
46
46
  bank: zod.ZodOptional<zod.ZodString>;
47
+ bic: zod.ZodOptional<zod.ZodString>;
47
48
  is_active: zod.ZodOptional<zod.ZodBoolean>;
48
49
  }, zod.z.core.$strip>>;
50
+ short_name: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
51
+ activity: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
52
+ code: zod.ZodString;
53
+ description: zod.ZodNullable<zod.ZodString>;
54
+ classification: zod.ZodString;
55
+ }, zod.z.core.$strip>, zod.ZodNull]>>;
49
56
  status: zod.ZodString;
50
57
  }, zod.z.core.$strip>>;
51
58
  }, zod.z.core.$strip>;
@@ -44,8 +44,15 @@ export declare const SearchCompanyRegistryResponse: zod.ZodObject<{
44
44
  bank_accounts: zod.ZodArray<zod.ZodObject<{
45
45
  iban: zod.ZodString;
46
46
  bank: zod.ZodOptional<zod.ZodString>;
47
+ bic: zod.ZodOptional<zod.ZodString>;
47
48
  is_active: zod.ZodOptional<zod.ZodBoolean>;
48
49
  }, zod.z.core.$strip>>;
50
+ short_name: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
51
+ activity: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
52
+ code: zod.ZodString;
53
+ description: zod.ZodNullable<zod.ZodString>;
54
+ classification: zod.ZodString;
55
+ }, zod.z.core.$strip>, zod.ZodNull]>>;
49
56
  status: zod.ZodString;
50
57
  }, zod.z.core.$strip>>;
51
58
  }, zod.z.core.$strip>;