@erp-galoper/types 1.0.637 → 1.0.639

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.
Files changed (2) hide show
  1. package/openapi.ts +80 -1
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -4811,6 +4811,30 @@ export interface paths {
4811
4811
  patch?: never;
4812
4812
  trace?: never;
4813
4813
  };
4814
+ "/api/v1/customers/vat-accounts/": {
4815
+ parameters: {
4816
+ query?: never;
4817
+ header?: never;
4818
+ path?: never;
4819
+ cookie?: never;
4820
+ };
4821
+ get?: never;
4822
+ put?: never;
4823
+ /**
4824
+ * Create Customer Vat Accounts
4825
+ * @description Endpoint to create VAT accounts for customers.
4826
+ * Responses:
4827
+ * - 201: customerVatAccountsCreated
4828
+ * - 404: customerDoesNotExist
4829
+ * - 500: internalServerError
4830
+ */
4831
+ post: operations["customer_views_create_customer_vat_accounts"];
4832
+ delete?: never;
4833
+ options?: never;
4834
+ head?: never;
4835
+ patch?: never;
4836
+ trace?: never;
4837
+ };
4814
4838
  "/api/v1/customers/deactivate/{id}/": {
4815
4839
  parameters: {
4816
4840
  query?: never;
@@ -26373,6 +26397,19 @@ export interface components {
26373
26397
  /** Companyregistrationnumber */
26374
26398
  companyRegistrationNumber?: string;
26375
26399
  };
26400
+ /** CreateCustomersVatAccountSchema */
26401
+ CreateCustomersVatAccountSchema: {
26402
+ /**
26403
+ * Customers
26404
+ * @description list of customer ids, if empty then all customers will be selected
26405
+ */
26406
+ customers: number[];
26407
+ /**
26408
+ * Taxes
26409
+ * @description list of tax ids, if empty then all taxes has type sales will be selected
26410
+ */
26411
+ taxes: number[];
26412
+ };
26376
26413
  /** CustomerSchema */
26377
26414
  CustomerSchema: {
26378
26415
  /** Phone1 */
@@ -27692,7 +27729,7 @@ export interface components {
27692
27729
  /**
27693
27730
  * Id
27694
27731
  * Format: uuid
27695
- * @example cd492080-161a-4d01-a256-567d0ffa42a8
27732
+ * @example 93eacdf0-a762-4d44-98f2-27fc90f26fb2
27696
27733
  */
27697
27734
  id: string;
27698
27735
  /**
@@ -57669,6 +57706,48 @@ export interface operations {
57669
57706
  };
57670
57707
  };
57671
57708
  };
57709
+ customer_views_create_customer_vat_accounts: {
57710
+ parameters: {
57711
+ query?: never;
57712
+ header?: never;
57713
+ path?: never;
57714
+ cookie?: never;
57715
+ };
57716
+ requestBody: {
57717
+ content: {
57718
+ "application/json": components["schemas"]["CreateCustomersVatAccountSchema"];
57719
+ };
57720
+ };
57721
+ responses: {
57722
+ /** @description Created */
57723
+ 201: {
57724
+ headers: {
57725
+ [name: string]: unknown;
57726
+ };
57727
+ content: {
57728
+ "application/json": components["schemas"]["MessageWithCode"];
57729
+ };
57730
+ };
57731
+ /** @description Not Found */
57732
+ 404: {
57733
+ headers: {
57734
+ [name: string]: unknown;
57735
+ };
57736
+ content: {
57737
+ "application/json": components["schemas"]["MessageWithCode"];
57738
+ };
57739
+ };
57740
+ /** @description Internal Server Error */
57741
+ 500: {
57742
+ headers: {
57743
+ [name: string]: unknown;
57744
+ };
57745
+ content: {
57746
+ "application/json": components["schemas"]["MessageWithCode"];
57747
+ };
57748
+ };
57749
+ };
57750
+ };
57672
57751
  customer_views_deactivate_customer: {
57673
57752
  parameters: {
57674
57753
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.637",
3
+ "version": "1.0.639",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],