@solibo/solibo-sdk 1.7.8 → 1.7.9

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.
@@ -4025,6 +4025,26 @@ export declare namespace CreateStorageRoomCommand {
4025
4025
  const constructor: abstract new () => CreateStorageRoomCommand;
4026
4026
  }
4027
4027
  }
4028
+ export interface CreateSupplierCommandProps {
4029
+ domain?: string | null | undefined;
4030
+ name: string;
4031
+ orgNr: string;
4032
+ serviceCategories?: string[] | null | undefined;
4033
+ }
4034
+ export declare class CreateSupplierCommand {
4035
+ constructor(props: CreateSupplierCommandProps);
4036
+ constructor(domain: string | null | undefined, name: string, orgNr: string, serviceCategories?: string[] | null | undefined);
4037
+ get domain(): string | null | undefined;
4038
+ get name(): string;
4039
+ get orgNr(): string;
4040
+ get serviceCategories(): string[] | null | undefined;
4041
+ }
4042
+ export declare namespace CreateSupplierCommand {
4043
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
4044
+ namespace $metadata$ {
4045
+ const constructor: abstract new () => CreateSupplierCommand;
4046
+ }
4047
+ }
4028
4048
  export interface CreateSupplierCommentCommandProps {
4029
4049
  content: string;
4030
4050
  emoticon?: string | null | undefined;
@@ -19016,6 +19036,26 @@ export declare namespace UpdateStorageRoomCommand {
19016
19036
  const constructor: abstract new () => UpdateStorageRoomCommand;
19017
19037
  }
19018
19038
  }
19039
+ export interface UpdateSupplierCommandProps {
19040
+ domain?: string | null | undefined;
19041
+ name?: string | null | undefined;
19042
+ orgNr?: string | null | undefined;
19043
+ serviceCategories?: string[] | null | undefined;
19044
+ }
19045
+ export declare class UpdateSupplierCommand {
19046
+ constructor(props: UpdateSupplierCommandProps);
19047
+ constructor(domain?: string | null | undefined, name?: string | null | undefined, orgNr?: string | null | undefined, serviceCategories?: string[] | null | undefined);
19048
+ get domain(): string | null | undefined;
19049
+ get name(): string | null | undefined;
19050
+ get orgNr(): string | null | undefined;
19051
+ get serviceCategories(): string[] | null | undefined;
19052
+ }
19053
+ export declare namespace UpdateSupplierCommand {
19054
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
19055
+ namespace $metadata$ {
19056
+ const constructor: abstract new () => UpdateSupplierCommand;
19057
+ }
19058
+ }
19019
19059
  export interface UpdateSupplierContactCommandProps {
19020
19060
  email?: string | null | undefined;
19021
19061
  mobile?: string | null | undefined;
@@ -20148,6 +20188,7 @@ export declare class SupplierApi extends ApiClient.$metadata$.constructor {
20148
20188
  createCompanySupplier(companyId: bigint, createSupplierForCompanyCommand: CreateSupplierForCompanyCommand): Promise<HttpResponse<SupplierForCompany>>;
20149
20189
  createCompanySupplierComment(companyId: bigint, supplierId: bigint, createSupplierCommentCommand: CreateSupplierCommentCommand): Promise<HttpResponse<SupplierComment>>;
20150
20190
  createCompanySupplierContact(companyId: bigint, supplierId: bigint, createSupplierContactCommand: CreateSupplierContactCommand): Promise<HttpResponse<Person>>;
20191
+ createSupplier(createSupplierCommand: CreateSupplierCommand): Promise<HttpResponse<Supplier>>;
20151
20192
  createSupplierLogo(supplierId: bigint): Promise<HttpResponse<void>>;
20152
20193
  deleteCompanySupplier(companyId: bigint, supplierId: bigint): Promise<HttpResponse<void>>;
20153
20194
  deleteCompanySupplierContact(companyId: bigint, supplierId: bigint, contactId: bigint): Promise<HttpResponse<void>>;
@@ -20163,6 +20204,7 @@ export declare class SupplierApi extends ApiClient.$metadata$.constructor {
20163
20204
  updateCompanySupplierCommentEmoticon(companyId: bigint, supplierId: bigint, commentId: bigint, setSupplierCommentEmoticonCommand: SetSupplierCommentEmoticonCommand): Promise<HttpResponse<void>>;
20164
20205
  updateCompanySupplierContact(companyId: bigint, supplierId: bigint, contactId: bigint, updateSupplierContactCommand: UpdateSupplierContactCommand): Promise<HttpResponse<Person>>;
20165
20206
  updateCompanySupplierContactImage(companyId: bigint, supplierId: bigint, contactId: bigint): Promise<HttpResponse<void>>;
20207
+ updateSupplier(supplierId: bigint, updateSupplierCommand: UpdateSupplierCommand): Promise<HttpResponse<Supplier>>;
20166
20208
  updateSupplierServiceCategories(supplierId: bigint, updateServiceCategoriesCommand: UpdateServiceCategoriesCommand): Promise<HttpResponse<void>>;
20167
20209
  }
20168
20210
  export declare namespace SupplierApi {