@solibo/solibo-sdk 1.28.1 → 1.28.2-e01eb9c-1791575867942-SNAPSHOT

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.
@@ -330,7 +330,7 @@ function addFormatStructureForDate(structure) {
330
330
  function addFormatStructureForTime(structure) {
331
331
  this.addFormatStructureForDateTime_noiy5b_k$(structure);
332
332
  }
333
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
333
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
334
334
  initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder]);
335
335
  initMetadataForClass(LocalDateTimeFormat, 'LocalDateTimeFormat', VOID, AbstractDateTimeFormat);
336
336
  function set_fractionOfSecond(value) {
package/client.d.mts CHANGED
@@ -125,6 +125,7 @@ import type {
125
125
  CommunicationReport,
126
126
  CommunicationState,
127
127
  Company,
128
+ CompanyAddress,
128
129
  CompanyDetailed,
129
130
  CompanyOrdinances,
130
131
  CompanyPartnerAgreement,
@@ -167,6 +168,8 @@ import type {
167
168
  CreateChangeRequestCommandProps,
168
169
  CreateCommunicationCommentCommand,
169
170
  CreateCommunicationCommentCommandProps,
171
+ CreateCompanyAddressCommand,
172
+ CreateCompanyAddressCommandProps,
170
173
  CreateConversationCategoryCommand,
171
174
  CreateConversationCategoryCommandProps,
172
175
  CreateConversationCommand,
@@ -726,6 +729,8 @@ import type {
726
729
  UpdateCommunicationModerationStatusCommandProps,
727
730
  UpdateCommunicationPostNotificationPreferenceCommand,
728
731
  UpdateCommunicationPostNotificationPreferenceCommandProps,
732
+ UpdateCompanyAddressCommand,
733
+ UpdateCompanyAddressCommandProps,
729
734
  UpdateCompanyDetailedCommand,
730
735
  UpdateCompanyDetailedCommandProps,
731
736
  UpdateCompanyPartnerAgreementCommand,
@@ -1838,6 +1843,10 @@ export interface ConversationApiFacade {
1838
1843
  }
1839
1844
 
1840
1845
  export interface CompanyApiFacade {
1846
+ createCompanyAddress(params: {
1847
+ companyId: Id;
1848
+ input: CreateCompanyAddressCommand | SdkInput<CreateCompanyAddressCommandProps>;
1849
+ }): Promise<SdkResult<CompanyAddress>>;
1841
1850
  createImportDraftBRL(params: {
1842
1851
  input: BorettslagSearchCommand | SdkInput<BorettslagSearchCommandProps>;
1843
1852
  }): Promise<SdkResult<void>>;
@@ -1850,6 +1859,10 @@ export interface CompanyApiFacade {
1850
1859
  createImportDraftSameieMatrikkel(params: {
1851
1860
  input: SameieMatrikkelSearchCommand | SdkInput<SameieMatrikkelSearchCommandProps>;
1852
1861
  }): Promise<SdkResult<void>>;
1862
+ deleteCompanyAddress(params: {
1863
+ companyId: Id;
1864
+ addressId: Id;
1865
+ }): Promise<SdkResult<void>>;
1853
1866
  indexActiveAdministrators<F extends string | null | undefined = undefined>(params: {
1854
1867
  fields?: F;
1855
1868
  }): Promise<ProjectionResult<F, SoliboContacts>>;
@@ -1968,6 +1981,11 @@ export interface CompanyApiFacade {
1968
1981
  companyId: Id;
1969
1982
  input: UpdateManagementCommand | SdkInput<UpdateManagementCommandProps>;
1970
1983
  }): Promise<SdkResult<Person[]>>;
1984
+ updateCompanyAddress(params: {
1985
+ companyId: Id;
1986
+ addressId: Id;
1987
+ input: UpdateCompanyAddressCommand | SdkInput<UpdateCompanyAddressCommandProps>;
1988
+ }): Promise<SdkResult<CompanyAddress>>;
1971
1989
  updateCompanyDetailed(params: {
1972
1990
  companyId: Id;
1973
1991
  input: UpdateCompanyDetailedCommand | SdkInput<UpdateCompanyDetailedCommandProps>;
package/client.mjs CHANGED
@@ -2830,6 +2830,20 @@ const DESCRIPTORS = {
2830
2830
  }
2831
2831
  },
2832
2832
  "companies": {
2833
+ "createCompanyAddress": {
2834
+ "args": [
2835
+ {
2836
+ "name": "companyId",
2837
+ "type": "bigint"
2838
+ },
2839
+ {
2840
+ "name": "createCompanyAddressCommand",
2841
+ "type": "CreateCompanyAddressCommand"
2842
+ }
2843
+ ],
2844
+ "body": "createCompanyAddressCommand",
2845
+ "bodyType": "CreateCompanyAddressCommand"
2846
+ },
2833
2847
  "createImportDraftBRL": {
2834
2848
  "args": [
2835
2849
  {
@@ -2870,6 +2884,20 @@ const DESCRIPTORS = {
2870
2884
  "body": "sameieMatrikkelSearchCommand",
2871
2885
  "bodyType": "SameieMatrikkelSearchCommand"
2872
2886
  },
2887
+ "deleteCompanyAddress": {
2888
+ "args": [
2889
+ {
2890
+ "name": "companyId",
2891
+ "type": "bigint"
2892
+ },
2893
+ {
2894
+ "name": "addressId",
2895
+ "type": "bigint"
2896
+ }
2897
+ ],
2898
+ "body": null,
2899
+ "bodyType": null
2900
+ },
2873
2901
  "indexActiveAdministrators": {
2874
2902
  "args": [
2875
2903
  {
@@ -3386,6 +3414,24 @@ const DESCRIPTORS = {
3386
3414
  "body": "updateManagementCommand",
3387
3415
  "bodyType": "UpdateManagementCommand"
3388
3416
  },
3417
+ "updateCompanyAddress": {
3418
+ "args": [
3419
+ {
3420
+ "name": "companyId",
3421
+ "type": "bigint"
3422
+ },
3423
+ {
3424
+ "name": "addressId",
3425
+ "type": "bigint"
3426
+ },
3427
+ {
3428
+ "name": "updateCompanyAddressCommand",
3429
+ "type": "UpdateCompanyAddressCommand"
3430
+ }
3431
+ ],
3432
+ "body": "updateCompanyAddressCommand",
3433
+ "bodyType": "UpdateCompanyAddressCommand"
3434
+ },
3389
3435
  "updateCompanyDetailed": {
3390
3436
  "args": [
3391
3437
  {
@@ -17684,6 +17730,12 @@ const PROPS = {
17684
17730
  "storageRooms": "CreateStorageRoomProps[] | null | undefined",
17685
17731
  "subTypes": "CompanySubType[] | null | undefined"
17686
17732
  },
17733
+ "CreateCompanyAddressCommandProps": {
17734
+ "area": "string | null | undefined",
17735
+ "countryId": "bigint | null | undefined",
17736
+ "streetAddress": "string",
17737
+ "zipCode": "string | null | undefined"
17738
+ },
17687
17739
  "CreateConversationCategoryCommandProps": {
17688
17740
  "coResponsibleIds": "bigint[] | null | undefined",
17689
17741
  "color": "CategoryColor | null | undefined",
@@ -21783,6 +21835,12 @@ const PROPS = {
21783
21835
  "UpdateCommunicationPostNotificationPreferenceCommandProps": {
21784
21836
  "notificationsEnabled": "boolean"
21785
21837
  },
21838
+ "UpdateCompanyAddressCommandProps": {
21839
+ "area": "string | null | undefined",
21840
+ "countryId": "bigint | null | undefined",
21841
+ "streetAddress": "string",
21842
+ "zipCode": "string | null | undefined"
21843
+ },
21786
21844
  "UpdateCompanyAvtaleCommandProps": {
21787
21845
  "annualMeetingIncluded": "boolean | null | undefined",
21788
21846
  "economicReportsIncluded": "bigint | null | undefined",
@@ -243,6 +243,11 @@ initMetadataForClass(SendBroadcast, 'SendBroadcast', VOID, VOID, [Waiter]);
243
243
  initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, VOID, [Waiter], [0, 3]);
244
244
  initMetadataForCoroutine($sendCOROUTINE$, CoroutineImpl);
245
245
  initMetadataForCoroutine($receiveCOROUTINE$, CoroutineImpl);
246
+ function close$default(cause, $super) {
247
+ cause = cause === VOID ? null : cause;
248
+ return $super === VOID ? this.close_ukldxa_k$(cause) : $super.close_ukldxa_k$.call(this, cause);
249
+ }
250
+ initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
246
251
  function cancel$default_0(cause, $super) {
247
252
  cause = cause === VOID ? null : cause;
248
253
  var tmp;
@@ -255,12 +260,7 @@ function cancel$default_0(cause, $super) {
255
260
  return tmp;
256
261
  }
257
262
  initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
258
- function close$default(cause, $super) {
259
- cause = cause === VOID ? null : cause;
260
- return $super === VOID ? this.close_ukldxa_k$(cause) : $super.close_ukldxa_k$.call(this, cause);
261
- }
262
- initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
263
- initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
263
+ initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
264
264
  initMetadataForClass(WaiterEB, 'WaiterEB');
265
265
  initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
266
266
  initMetadataForObject(Factory, 'Factory');
@@ -270,7 +270,7 @@ initMetadataForCompanion(Companion);
270
270
  initMetadataForClass(ChannelResult, 'ChannelResult');
271
271
  initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
272
272
  initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
273
- initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [ReceiveChannel, SendChannel], [1, 0]);
273
+ initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [SendChannel, ReceiveChannel], [1, 0]);
274
274
  initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
275
275
  initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
276
276
  initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ProducerScope], [1, 0]);