@aurigma/axios-backoffice-api-client 2.63.14 → 2.65.1

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.
@@ -693,6 +693,172 @@ export declare module BackOfficeApiClient {
693
693
  getAvailableProcessingPipelines(skip?: number | null | undefined, take?: number | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PagedOfProcessingPipelineDto>;
694
694
  protected processGetAvailableProcessingPipelines(response: AxiosResponse): Promise<PagedOfProcessingPipelineDto>;
695
695
  }
696
+ interface IProjectStatusesManagementApiClient {
697
+ /**
698
+ * Returns a list of all existing project statuses.
699
+ * @param tenantId (optional) Tenant identifier.
700
+ * @return Success
701
+ */
702
+ getAll(tenantId?: number | null | undefined): Promise<PagedOfProjectStatusDto>;
703
+ /**
704
+ * Creates a new project status and returns its description.
705
+ * @param tenantId (optional) Tenant identifier.
706
+ * @param body (optional) Status creation parameters.
707
+ * @return Success
708
+ */
709
+ create(tenantId?: number | null | undefined, body?: CreateProjectStatusDto | null | undefined): Promise<ProjectStatusDto>;
710
+ /**
711
+ * Returns a project status by its identifier.
712
+ * @param id Status identifier.
713
+ * @param tenantId (optional) Tenant identifier.
714
+ * @return Success
715
+ */
716
+ get(id: number, tenantId?: number | null | undefined): Promise<ProjectStatusDto>;
717
+ /**
718
+ * Updates an existing project status and returns its description.
719
+ * @param id Status identifier.
720
+ * @param tenantId (optional) Tenant identifier.
721
+ * @param body (optional) Status update parameters.
722
+ * @return Success
723
+ */
724
+ update(id: number, tenantId?: number | null | undefined, body?: UpdateProjectStatusDto | null | undefined): Promise<ProjectStatusDto>;
725
+ /**
726
+ * Deletes an existing project status and returns its description.
727
+ * @param id Status identifier.
728
+ * @param tenantId (optional) Tenant identifier.
729
+ * @return Success
730
+ */
731
+ delete(id: number, tenantId?: number | null | undefined): Promise<ProjectStatusDto>;
732
+ }
733
+ class ProjectStatusesManagementApiClient extends ApiClientBase implements IProjectStatusesManagementApiClient {
734
+ private instance;
735
+ private baseUrl;
736
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
737
+ constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance);
738
+ /**
739
+ * Returns a list of all existing project statuses.
740
+ * @param tenantId (optional) Tenant identifier.
741
+ * @return Success
742
+ */
743
+ getAll(tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PagedOfProjectStatusDto>;
744
+ protected processGetAll(response: AxiosResponse): Promise<PagedOfProjectStatusDto>;
745
+ /**
746
+ * Creates a new project status and returns its description.
747
+ * @param tenantId (optional) Tenant identifier.
748
+ * @param body (optional) Status creation parameters.
749
+ * @return Success
750
+ */
751
+ create(tenantId?: number | null | undefined, body?: CreateProjectStatusDto | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProjectStatusDto>;
752
+ protected processCreate(response: AxiosResponse): Promise<ProjectStatusDto>;
753
+ /**
754
+ * Returns a project status by its identifier.
755
+ * @param id Status identifier.
756
+ * @param tenantId (optional) Tenant identifier.
757
+ * @return Success
758
+ */
759
+ get(id: number, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProjectStatusDto>;
760
+ protected processGet(response: AxiosResponse): Promise<ProjectStatusDto>;
761
+ /**
762
+ * Updates an existing project status and returns its description.
763
+ * @param id Status identifier.
764
+ * @param tenantId (optional) Tenant identifier.
765
+ * @param body (optional) Status update parameters.
766
+ * @return Success
767
+ */
768
+ update(id: number, tenantId?: number | null | undefined, body?: UpdateProjectStatusDto | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProjectStatusDto>;
769
+ protected processUpdate(response: AxiosResponse): Promise<ProjectStatusDto>;
770
+ /**
771
+ * Deletes an existing project status and returns its description.
772
+ * @param id Status identifier.
773
+ * @param tenantId (optional) Tenant identifier.
774
+ * @return Success
775
+ */
776
+ delete(id: number, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProjectStatusDto>;
777
+ protected processDelete(response: AxiosResponse): Promise<ProjectStatusDto>;
778
+ }
779
+ interface IProjectStatusTransitionsManagementApiClient {
780
+ /**
781
+ * Returns a list of all existing project status transitions.
782
+ * @param tenantId (optional) Tenant identifier.
783
+ * @return Success
784
+ */
785
+ getAll(tenantId?: number | null | undefined): Promise<PagedOfProjectStatusTransitionDto>;
786
+ /**
787
+ * Returns a project status transition by its identifier.
788
+ * @param id Status transition identifier.
789
+ * @param tenantId (optional) Tenant identifier.
790
+ * @return Success
791
+ */
792
+ get(id: number, tenantId?: number | null | undefined): Promise<ProjectStatusTransitionDto>;
793
+ /**
794
+ * Updates an existing project status transition and returns its description.
795
+ * @param id Status transition identifier.
796
+ * @param tenantId (optional) Tenant identifier.
797
+ * @param body (optional) Status transition update parameters.
798
+ * @return Success
799
+ */
800
+ update(id: number, tenantId?: number | null | undefined, body?: UpdateProjectStatusTransitionDto | null | undefined): Promise<ProjectStatusTransitionDto>;
801
+ /**
802
+ * Deletes an existing project status transition and returns its description.
803
+ * @param id Status transition identifier.
804
+ * @param tenantId (optional) Tenant identifier.
805
+ * @return Success
806
+ */
807
+ delete(id: number, tenantId?: number | null | undefined): Promise<ProjectStatusTransitionDto>;
808
+ /**
809
+ * Creates a new project status transition and returns its description.
810
+ * @param tenantId (optional) Tenant identifier.
811
+ * @param body (optional) Status transition creation parameters.
812
+ * @return Success
813
+ */
814
+ create(tenantId?: number | null | undefined, body?: CreateProjectStatusTransitionDto | null | undefined): Promise<ProjectStatusTransitionDto>;
815
+ }
816
+ class ProjectStatusTransitionsManagementApiClient extends ApiClientBase implements IProjectStatusTransitionsManagementApiClient {
817
+ private instance;
818
+ private baseUrl;
819
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
820
+ constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance);
821
+ /**
822
+ * Returns a list of all existing project status transitions.
823
+ * @param tenantId (optional) Tenant identifier.
824
+ * @return Success
825
+ */
826
+ getAll(tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PagedOfProjectStatusTransitionDto>;
827
+ protected processGetAll(response: AxiosResponse): Promise<PagedOfProjectStatusTransitionDto>;
828
+ /**
829
+ * Returns a project status transition by its identifier.
830
+ * @param id Status transition identifier.
831
+ * @param tenantId (optional) Tenant identifier.
832
+ * @return Success
833
+ */
834
+ get(id: number, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProjectStatusTransitionDto>;
835
+ protected processGet(response: AxiosResponse): Promise<ProjectStatusTransitionDto>;
836
+ /**
837
+ * Updates an existing project status transition and returns its description.
838
+ * @param id Status transition identifier.
839
+ * @param tenantId (optional) Tenant identifier.
840
+ * @param body (optional) Status transition update parameters.
841
+ * @return Success
842
+ */
843
+ update(id: number, tenantId?: number | null | undefined, body?: UpdateProjectStatusTransitionDto | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProjectStatusTransitionDto>;
844
+ protected processUpdate(response: AxiosResponse): Promise<ProjectStatusTransitionDto>;
845
+ /**
846
+ * Deletes an existing project status transition and returns its description.
847
+ * @param id Status transition identifier.
848
+ * @param tenantId (optional) Tenant identifier.
849
+ * @return Success
850
+ */
851
+ delete(id: number, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProjectStatusTransitionDto>;
852
+ protected processDelete(response: AxiosResponse): Promise<ProjectStatusTransitionDto>;
853
+ /**
854
+ * Creates a new project status transition and returns its description.
855
+ * @param tenantId (optional) Tenant identifier.
856
+ * @param body (optional) Status transition creation parameters.
857
+ * @return Success
858
+ */
859
+ create(tenantId?: number | null | undefined, body?: CreateProjectStatusTransitionDto | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProjectStatusTransitionDto>;
860
+ protected processCreate(response: AxiosResponse): Promise<ProjectStatusTransitionDto>;
861
+ }
696
862
  interface IStorefrontsManagementApiClient {
697
863
  /**
698
864
  * Returns all storefronts, relevant to the specified query parameters.
@@ -701,10 +867,11 @@ export declare module BackOfficeApiClient {
701
867
  * @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
702
868
  * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
703
869
  * @param search (optional) Search string for partial match.
870
+ * @param status (optional) Storefront status.
704
871
  * @param tenantId (optional) Tenant identifier.
705
872
  * @return Success
706
873
  */
707
- getAll(types?: StorefrontType[] | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined): Promise<PagedOfStorefrontDto>;
874
+ getAll(types?: StorefrontType[] | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, status?: StorefrontStatus | null | undefined, tenantId?: number | null | undefined): Promise<PagedOfStorefrontDto>;
708
875
  /**
709
876
  * Returns a storefront by identifier.
710
877
  * @param id Storefront identifier.
@@ -802,10 +969,11 @@ export declare module BackOfficeApiClient {
802
969
  * @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
803
970
  * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
804
971
  * @param search (optional) Search string for partial match.
972
+ * @param status (optional) Storefront status.
805
973
  * @param tenantId (optional) Tenant identifier.
806
974
  * @return Success
807
975
  */
808
- getAll(types?: StorefrontType[] | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PagedOfStorefrontDto>;
976
+ getAll(types?: StorefrontType[] | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, status?: StorefrontStatus | null | undefined, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PagedOfStorefrontDto>;
809
977
  protected processGetAll(response: AxiosResponse): Promise<PagedOfStorefrontDto>;
810
978
  /**
811
979
  * Returns a storefront by identifier.
@@ -1695,6 +1863,92 @@ export declare module BackOfficeApiClient {
1695
1863
  total?: number;
1696
1864
  items?: ProcessingPipelineDto[] | null;
1697
1865
  }
1866
+ /** Project status parameters. */
1867
+ interface ProjectStatusDto {
1868
+ /** Project status identifier. */
1869
+ id?: number;
1870
+ /** Status code. */
1871
+ code?: number;
1872
+ /** Status mark color. */
1873
+ color?: string | null;
1874
+ /** Status display name. */
1875
+ displayName?: string | null;
1876
+ /** Indicates if status is initial for all projects. Only one status may be used as initial. */
1877
+ isInitial?: boolean;
1878
+ /** Indicates if status is final. Multiple statuses may be used as final (e.g. Completed, Rejected etc). */
1879
+ isFinal?: boolean;
1880
+ }
1881
+ /** DTO, containing results of paged query. */
1882
+ interface PagedOfProjectStatusDto {
1883
+ total?: number;
1884
+ items?: ProjectStatusDto[] | null;
1885
+ }
1886
+ /** Project status creation parameters. */
1887
+ interface CreateProjectStatusDto {
1888
+ /** Status code. */
1889
+ code?: number;
1890
+ /** Status mark color. */
1891
+ color?: string | null;
1892
+ /** Status display name. */
1893
+ displayName?: string | null;
1894
+ /** Indicates if status is initial for all projects. Only one status may be used as initial. */
1895
+ isInitial?: boolean;
1896
+ /** Indicates if status is final. Multiple statuses may be used as final (e.g. Completed, Rejected etc). */
1897
+ isFinal?: boolean;
1898
+ }
1899
+ /** Project status update parameters. */
1900
+ interface UpdateProjectStatusDto {
1901
+ /** Status code. */
1902
+ code?: number;
1903
+ /** Status mark color. */
1904
+ color?: string | null;
1905
+ /** Status display name. */
1906
+ displayName?: string | null;
1907
+ /** Indicates if status is initial for all projects. Only one status may be used as initial. */
1908
+ isInitial?: boolean;
1909
+ /** Indicates if status is final. Multiple statuses may be used as final (e.g. Completed, Rejected etc). */
1910
+ isFinal?: boolean;
1911
+ }
1912
+ /** Project status transition dto class. */
1913
+ interface ProjectStatusTransitionDto {
1914
+ /** Transition identifier. */
1915
+ id?: number;
1916
+ /** Transition identifying name. */
1917
+ name?: string | null;
1918
+ /** Transition display name. */
1919
+ displayName?: string | null;
1920
+ /** Project status code from which transition to the result status code can be done. */
1921
+ startStatus?: number;
1922
+ /** Transition result project status code. */
1923
+ resultStatus?: number;
1924
+ }
1925
+ /** DTO, containing results of paged query. */
1926
+ interface PagedOfProjectStatusTransitionDto {
1927
+ total?: number;
1928
+ items?: ProjectStatusTransitionDto[] | null;
1929
+ }
1930
+ /** Project status transition update parameters. */
1931
+ interface UpdateProjectStatusTransitionDto {
1932
+ /** Transition hidden system name. */
1933
+ name?: string | null;
1934
+ /** Transition display name. */
1935
+ displayName?: string | null;
1936
+ /** Project status code from which transition to the result status code can be done. */
1937
+ startStatus?: number;
1938
+ /** Transition result project status code. */
1939
+ resultStatus?: number;
1940
+ }
1941
+ /** Project status transition creation parameters. */
1942
+ interface CreateProjectStatusTransitionDto {
1943
+ /** Transition hidden system name. */
1944
+ name?: string | null;
1945
+ /** Transition display name. */
1946
+ displayName?: string | null;
1947
+ /** Project status code from which transition to the result status code can be done. */
1948
+ startStatus?: number;
1949
+ /** Transition result project status code. */
1950
+ resultStatus?: number;
1951
+ }
1698
1952
  /** Storefront types. */
1699
1953
  enum StorefrontType {
1700
1954
  Custom = "Custom",
@@ -1708,6 +1962,11 @@ export declare module BackOfficeApiClient {
1708
1962
  Shopify = "Shopify",
1709
1963
  ShopifyCustom = "ShopifyCustom"
1710
1964
  }
1965
+ /** Storefront status. */
1966
+ enum StorefrontStatus {
1967
+ Dev = "Dev",
1968
+ Prod = "Prod"
1969
+ }
1711
1970
  /** Dto class, containing information about a storefront. */
1712
1971
  interface StorefrontDto {
1713
1972
  /** Storefront identifier. */