@solibo/solibo-sdk 1.58.3 → 1.58.4

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.
@@ -1,3 +1,3 @@
1
1
  // Generated by sdk/scripts/generate-js-facade.mjs. Do not edit.
2
2
  export type { DocumentsApiFacade } from '../client.mjs';
3
- export { BatchMoveDocumentsCommand, BatchRestoreDocumentsCommand, BatchTrashDocumentsCommand, CreateDocumentReferenceCommand, DocumentApi, DocumentUpload, DocumentUploadOptions, DocumentUploadTicket, DocumentUrl, DocumentsApi, DownloadDocumentRequest, Office365CustomerConnectCommand, Office365CustomerDisconnect, Office365EditSession, Office365EditSessionActorKind, Office365EditSessionConflict, Office365InternalDocumentPublishRequest, Office365InternalDocumentPublishRequestCommand, Office365ManagedDocumentCandidateClassificationRequest, Office365ManagedDocumentCandidateCompany, Office365ManagedDocumentCandidateReview, Office365ManagedDocumentCandidateReviewCandidate, Office365ManagedDocumentCandidateUploader, Office365ManagedDocumentCopyRequest, PagedListDocumentType, PagedListDocumentUrl, PagedListOffice365ManagedDocumentCandidateReviewCandidate, RenameDocumentCommand, RestoreDocumentCommand, UpdateDocumentCommand, UploadBinaryRequest, UploadDocumentRequest, UploadProgress, abortDocumentUploadTicketOperation, beginOffice365CustomerConnectionOperation, classifyOffice365ManagedDocumentCandidateOperation, completeSignedUpload, copyOffice365ManagedDocumentOperation, createDocumentBelongsToOperation, createDocumentOperation, createDocumentReferenceOperation, createDocumentUploadTicketOperation, deleteDocumentOperation, discardOffice365ManagedDocumentCandidateOperation, disconnectOffice365CustomerConnectionOperation, documentsApi, downloadDocument, encodeDocumentTransform, indexDocumentBelongsToOperation, indexDocumentsUserOperation, listDocumentByTypeOperation, listDocumentOperation, listOffice365ManagedDocumentCandidatesOperation, moveDocumentOperation, moveMultipleDocumentsOperation, openOffice365DocumentEditSessionOperation, renameDocumentOperation, requestOffice365InternalDocumentPublishOperation, restoreDocumentOperation, restoreMultipleDocumentsOperation, searchDocumentsOperation, showCompanyTypeDirectoryZipOperation, showDirectoryZipOperation, showDocumentOperation, showDocumentTypesOperation, showDocumentUrlsOperation, showOffice365ManagedDocumentCandidateOperation, showPublicDocumentOperation, showPublicDocumentUrlsOperation, showTypeDirectoryZipOperation, trashDocumentOperation, trashMultipleDocumentsOperation, updateDocumentOperation, uploadClientFor, uploadDocument } from '../solibo-sdk-sdk.mjs';
3
+ export { BatchMoveDocumentsCommand, BatchRestoreDocumentsCommand, BatchTrashDocumentsCommand, CreateDocumentReferenceCommand, DocumentApi, DocumentUpload, DocumentUploadOptions, DocumentUploadTicket, DocumentUrl, DocumentsApi, DownloadDocumentRequest, Office365CustomerConnectCommand, Office365CustomerDisconnect, Office365EditSession, Office365EditSessionActorKind, Office365EditSessionConflict, Office365InternalDocumentPublishRequest, Office365InternalDocumentPublishRequestCommand, Office365ManagedDocumentCandidateClassificationRequest, Office365ManagedDocumentCandidateCompany, Office365ManagedDocumentCandidateReview, Office365ManagedDocumentCandidateReviewCandidate, Office365ManagedDocumentCandidateUploader, Office365ManagedDocumentCopyRequest, PagedListDocumentType, PagedListDocumentUrl, PagedListOffice365ManagedDocumentCandidateReviewCandidate, RenameDocumentCommand, RestoreDocumentCommand, UpdateDocumentCommand, UploadBinaryRequest, UploadDocumentRequest, UploadProgress, abortDocumentUploadTicketOperation, beginOffice365CustomerConnectionOperation, classifyOffice365ManagedDocumentCandidateOperation, completeSignedUpload, copyOffice365ManagedDocumentOperation, createDocumentBelongsToOperation, createDocumentOperation, createDocumentReferenceOperation, createDocumentUploadTicketOperation, deleteDocumentOperation, discardOffice365ManagedDocumentCandidateOperation, disconnectOffice365CustomerConnectionOperation, documentsApi, downloadDocument, encodeDocumentTransform, indexDocumentBelongsToOperation, indexDocumentsUserOperation, listDocumentByTypeOperation, listDocumentOperation, listOffice365ManagedDocumentCandidatesOperation, moveDocumentOperation, moveMultipleDocumentsOperation, openOffice365DocumentEditSessionOperation, renameDocumentOperation, requestOffice365InternalDocumentPublishOperation, restoreDocumentOperation, restoreMultipleDocumentsOperation, searchDocumentsOperation, showCompanyTypeDirectoryZipOperation, showDirectoryZipOperation, showDocumentOperation, showDocumentTypesOperation, showDocumentUploadTicketPreviewOperation, showDocumentUrlsOperation, showOffice365ManagedDocumentCandidateOperation, showPublicDocumentOperation, showPublicDocumentUrlsOperation, showTypeDirectoryZipOperation, trashDocumentOperation, trashMultipleDocumentsOperation, updateDocumentOperation, uploadClientFor, uploadDocument } from '../solibo-sdk-sdk.mjs';
@@ -715,6 +715,31 @@ const DESCRIPTORS = {
715
715
  "bodyType": null,
716
716
  "requiredProjectionFields": []
717
717
  },
718
+ "showDocumentUploadTicketPreview": {
719
+ "args": [
720
+ {
721
+ "name": "companyId",
722
+ "type": "bigint"
723
+ },
724
+ {
725
+ "name": "ticketId",
726
+ "type": "string"
727
+ },
728
+ {
729
+ "name": "redirect",
730
+ "type": "boolean | null | undefined"
731
+ },
732
+ {
733
+ "name": "fields",
734
+ "type": "string | null | undefined"
735
+ }
736
+ ],
737
+ "body": null,
738
+ "bodyType": null,
739
+ "requiredProjectionFields": [
740
+ "url"
741
+ ]
742
+ },
718
743
  "showDocumentUrls": {
719
744
  "args": [
720
745
  {
package/client.d.mts CHANGED
@@ -2024,6 +2024,12 @@ export interface DocumentsApiFacade {
2024
2024
  autoPaginate?: boolean | null | undefined;
2025
2025
  count?: number | null | undefined;
2026
2026
  }): Promise<ProjectionResult<F, PagedListDocumentType>>;
2027
+ showDocumentUploadTicketPreview<F extends string | null | undefined = undefined>(params: {
2028
+ companyId: Id;
2029
+ ticketId: string;
2030
+ redirect?: boolean | null | undefined;
2031
+ fields?: F;
2032
+ }): Promise<ProjectionResult<F, UrlWrapper>>;
2027
2033
  showDocumentUrls<F extends string | null | undefined = undefined>(params: {
2028
2034
  companyId: Id;
2029
2035
  documentIds: ReadonlyArray<Id>;
@@ -2290,6 +2296,12 @@ export interface DocumentsApiOperations {
2290
2296
  autoPaginate?: boolean | null | undefined;
2291
2297
  count?: number | null | undefined;
2292
2298
  }): Promise<ProjectionResult<F, PagedListDocumentType>>;
2299
+ showDocumentUploadTicketPreview<F extends string | null | undefined = undefined>(client: SoliboOperationClient, params: {
2300
+ companyId: Id;
2301
+ ticketId: string;
2302
+ redirect?: boolean | null | undefined;
2303
+ fields?: F;
2304
+ }): Promise<ProjectionResult<F, UrlWrapper>>;
2293
2305
  showDocumentUrls<F extends string | null | undefined = undefined>(client: SoliboOperationClient, params: {
2294
2306
  companyId: Id;
2295
2307
  documentIds: ReadonlyArray<Id>;
@@ -5,8 +5,8 @@ import { protoOf180f3jzyo7rfj as protoOf } from '../../../../kotlin-kotlin-stdli
5
5
  import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from '../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
6
6
  import {
7
7
  close$default2suggcywjwe8g as close$default,
8
- ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
9
8
  SendChannel38sllbxw662ws as SendChannel,
9
+ ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
10
10
  } from './Channel.mjs';
11
11
  import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from '../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
12
12
  import { VOID3gxj6tk5isa35 as VOID } from '../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
@@ -17,7 +17,7 @@ import { VOID3gxj6tk5isa35 as VOID } from '../../../../kotlin-kotlin-stdlib/kotl
17
17
  var ChannelCoroutineClass;
18
18
  function ChannelCoroutine() {
19
19
  if (ChannelCoroutineClass === VOID) {
20
- initMetadataForClass($, 'ChannelCoroutine', VOID, AbstractCoroutine(), [ReceiveChannel(), SendChannel()], [1, 0]);
20
+ initMetadataForClass($, 'ChannelCoroutine', VOID, AbstractCoroutine(), [SendChannel(), ReceiveChannel()], [1, 0]);
21
21
  function $(parentContext, _channel, initParentJob, active) {
22
22
  AbstractCoroutine().call(this, parentContext, initParentJob, active);
23
23
  this._channel_1 = _channel;
@@ -24,8 +24,8 @@ import {
24
24
  _ChannelResult___get_isClosed__impl__mg7kuul2jcxqhngcqm as _ChannelResult___get_isClosed__impl__mg7kuu,
25
25
  close$default2suggcywjwe8g as close$default,
26
26
  cancel$default3v09jht7i082i as cancel$default,
27
- ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
28
27
  SendChannel38sllbxw662ws as SendChannel,
28
+ ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
29
29
  } from '../../../../kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs';
30
30
  import { Enum3alwj03lh1n41 as Enum } from '../../../../kotlin-kotlin-stdlib/kotlin/Enum.mjs';
31
31
  import { throwUninitializedPropertyAccessException14fok093f3k3t as throwUninitializedPropertyAccessException } from '../../../../kotlin-kotlin-stdlib/kotlin/internal/ThrowHelpers.mjs';
@@ -190,7 +190,7 @@ function Companion_getInstance_1() {
190
190
  var BoundedChannelClass;
191
191
  function BoundedChannel() {
192
192
  if (BoundedChannelClass === VOID) {
193
- initMetadataForClass($, 'BoundedChannel', VOID, VOID, [ReceiveChannel(), SendChannel()], [1, 0]);
193
+ initMetadataForClass($, 'BoundedChannel', VOID, VOID, [SendChannel(), ReceiveChannel()], [1, 0]);
194
194
  function $(capacity, delegate) {
195
195
  delegate = delegate === VOID ? Companion_instance_1.createDelegate_n5r3h5_k$(capacity) : delegate;
196
196
  this.delegate_1 = delegate;
@@ -1,6 +1,6 @@
1
1
  // Generated by sdk/scripts/generate-js-facade.mjs. Do not edit.
2
2
  import type { DocumentsApiOperations } from '../client.mjs';
3
- export { BatchMoveDocumentsCommand, BatchRestoreDocumentsCommand, BatchTrashDocumentsCommand, CreateDocumentReferenceCommand, DocumentApi, DocumentUpload, DocumentUploadOptions, DocumentUploadTicket, DocumentUrl, DocumentsApi, DownloadDocumentRequest, Office365CustomerConnectCommand, Office365CustomerDisconnect, Office365EditSession, Office365EditSessionActorKind, Office365EditSessionConflict, Office365InternalDocumentPublishRequest, Office365InternalDocumentPublishRequestCommand, Office365ManagedDocumentCandidateClassificationRequest, Office365ManagedDocumentCandidateCompany, Office365ManagedDocumentCandidateReview, Office365ManagedDocumentCandidateReviewCandidate, Office365ManagedDocumentCandidateUploader, Office365ManagedDocumentCopyRequest, PagedListDocumentType, PagedListDocumentUrl, PagedListOffice365ManagedDocumentCandidateReviewCandidate, RenameDocumentCommand, RestoreDocumentCommand, UpdateDocumentCommand, UploadBinaryRequest, UploadDocumentRequest, UploadProgress, abortDocumentUploadTicketOperation, beginOffice365CustomerConnectionOperation, classifyOffice365ManagedDocumentCandidateOperation, completeSignedUpload, copyOffice365ManagedDocumentOperation, createDocumentBelongsToOperation, createDocumentOperation, createDocumentReferenceOperation, createDocumentUploadTicketOperation, deleteDocumentOperation, discardOffice365ManagedDocumentCandidateOperation, disconnectOffice365CustomerConnectionOperation, documentsApi, downloadDocument, encodeDocumentTransform, indexDocumentBelongsToOperation, indexDocumentsUserOperation, listDocumentByTypeOperation, listDocumentOperation, listOffice365ManagedDocumentCandidatesOperation, moveDocumentOperation, moveMultipleDocumentsOperation, openOffice365DocumentEditSessionOperation, renameDocumentOperation, requestOffice365InternalDocumentPublishOperation, restoreDocumentOperation, restoreMultipleDocumentsOperation, searchDocumentsOperation, showCompanyTypeDirectoryZipOperation, showDirectoryZipOperation, showDocumentOperation, showDocumentTypesOperation, showDocumentUrlsOperation, showOffice365ManagedDocumentCandidateOperation, showPublicDocumentOperation, showPublicDocumentUrlsOperation, showTypeDirectoryZipOperation, trashDocumentOperation, trashMultipleDocumentsOperation, updateDocumentOperation, uploadClientFor, uploadDocument } from '../solibo-sdk-sdk.mjs';
3
+ export { BatchMoveDocumentsCommand, BatchRestoreDocumentsCommand, BatchTrashDocumentsCommand, CreateDocumentReferenceCommand, DocumentApi, DocumentUpload, DocumentUploadOptions, DocumentUploadTicket, DocumentUrl, DocumentsApi, DownloadDocumentRequest, Office365CustomerConnectCommand, Office365CustomerDisconnect, Office365EditSession, Office365EditSessionActorKind, Office365EditSessionConflict, Office365InternalDocumentPublishRequest, Office365InternalDocumentPublishRequestCommand, Office365ManagedDocumentCandidateClassificationRequest, Office365ManagedDocumentCandidateCompany, Office365ManagedDocumentCandidateReview, Office365ManagedDocumentCandidateReviewCandidate, Office365ManagedDocumentCandidateUploader, Office365ManagedDocumentCopyRequest, PagedListDocumentType, PagedListDocumentUrl, PagedListOffice365ManagedDocumentCandidateReviewCandidate, RenameDocumentCommand, RestoreDocumentCommand, UpdateDocumentCommand, UploadBinaryRequest, UploadDocumentRequest, UploadProgress, abortDocumentUploadTicketOperation, beginOffice365CustomerConnectionOperation, classifyOffice365ManagedDocumentCandidateOperation, completeSignedUpload, copyOffice365ManagedDocumentOperation, createDocumentBelongsToOperation, createDocumentOperation, createDocumentReferenceOperation, createDocumentUploadTicketOperation, deleteDocumentOperation, discardOffice365ManagedDocumentCandidateOperation, disconnectOffice365CustomerConnectionOperation, documentsApi, downloadDocument, encodeDocumentTransform, indexDocumentBelongsToOperation, indexDocumentsUserOperation, listDocumentByTypeOperation, listDocumentOperation, listOffice365ManagedDocumentCandidatesOperation, moveDocumentOperation, moveMultipleDocumentsOperation, openOffice365DocumentEditSessionOperation, renameDocumentOperation, requestOffice365InternalDocumentPublishOperation, restoreDocumentOperation, restoreMultipleDocumentsOperation, searchDocumentsOperation, showCompanyTypeDirectoryZipOperation, showDirectoryZipOperation, showDocumentOperation, showDocumentTypesOperation, showDocumentUploadTicketPreviewOperation, showDocumentUrlsOperation, showOffice365ManagedDocumentCandidateOperation, showPublicDocumentOperation, showPublicDocumentUrlsOperation, showTypeDirectoryZipOperation, trashDocumentOperation, trashMultipleDocumentsOperation, updateDocumentOperation, uploadClientFor, uploadDocument } from '../solibo-sdk-sdk.mjs';
4
4
 
5
5
  export declare const abortDocumentUploadTicket: DocumentsApiOperations['abortDocumentUploadTicket'];
6
6
  export declare const beginOffice365CustomerConnection: DocumentsApiOperations['beginOffice365CustomerConnection'];
@@ -30,6 +30,7 @@ export declare const showCompanyTypeDirectoryZip: DocumentsApiOperations['showCo
30
30
  export declare const showDirectoryZip: DocumentsApiOperations['showDirectoryZip'];
31
31
  export declare const showDocument: DocumentsApiOperations['showDocument'];
32
32
  export declare const showDocumentTypes: DocumentsApiOperations['showDocumentTypes'];
33
+ export declare const showDocumentUploadTicketPreview: DocumentsApiOperations['showDocumentUploadTicketPreview'];
33
34
  export declare const showDocumentUrls: DocumentsApiOperations['showDocumentUrls'];
34
35
  export declare const showOffice365ManagedDocumentCandidate: DocumentsApiOperations['showOffice365ManagedDocumentCandidate'];
35
36
  export declare const showPublicDocument: DocumentsApiOperations['showPublicDocument'];
@@ -32,6 +32,7 @@ import {
32
32
  showDirectoryZipOperation,
33
33
  showDocumentOperation,
34
34
  showDocumentTypesOperation,
35
+ showDocumentUploadTicketPreviewOperation,
35
36
  showDocumentUrlsOperation,
36
37
  showOffice365ManagedDocumentCandidateOperation,
37
38
  showPublicDocumentOperation,
@@ -157,6 +158,10 @@ export function showDocumentTypes(client, params) {
157
158
  return invokeOperation(client, "documents", showDocumentTypesOperation, {"method":"showDocumentTypes","args":[{"name":"companyId","type":"bigint"},{"name":"fields","type":"string | null | undefined"},{"name":"pageToken","type":"string | null | undefined"},{"name":"autoPaginate","type":"boolean | null | undefined"},{"name":"count","type":"number | null | undefined"}],"body":null,"bodyType":null,"requiredProjectionFields":[]}, params);
158
159
  }
159
160
 
161
+ export function showDocumentUploadTicketPreview(client, params) {
162
+ return invokeOperation(client, "documents", showDocumentUploadTicketPreviewOperation, {"method":"showDocumentUploadTicketPreview","args":[{"name":"companyId","type":"bigint"},{"name":"ticketId","type":"string"},{"name":"redirect","type":"boolean | null | undefined"},{"name":"fields","type":"string | null | undefined"}],"body":null,"bodyType":null,"requiredProjectionFields":["url"]}, params);
163
+ }
164
+
160
165
  export function showDocumentUrls(client, params) {
161
166
  return invokeOperation(client, "documents", showDocumentUrlsOperation, {"method":"showDocumentUrls","args":[{"name":"companyId","type":"bigint"},{"name":"documentIds","type":"bigint[]"},{"name":"size","type":"string | null | undefined"},{"name":"fit","type":"string | null | undefined"},{"name":"position","type":"string | null | undefined"},{"name":"format","type":"string | null | undefined"},{"name":"quality","type":"string | null | undefined"},{"name":"upscale","type":"string | null | undefined"},{"name":"background","type":"string | null | undefined"},{"name":"fields","type":"string | null | undefined"},{"name":"pageToken","type":"string | null | undefined"},{"name":"autoPaginate","type":"boolean | null | undefined"},{"name":"count","type":"number | null | undefined"},{"name":"disposition","type":"DownloadDisposition | null | undefined"}],"body":null,"bodyType":null,"requiredProjectionFields":["documentId","expiresAt","url"]}, params);
162
167
  }
package/package.json CHANGED
@@ -23,7 +23,7 @@
23
23
  "url": "https://github.com/Solibo-AS/solibo-sdk.git",
24
24
  "directory": "sdk"
25
25
  },
26
- "version": "1.58.3",
26
+ "version": "1.58.4",
27
27
  "name": "@solibo/solibo-sdk",
28
28
  "dependencies": {
29
29
  "@js-joda/core": "6.1.0",
@@ -2776,7 +2776,7 @@ function ClauseData() {
2776
2776
  this.indexInSegment_1 = -1;
2777
2777
  };
2778
2778
  initMetadataForClass13($, "ClauseData", VOID18, VOID18, VOID18, [1]);
2779
- protoOf17($).tryRegisterAsWaiter_wnojok_k$ = function(select) {
2779
+ protoOf17($).tryRegisterAsWaiter_kpp8yw_k$ = function(select) {
2780
2780
  this.regFunc_1(this.clauseObject_1, select, this.param_1);
2781
2781
  return select.internalResult_1 === get_NO_RESULT();
2782
2782
  };
@@ -3060,7 +3060,7 @@ function SelectImplementation() {
3060
3060
  this.indexInSegment_1 = -1;
3061
3061
  this.internalResult_1 = get_NO_RESULT();
3062
3062
  };
3063
- initMetadataForClass13($, "SelectImplementation", VOID18, VOID18, [CancelHandler(), SelectInstance(), Waiter2()], [0, 2]);
3063
+ initMetadataForClass13($, "SelectImplementation", VOID18, VOID18, [CancelHandler(), Waiter2(), SelectInstance()], [0, 2]);
3064
3064
  protoOf17($).get_context_h02k06_k$ = function() {
3065
3065
  return this.context_1;
3066
3066
  };
@@ -3071,10 +3071,10 @@ function SelectImplementation() {
3071
3071
  return tmp.doResume_5yljmg_k$();
3072
3072
  };
3073
3073
  protoOf17($).invoke_43nm97_k$ = function(_this__u8e3s4, block) {
3074
- 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$()));
3074
+ 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$()));
3075
3075
  };
3076
3076
  protoOf17($).invoke_8p69io_k$ = function(_this__u8e3s4, block) {
3077
- 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$(), null, block, _this__u8e3s4.get_onCancellationConstructor_4kgej5_k$()));
3077
+ 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$(), null, block, _this__u8e3s4.get_onCancellationConstructor_4kgej5_k$()));
3078
3078
  };
3079
3079
  protoOf17($).register_4szh8u_k$ = function(_this__u8e3s4, reregister) {
3080
3080
  if (this.state_1.kotlinx$atomicfu$value instanceof ClauseData())
@@ -3082,7 +3082,7 @@ function SelectImplementation() {
3082
3082
  if (!reregister) {
3083
3083
  checkClauseObject(this, _this__u8e3s4.clauseObject_1);
3084
3084
  }
3085
- if (_this__u8e3s4.tryRegisterAsWaiter_wnojok_k$(this)) {
3085
+ if (_this__u8e3s4.tryRegisterAsWaiter_kpp8yw_k$(this)) {
3086
3086
  if (!reregister) {
3087
3087
  ensureNotNull2(this.clauses_1).add_utx5q5_k$(_this__u8e3s4);
3088
3088
  }
@@ -3094,7 +3094,7 @@ function SelectImplementation() {
3094
3094
  this.state_1.kotlinx$atomicfu$value = _this__u8e3s4;
3095
3095
  }
3096
3096
  };
3097
- protoOf17($).register$default_bbb1nn_k$ = function(_this__u8e3s4, reregister, $super) {
3097
+ protoOf17($).register$default_acgh9r_k$ = function(_this__u8e3s4, reregister, $super) {
3098
3098
  reregister = reregister === VOID18 ? false : reregister;
3099
3099
  var tmp;
3100
3100
  if ($super === VOID18) {
@@ -2550,7 +2550,7 @@ function BufferedChannel() {
2550
2550
  this._closeCause_1 = atomic$ref$1(get_NO_CLOSE_CAUSE());
2551
2551
  this.closeHandler_1 = atomic$ref$1(null);
2552
2552
  };
2553
- initMetadataForClass($, "BufferedChannel", VOID, VOID, [ReceiveChannel(), SendChannel()], [1, 4, 0, 3]);
2553
+ initMetadataForClass($, "BufferedChannel", VOID, VOID, [SendChannel(), ReceiveChannel()], [1, 4, 0, 3]);
2554
2554
  protoOf($).get_sendersCounter_mvbt0m_k$ = function() {
2555
2555
  return this.sendersAndCloseStatus_1.kotlinx$atomicfu$value & 1152921504606846975n;
2556
2556
  };
@@ -3239,7 +3239,7 @@ function DocumentsApi() {
3239
3239
  var tmp = this;
3240
3240
  tmp.uploader$delegate_1 = lazy_0(DocumentsApi$uploader$delegate$lambda(this));
3241
3241
  };
3242
- initMetadataForClass2($, "DocumentsApi", create, DocumentApi(), VOID2, [2, 3, 1, 5, 7, 9, 10, 8, 6, 12, 14]);
3242
+ initMetadataForClass2($, "DocumentsApi", create, DocumentApi(), VOID2, [2, 3, 1, 5, 7, 9, 10, 8, 6, 12, 4, 14]);
3243
3243
  protoOf2($).uploadDocument_cfg6uo_k$ = function(request, onUploadProgress, $completion) {
3244
3244
  return _get_uploader__q14yjn(this).uploadDocument_cfg6uo_k$(request, onUploadProgress, $completion);
3245
3245
  };
@@ -2246,8 +2246,8 @@ function HomeApiBase$configureClient$lambda_14(this$0, $platformName) {
2246
2246
  }
2247
2247
  accept($this$defaultRequest, Application_getInstance().Json_1);
2248
2248
  header($this$defaultRequest, "Accept-Language", buildAcceptLanguage(this$0.userLanguage));
2249
- header($this$defaultRequest, "User-Agent", "SoliboSDK/1.58.3 (" + $platformName + ")");
2250
- header($this$defaultRequest, "X-Solibo-SDK-Version", "1.58.3");
2249
+ header($this$defaultRequest, "User-Agent", "SoliboSDK/1.58.4 (" + $platformName + ")");
2250
+ header($this$defaultRequest, "X-Solibo-SDK-Version", "1.58.4");
2251
2251
  return Unit_instance2;
2252
2252
  };
2253
2253
  }
@@ -32,6 +32,7 @@ export declare class DocumentApi extends ApiClient.$metadata$.constructor {
32
32
  showDirectoryZip(companyId: bigint): Promise<HttpResponse<Base64ByteArray>>;
33
33
  showDocument(companyId: bigint, documentId: bigint, redirect?: Nullable<boolean>, size?: Nullable<string>, fields?: Nullable<string>, fit?: Nullable<string>, position?: Nullable<string>, format?: Nullable<string>, quality?: Nullable<string>, upscale?: Nullable<string>, background?: Nullable<string>, disposition?: Nullable<DownloadDisposition>): Promise<HttpResponse<UrlWrapper>>;
34
34
  showDocumentTypes(companyId: bigint, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListDocumentType>>;
35
+ showDocumentUploadTicketPreview(companyId: bigint, ticketId: string, redirect?: Nullable<boolean>, fields?: Nullable<string>): Promise<HttpResponse<UrlWrapper>>;
35
36
  showDocumentUrls(companyId: bigint, documentIds: KtList<bigint>, size?: Nullable<string>, fit?: Nullable<string>, position?: Nullable<string>, format?: Nullable<string>, quality?: Nullable<string>, upscale?: Nullable<string>, background?: Nullable<string>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>, disposition?: Nullable<DownloadDisposition>): Promise<HttpResponse<PagedListDocumentUrl>>;
36
37
  showOffice365ManagedDocumentCandidate(companyId: bigint, candidateId: bigint, fields?: Nullable<string>): Promise<HttpResponse<Office365ManagedDocumentCandidateReviewCandidate>>;
37
38
  showPublicDocument(companyId: bigint, documentId: bigint, redirect?: Nullable<boolean>, size?: Nullable<string>, fields?: Nullable<string>, fit?: Nullable<string>, position?: Nullable<string>, format?: Nullable<string>, quality?: Nullable<string>, upscale?: Nullable<string>, background?: Nullable<string>, disposition?: Nullable<DownloadDisposition>): Promise<HttpResponse<UrlWrapper>>;
@@ -48,6 +48,7 @@ import { showCompanyTypeDirectoryZipOperation30ejk9gx9yzvx as showCompanyTypeDir
48
48
  import { showDirectoryZipOperation3fzj4kn17lclm as showDirectoryZipOperation } from '../operations/ShowDirectoryZipOperation.mjs';
49
49
  import { showDocumentOperation2q8xlmrgnz3vr as showDocumentOperation } from '../operations/ShowDocumentOperation.mjs';
50
50
  import { showDocumentTypesOperation5din2wd2weo1 as showDocumentTypesOperation } from '../operations/ShowDocumentTypesOperation.mjs';
51
+ import { showDocumentUploadTicketPreviewOperation3m7cn2lxn89g0 as showDocumentUploadTicketPreviewOperation } from '../operations/ShowDocumentUploadTicketPreviewOperation.mjs';
51
52
  import { showDocumentUrlsOperation3e3mc1wz5x54x as showDocumentUrlsOperation } from '../operations/ShowDocumentUrlsOperation.mjs';
52
53
  import { showOffice365ManagedDocumentCandidateOperationpxv5gucha155 as showOffice365ManagedDocumentCandidateOperation } from '../operations/ShowOffice365ManagedDocumentCandidateOperation.mjs';
53
54
  import { showPublicDocumentOperation3e8ihok7zdoap as showPublicDocumentOperation } from '../operations/ShowPublicDocumentOperation.mjs';
@@ -1897,6 +1898,70 @@ function $showDocumentTypes$suspendBridgeCOROUTINE$() {
1897
1898
  }
1898
1899
  return $showDocumentTypes$suspendBridgeCOROUTINE$Class;
1899
1900
  }
1901
+ var $showDocumentUploadTicketPreview$suspendBridgeCOROUTINE$Class;
1902
+ function $showDocumentUploadTicketPreview$suspendBridgeCOROUTINE$() {
1903
+ if ($showDocumentUploadTicketPreview$suspendBridgeCOROUTINE$Class === VOID) {
1904
+ initMetadataForCoroutine($, CoroutineImpl());
1905
+ function $(_this__u8e3s4, companyId, ticketId, redirect, fields, resultContinuation) {
1906
+ CoroutineImpl().call(this, resultContinuation);
1907
+ this._this__u8e3s4__1 = _this__u8e3s4;
1908
+ this.companyId_1 = companyId;
1909
+ this.ticketId_1 = ticketId;
1910
+ this.redirect_1 = redirect;
1911
+ this.fields_1 = fields;
1912
+ }
1913
+ protoOf($).doResume_5yljmg_k$ = function () {
1914
+ var suspendResult = this.result_1;
1915
+ $sm: do
1916
+ try {
1917
+ var tmp = this.state_1;
1918
+ switch (tmp) {
1919
+ case 0:
1920
+ this.exceptionState_1 = 4;
1921
+ if (this._this__u8e3s4__1.showDocumentUploadTicketPreview === protoOf(DocumentApi()).showDocumentUploadTicketPreview) {
1922
+ this.state_1 = 2;
1923
+ suspendResult = this._this__u8e3s4__1.showDocumentUploadTicketPreview$default_6k57vi_k$(this.companyId_1, this.ticketId_1, this.redirect_1, this.fields_1, this);
1924
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
1925
+ return suspendResult;
1926
+ }
1927
+ continue $sm;
1928
+ } else {
1929
+ this.state_1 = 1;
1930
+ suspendResult = await_0(this._this__u8e3s4__1.showDocumentUploadTicketPreview(this.companyId_1, this.ticketId_1, this.redirect_1, this.fields_1), this);
1931
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
1932
+ return suspendResult;
1933
+ }
1934
+ continue $sm;
1935
+ }
1936
+
1937
+ case 1:
1938
+ this.WHEN_RESULT0__1 = suspendResult;
1939
+ this.state_1 = 3;
1940
+ continue $sm;
1941
+ case 2:
1942
+ this.WHEN_RESULT0__1 = suspendResult;
1943
+ this.state_1 = 3;
1944
+ continue $sm;
1945
+ case 3:
1946
+ return this.WHEN_RESULT0__1;
1947
+ case 4:
1948
+ throw this.exception_1;
1949
+ }
1950
+ } catch ($p) {
1951
+ var e = $p;
1952
+ if (this.exceptionState_1 === 4) {
1953
+ throw e;
1954
+ } else {
1955
+ this.state_1 = this.exceptionState_1;
1956
+ this.exception_1 = e;
1957
+ }
1958
+ }
1959
+ while (true);
1960
+ };
1961
+ $showDocumentUploadTicketPreview$suspendBridgeCOROUTINE$Class = $;
1962
+ }
1963
+ return $showDocumentUploadTicketPreview$suspendBridgeCOROUTINE$Class;
1964
+ }
1900
1965
  var $showDocumentUrls$suspendBridgeCOROUTINE$Class;
1901
1966
  function $showDocumentUrls$suspendBridgeCOROUTINE$() {
1902
1967
  if ($showDocumentUrls$suspendBridgeCOROUTINE$Class === VOID) {
@@ -2432,7 +2497,7 @@ function $updateDocument$suspendBridgeCOROUTINE$() {
2432
2497
  var DocumentApiClass;
2433
2498
  function DocumentApi() {
2434
2499
  if (DocumentApiClass === VOID) {
2435
- initMetadataForClass($, 'DocumentApi', create, ApiClient(), VOID, [2, 3, 5, 7, 9, 10, 8, 6, 1, 12, 14]);
2500
+ initMetadataForClass($, 'DocumentApi', create, ApiClient(), VOID, [2, 3, 5, 7, 9, 10, 8, 6, 1, 12, 4, 14]);
2436
2501
  protoOf($).abortDocumentUploadTicket_ly253q_k$ = function (companyId, ticketId, $completion) {
2437
2502
  return abortDocumentUploadTicketOperation(this, companyId, ticketId, $completion);
2438
2503
  };
@@ -2946,6 +3011,26 @@ function DocumentApi() {
2946
3011
  tmp.exception_1 = null;
2947
3012
  return tmp.doResume_5yljmg_k$();
2948
3013
  };
3014
+ protoOf($).showDocumentUploadTicketPreview_j0j8vp_k$ = function (companyId, ticketId, redirect, fields, $completion) {
3015
+ return showDocumentUploadTicketPreviewOperation(this, companyId, ticketId, redirect, fields, $completion);
3016
+ };
3017
+ protoOf($).showDocumentUploadTicketPreview$default_6k57vi_k$ = function (companyId, ticketId, redirect, fields, $completion, $super) {
3018
+ redirect = redirect === VOID ? null : redirect;
3019
+ fields = fields === VOID ? null : fields;
3020
+ return $super === VOID ? this.showDocumentUploadTicketPreview_j0j8vp_k$(companyId, ticketId, redirect, fields, $completion) : $super.showDocumentUploadTicketPreview_j0j8vp_k$.call(this, companyId, ticketId, redirect, fields, $completion);
3021
+ };
3022
+ protoOf($).showDocumentUploadTicketPreview = function (companyId, ticketId, redirect, fields) {
3023
+ var tmp = this;
3024
+ return promisify(function ($completion) {
3025
+ return tmp.showDocumentUploadTicketPreview$default_6k57vi_k$(companyId, ticketId, redirect, fields, $completion);
3026
+ });
3027
+ };
3028
+ protoOf($).showDocumentUploadTicketPreview$suspendBridge_b9vd70_k$ = function (companyId, ticketId, redirect, fields, $completion) {
3029
+ var tmp = new ($showDocumentUploadTicketPreview$suspendBridgeCOROUTINE$())(this, companyId, ticketId, redirect, fields, $completion);
3030
+ tmp.result_1 = Unit_instance;
3031
+ tmp.exception_1 = null;
3032
+ return tmp.doResume_5yljmg_k$();
3033
+ };
2949
3034
  protoOf($).showDocumentUrls_ppwpdg_k$ = function (companyId, documentIds, size, fit, position, format, quality, upscale, background, fields, pageToken, autoPaginate, count, disposition, $completion) {
2950
3035
  return showDocumentUrlsOperation(this, companyId, documentIds, size, fit, position, format, quality, upscale, background, fields, pageToken, autoPaginate, count, disposition, $completion);
2951
3036
  };
@@ -3145,6 +3230,7 @@ function DocumentApi() {
3145
3230
  __soliboWrapMethod($, "showDirectoryZip", {"args":{"0":["bigint"]},"result":true});
3146
3231
  __soliboWrapMethod($, "showDocument", {"args":{"0":["bigint"],"1":["bigint"],"11":["enum","DownloadDisposition"]},"result":true});
3147
3232
  __soliboWrapMethod($, "showDocumentTypes", {"args":{"0":["bigint"]},"result":true});
3233
+ __soliboWrapMethod($, "showDocumentUploadTicketPreview", {"args":{"0":["bigint"]},"result":true});
3148
3234
  __soliboWrapMethod($, "showDocumentUrls", {"args":{"0":["bigint"],"1":["list",["bigint"]],"13":["enum","DownloadDisposition"]},"result":true});
3149
3235
  __soliboWrapMethod($, "showOffice365ManagedDocumentCandidate", {"args":{"0":["bigint"],"1":["bigint"]},"result":true});
3150
3236
  __soliboWrapMethod($, "showPublicDocument", {"args":{"0":["bigint"],"1":["bigint"],"11":["enum","DownloadDisposition"]},"result":true});
@@ -0,0 +1,3 @@
1
+ type Nullable<T> = T | null | undefined
2
+ declare function KtSingleton<T>(): T & (abstract new() => any);
3
+ export declare function showDocumentUploadTicketPreviewOperation(client: ApiClient, companyId: bigint, ticketId: string, redirect?: Nullable<boolean>, fields?: Nullable<string>): Promise<HttpResponse<UrlWrapper>>;
@@ -0,0 +1,14 @@
1
+ import { showDocumentUploadTicketPreviewOperation366f5uvgz9rtz as showDocumentUploadTicketPreviewOperation } from './ShowDocumentUploadTicketPreviewOperation.mjs';
2
+ import { __soliboRegisterLookup, __soliboWrapFunction } from '../../../../../../../../../solibo-boundary.mjs';
3
+ //region block: imports
4
+ //endregion
5
+ //region block: pre-declaration
6
+ //endregion
7
+ //region block: exports
8
+ /* Solibo boundary patches */
9
+ var showDocumentUploadTicketPreviewOperation_solibo = __soliboWrapFunction(showDocumentUploadTicketPreviewOperation, {"result":true,"args":{"1":["bigint"]}});
10
+ export {
11
+ showDocumentUploadTicketPreviewOperation_solibo as showDocumentUploadTicketPreviewOperation,
12
+ };
13
+ //endregion
14
+
@@ -0,0 +1,133 @@
1
+ import { promisify1z0ncraq1ipzh as promisify } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
2
+ import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
3
+ import { Unit_instance3kz1zqli6gr1r as Unit_instance } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
4
+ import { CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs';
5
+ import { listOf1jh22dvmctj1r as listOf } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs';
6
+ import { EmptyContent_getInstance1v4yj3cymlz7 as EmptyContent_getInstance } from '../../../../../../../../../ktor-ktor-client-core/io/ktor/client/utils/Content.mjs';
7
+ import { LinkedHashMap_init_$Create$s27yccuovnls as LinkedHashMap_init_$Create$ } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs';
8
+ import { listOfvhqybd2zx248 as listOf_0 } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs';
9
+ import { RequestMethod_GET_getInstance1hbf807ypkdh8 as RequestMethod_GET_getInstance } from '../../../../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/infrastructure/RequestMethod.mjs';
10
+ import { replace3le3ie7l9k8aq as replace } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs';
11
+ import { RequestConfig10esd7ix0dbbm as RequestConfig } from '../../../../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/infrastructure/RequestConfig.mjs';
12
+ import { get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs';
13
+ import { UrlWrapper3umakd9cerbkr as UrlWrapper } from '../../../../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/UrlWrapper.mjs';
14
+ import { getKClass3t8tygqu4lcxf as getKClass } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs';
15
+ import { arrayOf1akklvh2at202 as arrayOf } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/Library.mjs';
16
+ import { createKType31ecntyyaay3k as createKType } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs';
17
+ import { TypeInfo2nbxsuf4v8os2 as TypeInfo } from '../../../../../../../../../ktor-ktor-utils/io/ktor/util/reflect/Type.mjs';
18
+ import {
19
+ TypedBodyProvider2ertybblisp23 as TypedBodyProvider,
20
+ HttpResponse53ki0v36vqo7 as HttpResponse,
21
+ } from '../../../../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/infrastructure/HttpResponse.mjs';
22
+ import { protoOf180f3jzyo7rfj as protoOf } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
23
+ import { initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
24
+ //region block: imports
25
+ //endregion
26
+ //region block: pre-declaration
27
+ //endregion
28
+ function showDocumentUploadTicketPreviewOperation(client, companyId, ticketId, redirect, fields) {
29
+ return promisify(function ($completion) {
30
+ return showDocumentUploadTicketPreviewOperation_0(client, companyId, ticketId, redirect, fields, $completion);
31
+ });
32
+ }
33
+ function showDocumentUploadTicketPreviewOperation_0(client, companyId, ticketId, redirect, fields, $completion) {
34
+ redirect = redirect === VOID ? null : redirect;
35
+ fields = fields === VOID ? null : fields;
36
+ var tmp = new ($showDocumentUploadTicketPreviewOperationCOROUTINE$())(client, companyId, ticketId, redirect, fields, $completion);
37
+ tmp.result_1 = Unit_instance;
38
+ tmp.exception_1 = null;
39
+ return tmp.doResume_5yljmg_k$();
40
+ }
41
+ var $showDocumentUploadTicketPreviewOperationCOROUTINE$Class;
42
+ function $showDocumentUploadTicketPreviewOperationCOROUTINE$() {
43
+ if ($showDocumentUploadTicketPreviewOperationCOROUTINE$Class === VOID) {
44
+ initMetadataForCoroutine($, CoroutineImpl());
45
+ function $(client, companyId, ticketId, redirect, fields, resultContinuation) {
46
+ CoroutineImpl().call(this, resultContinuation);
47
+ this.client_1 = client;
48
+ this.companyId_1 = companyId;
49
+ this.ticketId_1 = ticketId;
50
+ this.redirect_1 = redirect;
51
+ this.fields_1 = fields;
52
+ }
53
+ protoOf($).doResume_5yljmg_k$ = function () {
54
+ var suspendResult = this.result_1;
55
+ $sm: do
56
+ try {
57
+ var tmp = this.state_1;
58
+ switch (tmp) {
59
+ case 0:
60
+ this.exceptionState_1 = 2;
61
+ var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
62
+ var localVariableBody = EmptyContent_getInstance();
63
+ var localVariableQuery = LinkedHashMap_init_$Create$();
64
+ if (this.redirect_1 == null)
65
+ null;
66
+ else {
67
+ var tmp2 = 'redirect';
68
+ var value = listOf_0('' + this.redirect_1);
69
+ localVariableQuery.put_4fpzoq_k$(tmp2, value);
70
+ }
71
+
72
+ if (this.fields_1 == null)
73
+ null;
74
+ else {
75
+ var value_0 = listOf_0(this.fields_1);
76
+ localVariableQuery.put_4fpzoq_k$('fields', value_0);
77
+ }
78
+
79
+ var localVariableHeaders = LinkedHashMap_init_$Create$();
80
+ var tmp2_method = RequestMethod_GET_getInstance();
81
+ var tmp3_path = replace(replace('/companies/{companyId}/documents/uploads/tickets/{ticketId}/preview', '{companyId}', this.companyId_1.toString()), '{ticketId}', this.ticketId_1);
82
+ var localVariableConfig = new (RequestConfig())(tmp2_method, tmp3_path, localVariableHeaders, VOID, localVariableQuery, true);
83
+ this.state_1 = 1;
84
+ suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
85
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
86
+ return suspendResult;
87
+ }
88
+
89
+ continue $sm;
90
+ case 1:
91
+ var this_0 = suspendResult;
92
+ var tmp_0 = getKClass(UrlWrapper());
93
+ var tmp_1 = null instanceof UrlWrapper();
94
+ var tmp_2;
95
+ try {
96
+ tmp_2 = createKType(getKClass(UrlWrapper()), arrayOf([]), false);
97
+ } catch ($p) {
98
+ var tmp_3;
99
+ if ($p instanceof Error) {
100
+ var _unused_var__etf5q3 = $p;
101
+ tmp_3 = null;
102
+ } else {
103
+ throw $p;
104
+ }
105
+ tmp_2 = tmp_3;
106
+ }
107
+
108
+ return new (HttpResponse())(this_0, new (TypedBodyProvider())(new (TypeInfo())(tmp_0, tmp_1, tmp_2)));
109
+ case 2:
110
+ throw this.exception_1;
111
+ }
112
+ } catch ($p_0) {
113
+ var e = $p_0;
114
+ if (this.exceptionState_1 === 2) {
115
+ throw e;
116
+ } else {
117
+ this.state_1 = this.exceptionState_1;
118
+ this.exception_1 = e;
119
+ }
120
+ }
121
+ while (true);
122
+ };
123
+ $showDocumentUploadTicketPreviewOperationCOROUTINE$Class = $;
124
+ }
125
+ return $showDocumentUploadTicketPreviewOperationCOROUTINE$Class;
126
+ }
127
+ //region block: exports
128
+ export {
129
+ showDocumentUploadTicketPreviewOperation as showDocumentUploadTicketPreviewOperation366f5uvgz9rtz,
130
+ showDocumentUploadTicketPreviewOperation_0 as showDocumentUploadTicketPreviewOperation3m7cn2lxn89g0,
131
+ };
132
+ //endregion
133
+
@@ -35,6 +35,7 @@ export * from './solibo-sdk-sdk-api-document/no/solibo/oss/sdk/api/gen/client/op
35
35
  export * from './solibo-sdk-sdk-api-document/no/solibo/oss/sdk/api/gen/client/operations/ShowDirectoryZipOperation.export.mjs';
36
36
  export * from './solibo-sdk-sdk-api-document/no/solibo/oss/sdk/api/gen/client/operations/ShowDocumentOperation.export.mjs';
37
37
  export * from './solibo-sdk-sdk-api-document/no/solibo/oss/sdk/api/gen/client/operations/ShowDocumentTypesOperation.export.mjs';
38
+ export * from './solibo-sdk-sdk-api-document/no/solibo/oss/sdk/api/gen/client/operations/ShowDocumentUploadTicketPreviewOperation.export.mjs';
38
39
  export * from './solibo-sdk-sdk-api-document/no/solibo/oss/sdk/api/gen/client/operations/ShowDocumentUrlsOperation.export.mjs';
39
40
  export * from './solibo-sdk-sdk-api-document/no/solibo/oss/sdk/api/gen/client/operations/ShowOffice365ManagedDocumentCandidateOperation.export.mjs';
40
41
  export * from './solibo-sdk-sdk-api-document/no/solibo/oss/sdk/api/gen/client/operations/ShowPublicDocumentOperation.export.mjs';
@@ -28,7 +28,7 @@ function SoliboOpenTelemetry() {
28
28
  }
29
29
  protoOf($).tracer_4zr7of_k$ = function () {
30
30
  var tmp0_elvis_lhs = this.installed_1;
31
- return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.58.3');
31
+ return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.58.4');
32
32
  };
33
33
  SoliboOpenTelemetryClass = $;
34
34
  }
@@ -5986,6 +5986,7 @@ export declare class DocumentApi extends ApiClient.$metadata$.constructor {
5986
5986
  showDirectoryZip(companyId: bigint): Promise<HttpResponse<Base64ByteArray>>;
5987
5987
  showDocument(companyId: bigint, documentId: bigint, redirect?: boolean | null | undefined, size?: string | null | undefined, fields?: string | null | undefined, fit?: string | null | undefined, position?: string | null | undefined, format?: string | null | undefined, quality?: string | null | undefined, upscale?: string | null | undefined, background?: string | null | undefined, disposition?: DownloadDisposition | null | undefined): Promise<HttpResponse<UrlWrapper>>;
5988
5988
  showDocumentTypes(companyId: bigint, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListDocumentType>>;
5989
+ showDocumentUploadTicketPreview(companyId: bigint, ticketId: string, redirect?: boolean | null | undefined, fields?: string | null | undefined): Promise<HttpResponse<UrlWrapper>>;
5989
5990
  showDocumentUrls(companyId: bigint, documentIds: bigint[], size?: string | null | undefined, fit?: string | null | undefined, position?: string | null | undefined, format?: string | null | undefined, quality?: string | null | undefined, upscale?: string | null | undefined, background?: string | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined, disposition?: DownloadDisposition | null | undefined): Promise<HttpResponse<PagedListDocumentUrl>>;
5990
5991
  showOffice365ManagedDocumentCandidate(companyId: bigint, candidateId: bigint, fields?: string | null | undefined): Promise<HttpResponse<Office365ManagedDocumentCandidateReviewCandidate>>;
5991
5992
  showPublicDocument(companyId: bigint, documentId: bigint, redirect?: boolean | null | undefined, size?: string | null | undefined, fields?: string | null | undefined, fit?: string | null | undefined, position?: string | null | undefined, format?: string | null | undefined, quality?: string | null | undefined, upscale?: string | null | undefined, background?: string | null | undefined, disposition?: DownloadDisposition | null | undefined): Promise<HttpResponse<UrlWrapper>>;
@@ -6029,6 +6030,7 @@ export declare function showCompanyTypeDirectoryZipOperation(client: ApiClient,
6029
6030
  export declare function showDirectoryZipOperation(client: ApiClient, companyId: bigint): Promise<HttpResponse<Base64ByteArray>>;
6030
6031
  export declare function showDocumentOperation(client: ApiClient, companyId: bigint, documentId: bigint, redirect?: boolean | null | undefined, size?: string | null | undefined, fields?: string | null | undefined, fit?: string | null | undefined, position?: string | null | undefined, format?: string | null | undefined, quality?: string | null | undefined, upscale?: string | null | undefined, background?: string | null | undefined, disposition?: DownloadDisposition | null | undefined): Promise<HttpResponse<UrlWrapper>>;
6031
6032
  export declare function showDocumentTypesOperation(client: ApiClient, companyId: bigint, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListDocumentType>>;
6033
+ export declare function showDocumentUploadTicketPreviewOperation(client: ApiClient, companyId: bigint, ticketId: string, redirect?: boolean | null | undefined, fields?: string | null | undefined): Promise<HttpResponse<UrlWrapper>>;
6032
6034
  export declare function showDocumentUrlsOperation(client: ApiClient, companyId: bigint, documentIds: bigint[], size?: string | null | undefined, fit?: string | null | undefined, position?: string | null | undefined, format?: string | null | undefined, quality?: string | null | undefined, upscale?: string | null | undefined, background?: string | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined, disposition?: DownloadDisposition | null | undefined): Promise<HttpResponse<PagedListDocumentUrl>>;
6033
6035
  export declare function showOffice365ManagedDocumentCandidateOperation(client: ApiClient, companyId: bigint, candidateId: bigint, fields?: string | null | undefined): Promise<HttpResponse<Office365ManagedDocumentCandidateReviewCandidate>>;
6034
6036
  export declare function showPublicDocumentOperation(client: ApiClient, companyId: bigint, documentId: bigint, redirect?: boolean | null | undefined, size?: string | null | undefined, fields?: string | null | undefined, fit?: string | null | undefined, position?: string | null | undefined, format?: string | null | undefined, quality?: string | null | undefined, upscale?: string | null | undefined, background?: string | null | undefined, disposition?: DownloadDisposition | null | undefined): Promise<HttpResponse<UrlWrapper>>;