@solibo/solibo-sdk 1.27.0 → 1.27.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.
@@ -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, WithTime, WithDate]);
333
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
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
@@ -127,6 +127,8 @@ import type {
127
127
  Company,
128
128
  CompanyDetailed,
129
129
  CompanyOrdinances,
130
+ CompanyPartnerAgreement,
131
+ CompanyPartnerAgreementStatus,
130
132
  CompanyStatus,
131
133
  CompanySubType,
132
134
  CompleteTaskCommand,
@@ -725,6 +727,8 @@ import type {
725
727
  UpdateCommunicationPostNotificationPreferenceCommandProps,
726
728
  UpdateCompanyDetailedCommand,
727
729
  UpdateCompanyDetailedCommandProps,
730
+ UpdateCompanyPartnerAgreementCommand,
731
+ UpdateCompanyPartnerAgreementCommandProps,
728
732
  UpdateCompanyStatusCommand,
729
733
  UpdateCompanyStatusCommandProps,
730
734
  UpdateConversationCategoryCommand,
@@ -1880,6 +1884,10 @@ export interface CompanyApiFacade {
1880
1884
  autoPaginate?: boolean | null | undefined;
1881
1885
  count?: number | null | undefined;
1882
1886
  }): Promise<ProjectionResult<F, PagedListCompanyDetailed>>;
1887
+ indexCompanyPartnerAgreements<F extends string | null | undefined = undefined>(params: {
1888
+ companyId: Id;
1889
+ fields?: F;
1890
+ }): Promise<ProjectionResult<F, CompanyPartnerAgreement[]>>;
1883
1891
  indexCompanySectionTags<F extends string | null | undefined = undefined>(params: {
1884
1892
  companyId: Id;
1885
1893
  fields?: F;
@@ -1906,6 +1914,10 @@ export interface CompanyApiFacade {
1906
1914
  autoPaginate?: boolean | null | undefined;
1907
1915
  count?: number | null | undefined;
1908
1916
  }): Promise<ProjectionResult<F, PagedListCompany>>;
1917
+ indexPartnerAgreements<F extends string | null | undefined = undefined>(params: {
1918
+ partner: string;
1919
+ fields?: F;
1920
+ }): Promise<ProjectionResult<F, CompanyPartnerAgreement[]>>;
1909
1921
  indexSectionTagsBySection<F extends string | null | undefined = undefined>(params: {
1910
1922
  companyId: Id;
1911
1923
  fields?: F;
@@ -1932,6 +1944,11 @@ export interface CompanyApiFacade {
1932
1944
  companyId: Id;
1933
1945
  fields?: F;
1934
1946
  }): Promise<ProjectionResult<F, CompanyOrdinances>>;
1947
+ showCompanyPartnerAgreement<F extends string | null | undefined = undefined>(params: {
1948
+ companyId: Id;
1949
+ partner: string;
1950
+ fields?: F;
1951
+ }): Promise<ProjectionResult<F, CompanyPartnerAgreementStatus>>;
1935
1952
  showImportDraft<F extends string | null | undefined = undefined>(params: {
1936
1953
  draftId: Id;
1937
1954
  fields?: F;
@@ -1957,6 +1974,11 @@ export interface CompanyApiFacade {
1957
1974
  companyId: Id;
1958
1975
  input: UpsertOrdinancesCommand | SdkInput<UpsertOrdinancesCommandProps>;
1959
1976
  }): Promise<SdkResult<CompanyOrdinances>>;
1977
+ updateCompanyPartnerAgreement(params: {
1978
+ companyId: Id;
1979
+ partner: string;
1980
+ input: UpdateCompanyPartnerAgreementCommand | SdkInput<UpdateCompanyPartnerAgreementCommandProps>;
1981
+ }): Promise<SdkResult<CompanyPartnerAgreement>>;
1960
1982
  updateCompanyStatus(params: {
1961
1983
  companyId: Id;
1962
1984
  input: UpdateCompanyStatusCommand | SdkInput<UpdateCompanyStatusCommandProps>;
@@ -3638,6 +3660,7 @@ export interface AuthApiFacade {
3638
3660
  state?: string | null | undefined;
3639
3661
  redirectUri?: string | null | undefined;
3640
3662
  scope?: string | null | undefined;
3663
+ partner?: string | null | undefined;
3641
3664
  }): Promise<SdkResult<void>>;
3642
3665
  mcpRefresh(params: {
3643
3666
  input: McpRefreshRequest | SdkInput<McpRefreshRequestProps>;
package/client.mjs CHANGED
@@ -3029,6 +3029,27 @@ const DESCRIPTORS = {
3029
3029
  "status"
3030
3030
  ]
3031
3031
  },
3032
+ "indexCompanyPartnerAgreements": {
3033
+ "args": [
3034
+ {
3035
+ "name": "companyId",
3036
+ "type": "bigint"
3037
+ },
3038
+ {
3039
+ "name": "fields",
3040
+ "type": "string | null | undefined"
3041
+ }
3042
+ ],
3043
+ "body": null,
3044
+ "bodyType": null,
3045
+ "requiredProjectionFields": [
3046
+ "active",
3047
+ "companyId",
3048
+ "createdAt",
3049
+ "partner",
3050
+ "updatedAt"
3051
+ ]
3052
+ },
3032
3053
  "indexCompanySectionTags": {
3033
3054
  "args": [
3034
3055
  {
@@ -3144,6 +3165,27 @@ const DESCRIPTORS = {
3144
3165
  "tenantId"
3145
3166
  ]
3146
3167
  },
3168
+ "indexPartnerAgreements": {
3169
+ "args": [
3170
+ {
3171
+ "name": "partner",
3172
+ "type": "string"
3173
+ },
3174
+ {
3175
+ "name": "fields",
3176
+ "type": "string | null | undefined"
3177
+ }
3178
+ ],
3179
+ "body": null,
3180
+ "bodyType": null,
3181
+ "requiredProjectionFields": [
3182
+ "active",
3183
+ "companyId",
3184
+ "createdAt",
3185
+ "partner",
3186
+ "updatedAt"
3187
+ ]
3188
+ },
3147
3189
  "indexSectionTagsBySection": {
3148
3190
  "args": [
3149
3191
  {
@@ -3259,6 +3301,29 @@ const DESCRIPTORS = {
3259
3301
  "byLawsValidFrom"
3260
3302
  ]
3261
3303
  },
3304
+ "showCompanyPartnerAgreement": {
3305
+ "args": [
3306
+ {
3307
+ "name": "companyId",
3308
+ "type": "bigint"
3309
+ },
3310
+ {
3311
+ "name": "partner",
3312
+ "type": "string"
3313
+ },
3314
+ {
3315
+ "name": "fields",
3316
+ "type": "string | null | undefined"
3317
+ }
3318
+ ],
3319
+ "body": null,
3320
+ "bodyType": null,
3321
+ "requiredProjectionFields": [
3322
+ "active",
3323
+ "companyId",
3324
+ "partner"
3325
+ ]
3326
+ },
3262
3327
  "showImportDraft": {
3263
3328
  "args": [
3264
3329
  {
@@ -3349,6 +3414,24 @@ const DESCRIPTORS = {
3349
3414
  "body": "upsertOrdinancesCommand",
3350
3415
  "bodyType": "UpsertOrdinancesCommand"
3351
3416
  },
3417
+ "updateCompanyPartnerAgreement": {
3418
+ "args": [
3419
+ {
3420
+ "name": "companyId",
3421
+ "type": "bigint"
3422
+ },
3423
+ {
3424
+ "name": "partner",
3425
+ "type": "string"
3426
+ },
3427
+ {
3428
+ "name": "updateCompanyPartnerAgreementCommand",
3429
+ "type": "UpdateCompanyPartnerAgreementCommand"
3430
+ }
3431
+ ],
3432
+ "body": "updateCompanyPartnerAgreementCommand",
3433
+ "bodyType": "UpdateCompanyPartnerAgreementCommand"
3434
+ },
3352
3435
  "updateCompanyStatus": {
3353
3436
  "args": [
3354
3437
  {
@@ -10175,6 +10258,10 @@ const DESCRIPTORS = {
10175
10258
  {
10176
10259
  "name": "scope",
10177
10260
  "type": "string | null | undefined"
10261
+ },
10262
+ {
10263
+ "name": "partner",
10264
+ "type": "string | null | undefined"
10178
10265
  }
10179
10266
  ],
10180
10267
  "body": null,
@@ -17268,6 +17355,20 @@ const PROPS = {
17268
17355
  "totalOutstandingOverdue": "number",
17269
17356
  "yearlySharedExpenses": "number | null | undefined"
17270
17357
  },
17358
+ "CompanyPartnerAgreementProps": {
17359
+ "active": "boolean",
17360
+ "companyId": "bigint",
17361
+ "createdAt": "SoliboInstant /* Instant */",
17362
+ "createdBy": "bigint | null | undefined",
17363
+ "partner": "string",
17364
+ "updatedAt": "SoliboInstant /* Instant */",
17365
+ "updatedBy": "bigint | null | undefined"
17366
+ },
17367
+ "CompanyPartnerAgreementStatusProps": {
17368
+ "active": "boolean",
17369
+ "companyId": "bigint",
17370
+ "partner": "string"
17371
+ },
17271
17372
  "CompanyRelationProps": {
17272
17373
  "classification": "string",
17273
17374
  "fraction": "string | null | undefined",
@@ -19177,15 +19278,24 @@ const PROPS = {
19177
19278
  "MassUpdateSectionCommandProps": {
19178
19279
  "sections": "MassUpdateSectionProps[]"
19179
19280
  },
19281
+ "McpIdentityProps": {
19282
+ "email": "string | null | undefined",
19283
+ "emailVerified": "boolean",
19284
+ "name": "string | null | undefined",
19285
+ "sub": "string"
19286
+ },
19180
19287
  "McpRefreshRequestProps": {
19181
19288
  "refreshToken": "string"
19182
19289
  },
19183
19290
  "McpTokenRequestProps": {
19184
- "code": "string"
19291
+ "code": "string",
19292
+ "includeIdentity": "boolean | null | undefined"
19185
19293
  },
19186
19294
  "McpTokenResponseProps": {
19187
19295
  "accessTokenEnvelope": "string",
19188
19296
  "expiresIn": "bigint",
19297
+ "identity": "McpIdentityProps | null | undefined",
19298
+ "partner": "string | null | undefined",
19189
19299
  "refreshToken": "string | null | undefined"
19190
19300
  },
19191
19301
  "MeetingProps": {
@@ -21692,6 +21802,9 @@ const PROPS = {
21692
21802
  "UpdateCompanyFeaturesCommandProps": {
21693
21803
  "app": "boolean"
21694
21804
  },
21805
+ "UpdateCompanyPartnerAgreementCommandProps": {
21806
+ "active": "boolean"
21807
+ },
21695
21808
  "UpdateCompanyRelationCommandProps": {
21696
21809
  "classification": "string",
21697
21810
  "fraction": "string | null | undefined",
@@ -22296,7 +22409,9 @@ const PROPS = {
22296
22409
  "idempotencyKey": "string",
22297
22410
  "outcomeUnknown": "boolean",
22298
22411
  "rollbackFailures": "Array<string>",
22299
- "message": "string"
22412
+ "message": "string",
22413
+ "statusCode": "number | null | undefined",
22414
+ "cause": "Error | null | undefined"
22300
22415
  },
22301
22416
  "IntegratedDocumentMutationCancellationExceptionProps": {
22302
22417
  "phase": "string",
@@ -310,7 +310,7 @@ initMetadataForCoroutine($doSelectCOROUTINE$, CoroutineImpl);
310
310
  initMetadataForCoroutine($doSelectSuspendCOROUTINE$, CoroutineImpl);
311
311
  initMetadataForCoroutine($completeCOROUTINE$, CoroutineImpl);
312
312
  initMetadataForCoroutine($processResultAndInvokeBlockRecoveringExceptionCOROUTINE$, CoroutineImpl);
313
- initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
313
+ initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
314
314
  initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
315
315
  function tryLock$default(owner, $super) {
316
316
  owner = owner === VOID ? null : owner;
@@ -10058,7 +10058,7 @@ function ClauseData($outer, clauseObject, regFunc, processResFunc, param, block,
10058
10058
  this.disposableHandleOrSegment_1 = null;
10059
10059
  this.indexInSegment_1 = -1;
10060
10060
  }
10061
- protoOf(ClauseData).tryRegisterAsWaiter_wnojok_k$ = function (select) {
10061
+ protoOf(ClauseData).tryRegisterAsWaiter_kpp8yw_k$ = function (select) {
10062
10062
  // Inline function 'kotlinx.coroutines.assert' call
10063
10063
  // Inline function 'kotlinx.coroutines.assert' call
10064
10064
  this.regFunc_1(this.clauseObject_1, select, this.param_1);
@@ -10322,7 +10322,7 @@ protoOf(SelectImplementation).doSelect_om1v0v_k$ = function ($completion) {
10322
10322
  return tmp.doResume_5yljmg_k$();
10323
10323
  };
10324
10324
  protoOf(SelectImplementation).invoke_43nm97_k$ = function (_this__u8e3s4, block) {
10325
- return this.register$default_bbb1nn_k$(new ClauseData(this, _this__u8e3s4.get_clauseObject_ilo9nb_k$(), _this__u8e3s4.get_regFunc_j7ktjj_k$(), _this__u8e3s4.get_processResFunc_ky2xuq_k$(), get_PARAM_CLAUSE_0(), block, _this__u8e3s4.get_onCancellationConstructor_4kgej5_k$()));
10325
+ return this.register$default_acgh9r_k$(new ClauseData(this, _this__u8e3s4.get_clauseObject_ilo9nb_k$(), _this__u8e3s4.get_regFunc_j7ktjj_k$(), _this__u8e3s4.get_processResFunc_ky2xuq_k$(), get_PARAM_CLAUSE_0(), block, _this__u8e3s4.get_onCancellationConstructor_4kgej5_k$()));
10326
10326
  };
10327
10327
  protoOf(SelectImplementation).register_4szh8u_k$ = function (_this__u8e3s4, reregister) {
10328
10328
  // Inline function 'kotlinx.coroutines.assert' call
@@ -10332,7 +10332,7 @@ protoOf(SelectImplementation).register_4szh8u_k$ = function (_this__u8e3s4, rere
10332
10332
  if (!reregister) {
10333
10333
  checkClauseObject(this, _this__u8e3s4.clauseObject_1);
10334
10334
  }
10335
- if (_this__u8e3s4.tryRegisterAsWaiter_wnojok_k$(this)) {
10335
+ if (_this__u8e3s4.tryRegisterAsWaiter_kpp8yw_k$(this)) {
10336
10336
  if (!reregister) {
10337
10337
  // Inline function 'kotlin.collections.plusAssign' call
10338
10338
  ensureNotNull(this.clauses_1).add_utx5q5_k$(_this__u8e3s4);
@@ -10345,7 +10345,7 @@ protoOf(SelectImplementation).register_4szh8u_k$ = function (_this__u8e3s4, rere
10345
10345
  this.state_1.kotlinx$atomicfu$value = _this__u8e3s4;
10346
10346
  }
10347
10347
  };
10348
- protoOf(SelectImplementation).register$default_bbb1nn_k$ = function (_this__u8e3s4, reregister, $super) {
10348
+ protoOf(SelectImplementation).register$default_acgh9r_k$ = function (_this__u8e3s4, reregister, $super) {
10349
10349
  reregister = reregister === VOID ? false : reregister;
10350
10350
  var tmp;
10351
10351
  if ($super === VOID) {
package/package.json CHANGED
@@ -23,7 +23,7 @@
23
23
  "url": "git+https://github.com/Solibo-AS/solibo-sdk.git",
24
24
  "directory": "sdk"
25
25
  },
26
- "version": "1.27.0",
26
+ "version": "1.27.1",
27
27
  "name": "@solibo/solibo-sdk",
28
28
  "dependencies": {
29
29
  "@js-joda/core": "6.1.0",