@solibo/home-api 1.52.0 → 1.53.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.
@@ -16043,7 +16043,7 @@ export declare class InvoicingApi extends ApiClient.$metadata$.constructor {
16043
16043
  createCompanyCustomerClaim(companyId: bigint, customerType: string, customerId: bigint, createCustomerClaimCommand: CreateCustomerClaimCommand): Promise<HttpResponse<CustomerClaimCreated>>;
16044
16044
  createCompanyExternalInvoiceRecipient(companyId: bigint, customerType: CustomerType, createExternalCustomerCommand: CreateExternalCustomerCommand): Promise<HttpResponse<InvoiceRecipient>>;
16045
16045
  createCompanyExternalInvoiceRecipientById(companyId: bigint, customerType: string, customerId: bigint, addExternalCustomerCommand: AddExternalCustomerCommand): Promise<HttpResponse<InvoiceRecipient>>;
16046
- createCompanyInvoiceRecipientOfSection(companyId: bigint, customerType: string, customerId: bigint, createInvoiceRecipientCommand: CreateInvoiceRecipientCommand, sectionIdToDeleteFrom?: Nullable<bigint>): Promise<HttpResponse<InvoiceRecipient>>;
16046
+ createCompanyInvoiceRecipientOfSection(companyId: bigint, customerType: string, customerId: bigint, createInvoiceRecipientCommand: CreateInvoiceRecipientCommand, sectionIdToDeleteFrom?: Nullable<bigint>): Promise<HttpResponse<KtList<bigint>>>;
16047
16047
  createCustomerComment(companyId: bigint, customerType: string, customerId: bigint, createCustomerCommentCommand: CreateCustomerCommentCommand): Promise<HttpResponse<void>>;
16048
16048
  createInvoicePlan(companyId: bigint, createInvoicePlanCommand: CreateInvoicePlanCommand, active?: Nullable<boolean>, type?: Nullable<InvoicePlanType>): Promise<HttpResponse<InvoicePlan>>;
16049
16049
  createInvoicePlanDistribution(companyId: bigint, invoicePlanId: bigint, createInvoiceDistributionCommand: CreateInvoiceDistributionCommand): Promise<HttpResponse<InvoicePlanDistribution>>;
@@ -16193,7 +16193,7 @@ export declare function closeCompanyPaymentSourceOperation(client: ApiClient, co
16193
16193
  export declare function createCompanyCustomerClaimOperation(client: ApiClient, companyId: bigint, customerType: string, customerId: bigint, createCustomerClaimCommand: CreateCustomerClaimCommand): Promise<HttpResponse<CustomerClaimCreated>>;
16194
16194
  export declare function createCompanyExternalInvoiceRecipientByIdOperation(client: ApiClient, companyId: bigint, customerType: string, customerId: bigint, addExternalCustomerCommand: AddExternalCustomerCommand): Promise<HttpResponse<InvoiceRecipient>>;
16195
16195
  export declare function createCompanyExternalInvoiceRecipientOperation(client: ApiClient, companyId: bigint, customerType: CustomerType, createExternalCustomerCommand: CreateExternalCustomerCommand): Promise<HttpResponse<InvoiceRecipient>>;
16196
- export declare function createCompanyInvoiceRecipientOfSectionOperation(client: ApiClient, companyId: bigint, customerType: string, customerId: bigint, createInvoiceRecipientCommand: CreateInvoiceRecipientCommand, sectionIdToDeleteFrom?: Nullable<bigint>): Promise<HttpResponse<InvoiceRecipient>>;
16196
+ export declare function createCompanyInvoiceRecipientOfSectionOperation(client: ApiClient, companyId: bigint, customerType: string, customerId: bigint, createInvoiceRecipientCommand: CreateInvoiceRecipientCommand, sectionIdToDeleteFrom?: Nullable<bigint>): Promise<HttpResponse<KtList<bigint>>>;
16197
16197
  export declare function createCompanyManualPaymentSourceOperation(client: ApiClient, companyId: bigint, idempotencyKey: string, manualPaymentSourceRequest: ManualPaymentSourceRequest): Promise<HttpResponse<PaymentSource>>;
16198
16198
  export declare function createCustomerCommentOperation(client: ApiClient, companyId: bigint, customerType: string, customerId: bigint, createCustomerCommentCommand: CreateCustomerCommentCommand): Promise<HttpResponse<void>>;
16199
16199
  export declare function createInvoicePlanDistributionOperation(client: ApiClient, companyId: bigint, invoicePlanId: bigint, createInvoiceDistributionCommand: CreateInvoiceDistributionCommand): Promise<HttpResponse<InvoicePlanDistribution>>;
@@ -29870,7 +29870,7 @@ export declare class SupplierApi extends ApiClient.$metadata$.constructor {
29870
29870
  static createWithClient(baseUrl: string, httpClient: any/* HttpClient */): SupplierApi;
29871
29871
  createCompanySupplier(companyId: bigint, createSupplierForCompanyCommand: CreateSupplierForCompanyCommand): Promise<HttpResponse<SupplierForCompany>>;
29872
29872
  createCompanySupplierComment(companyId: bigint, supplierId: bigint, createSupplierCommentCommand: CreateSupplierCommentCommand): Promise<HttpResponse<SupplierComment>>;
29873
- createCompanySupplierContact(companyId: bigint, supplierId: bigint, createSupplierContactCommand: CreateSupplierContactCommand): Promise<HttpResponse<Person>>;
29873
+ createCompanySupplierContact(companyId: bigint, supplierId: bigint, createSupplierContactCommand: CreateSupplierContactCommand): Promise<HttpResponse<SupplierContact>>;
29874
29874
  createSupplier(createSupplierCommand: CreateSupplierCommand): Promise<HttpResponse<Supplier>>;
29875
29875
  createSupplierLogo(supplierId: bigint): Promise<HttpResponse<void>>;
29876
29876
  deleteCompanySupplier(companyId: bigint, supplierId: bigint): Promise<HttpResponse<void>>;
@@ -29887,7 +29887,7 @@ export declare class SupplierApi extends ApiClient.$metadata$.constructor {
29887
29887
  updateCompanySupplier(companyId: bigint, supplierId: bigint, updateSupplierForCompanyCommand: UpdateSupplierForCompanyCommand): Promise<HttpResponse<SupplierForCompany>>;
29888
29888
  updateCompanySupplierComment(companyId: bigint, supplierId: bigint, commentId: bigint, updateSupplierCommentCommand: UpdateSupplierCommentCommand): Promise<HttpResponse<SupplierComment>>;
29889
29889
  updateCompanySupplierCommentEmoticon(companyId: bigint, supplierId: bigint, commentId: bigint, setSupplierCommentEmoticonCommand: SetSupplierCommentEmoticonCommand): Promise<HttpResponse<void>>;
29890
- updateCompanySupplierContact(companyId: bigint, supplierId: bigint, contactId: bigint, updateSupplierContactCommand: UpdateSupplierContactCommand): Promise<HttpResponse<Person>>;
29890
+ updateCompanySupplierContact(companyId: bigint, supplierId: bigint, contactId: bigint, updateSupplierContactCommand: UpdateSupplierContactCommand): Promise<HttpResponse<SupplierContact>>;
29891
29891
  updateCompanySupplierContactImage(companyId: bigint, supplierId: bigint, contactId: bigint): Promise<HttpResponse<void>>;
29892
29892
  updateSupplier(supplierId: bigint, updateSupplierCommand: UpdateSupplierCommand): Promise<HttpResponse<Supplier>>;
29893
29893
  updateSupplierServiceCategories(supplierId: bigint, updateServiceCategoriesCommand: UpdateServiceCategoriesCommand): Promise<HttpResponse<void>>;
@@ -29899,7 +29899,7 @@ export declare namespace SupplierApi {
29899
29899
  }
29900
29900
  }
29901
29901
  export declare function createCompanySupplierCommentOperation(client: ApiClient, companyId: bigint, supplierId: bigint, createSupplierCommentCommand: CreateSupplierCommentCommand): Promise<HttpResponse<SupplierComment>>;
29902
- export declare function createCompanySupplierContactOperation(client: ApiClient, companyId: bigint, supplierId: bigint, createSupplierContactCommand: CreateSupplierContactCommand): Promise<HttpResponse<Person>>;
29902
+ export declare function createCompanySupplierContactOperation(client: ApiClient, companyId: bigint, supplierId: bigint, createSupplierContactCommand: CreateSupplierContactCommand): Promise<HttpResponse<SupplierContact>>;
29903
29903
  export declare function createCompanySupplierOperation(client: ApiClient, companyId: bigint, createSupplierForCompanyCommand: CreateSupplierForCompanyCommand): Promise<HttpResponse<SupplierForCompany>>;
29904
29904
  export declare function createSupplierLogoOperation(client: ApiClient, supplierId: bigint): Promise<HttpResponse<void>>;
29905
29905
  export declare function createSupplierOperation(client: ApiClient, createSupplierCommand: CreateSupplierCommand): Promise<HttpResponse<Supplier>>;
@@ -29917,7 +29917,7 @@ export declare function showSupplierLogoOperation(client: ApiClient, supplierId:
29917
29917
  export declare function updateCompanySupplierCommentEmoticonOperation(client: ApiClient, companyId: bigint, supplierId: bigint, commentId: bigint, setSupplierCommentEmoticonCommand: SetSupplierCommentEmoticonCommand): Promise<HttpResponse<void>>;
29918
29918
  export declare function updateCompanySupplierCommentOperation(client: ApiClient, companyId: bigint, supplierId: bigint, commentId: bigint, updateSupplierCommentCommand: UpdateSupplierCommentCommand): Promise<HttpResponse<SupplierComment>>;
29919
29919
  export declare function updateCompanySupplierContactImageOperation(client: ApiClient, companyId: bigint, supplierId: bigint, contactId: bigint): Promise<HttpResponse<void>>;
29920
- export declare function updateCompanySupplierContactOperation(client: ApiClient, companyId: bigint, supplierId: bigint, contactId: bigint, updateSupplierContactCommand: UpdateSupplierContactCommand): Promise<HttpResponse<Person>>;
29920
+ export declare function updateCompanySupplierContactOperation(client: ApiClient, companyId: bigint, supplierId: bigint, contactId: bigint, updateSupplierContactCommand: UpdateSupplierContactCommand): Promise<HttpResponse<SupplierContact>>;
29921
29921
  export declare function updateCompanySupplierOperation(client: ApiClient, companyId: bigint, supplierId: bigint, updateSupplierForCompanyCommand: UpdateSupplierForCompanyCommand): Promise<HttpResponse<SupplierForCompany>>;
29922
29922
  export declare function updateSupplierOperation(client: ApiClient, supplierId: bigint, updateSupplierCommand: UpdateSupplierCommand): Promise<HttpResponse<Supplier>>;
29923
29923
  export declare function updateSupplierServiceCategoriesOperation(client: ApiClient, supplierId: bigint, updateServiceCategoriesCommand: UpdateServiceCategoriesCommand): Promise<HttpResponse<void>>;
@@ -30183,8 +30183,8 @@ export declare class TaskApi extends ApiClient.$metadata$.constructor {
30183
30183
  createMultipleTasks(bulkImportTasksCommand: BulkImportTasksCommand): Promise<HttpResponse<BulkImportTasksResult>>;
30184
30184
  createTask(companyId: bigint, createTaskCommand: CreateTaskCommand): Promise<HttpResponse<Task>>;
30185
30185
  deleteTask(companyId: bigint, taskId: bigint): Promise<HttpResponse<void>>;
30186
- indexTasks(companyId: bigint, search?: Nullable<string>, completed?: Nullable<boolean>, responsibleId?: Nullable<bigint>, dueDateFrom?: Nullable<bigint>, dueDateTo?: Nullable<bigint>, taskIds?: Nullable<KtList<bigint>>, deleted?: Nullable<boolean>, includeDeleted?: Nullable<boolean>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListTask>>;
30187
- indexTasksUser(search?: Nullable<string>, companyIds?: Nullable<KtList<bigint>>, completed?: Nullable<boolean>, responsibleId?: Nullable<bigint>, dueDateFrom?: Nullable<bigint>, dueDateTo?: Nullable<bigint>, taskIds?: Nullable<KtList<bigint>>, deleted?: Nullable<boolean>, includeDeleted?: Nullable<boolean>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListTask>>;
30186
+ indexTasks(companyId: bigint, search?: Nullable<string>, completed?: Nullable<boolean>, responsibleId?: Nullable<bigint>, dueDateFrom?: Nullable<bigint>, dueDateTo?: Nullable<bigint>, taskIds?: Nullable<KtList<bigint>>, deleted?: Nullable<boolean>, includeDeleted?: Nullable<boolean>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>, orderDirection?: Nullable<TaskOrderDirection>): Promise<HttpResponse<PagedListTask>>;
30187
+ indexTasksUser(search?: Nullable<string>, companyIds?: Nullable<KtList<bigint>>, completed?: Nullable<boolean>, responsibleId?: Nullable<bigint>, dueDateFrom?: Nullable<bigint>, dueDateTo?: Nullable<bigint>, taskIds?: Nullable<KtList<bigint>>, deleted?: Nullable<boolean>, includeDeleted?: Nullable<boolean>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>, orderDirection?: Nullable<TaskOrderDirection>): Promise<HttpResponse<PagedListTask>>;
30188
30188
  unCompleteTask(companyId: bigint, taskId: bigint): Promise<HttpResponse<void>>;
30189
30189
  updateTask(companyId: bigint, taskId: bigint, updateTaskCommand: UpdateTaskCommand): Promise<HttpResponse<Task>>;
30190
30190
  }
@@ -30198,8 +30198,8 @@ export declare function completeTaskOperation(client: ApiClient, companyId: bigi
30198
30198
  export declare function createMultipleTasksOperation(client: ApiClient, bulkImportTasksCommand: BulkImportTasksCommand): Promise<HttpResponse<BulkImportTasksResult>>;
30199
30199
  export declare function createTaskOperation(client: ApiClient, companyId: bigint, createTaskCommand: CreateTaskCommand): Promise<HttpResponse<Task>>;
30200
30200
  export declare function deleteTaskOperation(client: ApiClient, companyId: bigint, taskId: bigint): Promise<HttpResponse<void>>;
30201
- export declare function indexTasksOperation(client: ApiClient, companyId: bigint, search?: Nullable<string>, completed?: Nullable<boolean>, responsibleId?: Nullable<bigint>, dueDateFrom?: Nullable<bigint>, dueDateTo?: Nullable<bigint>, taskIds?: Nullable<KtList<bigint>>, deleted?: Nullable<boolean>, includeDeleted?: Nullable<boolean>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListTask>>;
30202
- export declare function indexTasksUserOperation(client: ApiClient, search?: Nullable<string>, companyIds?: Nullable<KtList<bigint>>, completed?: Nullable<boolean>, responsibleId?: Nullable<bigint>, dueDateFrom?: Nullable<bigint>, dueDateTo?: Nullable<bigint>, taskIds?: Nullable<KtList<bigint>>, deleted?: Nullable<boolean>, includeDeleted?: Nullable<boolean>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListTask>>;
30201
+ export declare function indexTasksOperation(client: ApiClient, companyId: bigint, search?: Nullable<string>, completed?: Nullable<boolean>, responsibleId?: Nullable<bigint>, dueDateFrom?: Nullable<bigint>, dueDateTo?: Nullable<bigint>, taskIds?: Nullable<KtList<bigint>>, deleted?: Nullable<boolean>, includeDeleted?: Nullable<boolean>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>, orderDirection?: Nullable<TaskOrderDirection>): Promise<HttpResponse<PagedListTask>>;
30202
+ export declare function indexTasksUserOperation(client: ApiClient, search?: Nullable<string>, companyIds?: Nullable<KtList<bigint>>, completed?: Nullable<boolean>, responsibleId?: Nullable<bigint>, dueDateFrom?: Nullable<bigint>, dueDateTo?: Nullable<bigint>, taskIds?: Nullable<KtList<bigint>>, deleted?: Nullable<boolean>, includeDeleted?: Nullable<boolean>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>, orderDirection?: Nullable<TaskOrderDirection>): Promise<HttpResponse<PagedListTask>>;
30203
30203
  export declare function unCompleteTaskOperation(client: ApiClient, companyId: bigint, taskId: bigint): Promise<HttpResponse<void>>;
30204
30204
  export declare function updateTaskOperation(client: ApiClient, companyId: bigint, taskId: bigint, updateTaskCommand: UpdateTaskCommand): Promise<HttpResponse<Task>>;
30205
30205
  export declare class BulkImportTaskCommand {
@@ -30462,6 +30462,49 @@ export declare namespace Task {
30462
30462
  const constructor: abstract new () => Task;
30463
30463
  }
30464
30464
  }
30465
+ export declare abstract class TaskOrderDirection {
30466
+ private constructor();
30467
+ static get ASC(): TaskOrderDirection & {
30468
+ get name(): "ASC";
30469
+ get ordinal(): 0;
30470
+ };
30471
+ static get DESC(): TaskOrderDirection & {
30472
+ get name(): "DESC";
30473
+ get ordinal(): 1;
30474
+ };
30475
+ static get Asc(): TaskOrderDirection & {
30476
+ get name(): "ASC";
30477
+ get ordinal(): 0;
30478
+ };
30479
+ static get Desc(): TaskOrderDirection & {
30480
+ get name(): "DESC";
30481
+ get ordinal(): 1;
30482
+ };
30483
+ static values(): [typeof TaskOrderDirection.ASC, typeof TaskOrderDirection.DESC];
30484
+ static valueOf(value: string): TaskOrderDirection;
30485
+ get name(): "ASC" | "DESC";
30486
+ get ordinal(): 0 | 1;
30487
+ get value(): string;
30488
+ toString(): string;
30489
+ }
30490
+ export declare namespace TaskOrderDirection {
30491
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
30492
+ namespace $metadata$ {
30493
+ const constructor: abstract new () => TaskOrderDirection;
30494
+ }
30495
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
30496
+ private constructor();
30497
+ }
30498
+ namespace Companion {
30499
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
30500
+ namespace $metadata$ {
30501
+ abstract class constructor /* implements SerializerFactory */ {
30502
+ fromValue(value: string): Nullable<TaskOrderDirection>;
30503
+ private constructor();
30504
+ }
30505
+ }
30506
+ }
30507
+ }
30465
30508
  export declare class UpdateTaskCommand {
30466
30509
  constructor(description?: Nullable<string>, dueDate?: Nullable<any>/* Nullable<Instant> */, intervalStart?: Nullable<any>/* Nullable<Instant> */, intervalType?: Nullable<RoutineInterval>, intervalValue?: Nullable<bigint>, responsibleId?: Nullable<bigint>, title?: Nullable<string>);
30467
30510
  get description(): Nullable<string>;