@colijnit/transaction 300.1.22 → 300.1.24

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.
package/index.d.ts CHANGED
@@ -299,6 +299,8 @@ import { PdfHistoricPosReceiptRequest } from '@colijnit/transactionapi/build/mod
299
299
  import { CreatePublicQuoteRequest } from '@colijnit/transactionapi/build/model/create-public-quote-request';
300
300
  import { UpsertTransactionStandardTextRequest } from '@colijnit/transactionapi/build/model/upsert-transaction-standard-text-request';
301
301
  import { ChangeHeaderExtraDocRequest } from '@colijnit/transactionapi/build/model/change-header-extra-doc-request';
302
+ import { BatchDownloadInfo } from '@colijnit/transactionapi/build/model/batch-download-info.bo';
303
+ import { FileDownloadToken } from '@colijnit/transactionapi/build/model/file-download-token.bo';
302
304
  import { BusinessObjectIDType } from '@colijnit/ioneconnector/build/type/business-object-id-type';
303
305
  import { RelationKind as RelationKind$1 } from '@colijnit/articleapi/build/enum/relation-kind.enum';
304
306
  import { Relation } from '@colijnit/relationapi/build/model/relation.bo';
@@ -1282,6 +1284,9 @@ declare class TransactionConnectorAdapterService {
1282
1284
  getBatchJobProgressesForTheUser(): Promise<BatchJobProgress[]>;
1283
1285
  deleteBatchJob(batchJobProgressId: number): Promise<void>;
1284
1286
  retryBatchJob(batchJobProgressId: number): Promise<void>;
1287
+ getBatchDownloadInfo(batchJobProgressId: number): Promise<BatchDownloadInfo>;
1288
+ getCombinedPdfByBatchRequest(batchJobProgressId: number): Promise<ReportingPdfBaseResponse>;
1289
+ prepareZipByBatchRequest(batchJobProgressId: number): Promise<FileDownloadToken>;
1285
1290
  emailOrderConfirmation(request: EmailOrderConfirmationRequest): Promise<CoDocument | boolean>;
1286
1291
  emailHistoricOrderConfirmation(request: EmailHistoricOrderConfirmationRequest): Promise<void>;
1287
1292
  pdfOrderConfirmation(request: PdfOrderConfirmationRequest, localPrint?: boolean): Promise<CoDocument | boolean>;
@@ -1793,6 +1798,9 @@ declare class TransactionConnectorService {
1793
1798
  getBatchJobProgressesForTheUser(): Promise<BatchJobProgress[]>;
1794
1799
  deleteBatchJob(batchJobProgressId: number): Promise<void>;
1795
1800
  retryBatchJob(batchJobProgressId: number): Promise<void>;
1801
+ getBatchDownloadInfo(batchJobProgressId: number): Promise<BatchDownloadInfo>;
1802
+ getCombinedPdfByBatchRequest(batchJobProgressId: number): Promise<ReportingPdfBaseResponse>;
1803
+ prepareZipByBatchRequest(batchJobProgressId: number): Promise<FileDownloadToken>;
1796
1804
  emailOrderConfirmation(request: EmailOrderConfirmationRequest): Promise<CoDocument | boolean>;
1797
1805
  emailHistoricOrderConfirmation(request: EmailHistoricOrderConfirmationRequest): Promise<void>;
1798
1806
  pdfOrderConfirmation(request: PdfOrderConfirmationRequest, localPrint?: boolean): Promise<CoDocument | boolean>;
@@ -2687,6 +2695,9 @@ declare class TransactionService extends PendingReasonService {
2687
2695
  getBatchJobProgressesForTheUser(): Promise<BatchJobProgress[]>;
2688
2696
  deleteBatchJob(batchJobProgressId: number): Promise<void>;
2689
2697
  retryBatchJob(batchJobProgressId: number): Promise<void>;
2698
+ getBatchDownloadInfo(batchJobProgressId: number): Promise<BatchDownloadInfo>;
2699
+ getCombinedPdfByBatchRequest(batchJobProgressId: number): Promise<ReportingPdfBaseResponse>;
2700
+ prepareZipByBatchRequest(batchJobProgressId: number): Promise<FileDownloadToken>;
2690
2701
  emailOrderConfirmation(request: EmailOrderConfirmationRequest): Promise<CoDocument | boolean>;
2691
2702
  emailHistoricOrderConfirmation(request: EmailHistoricOrderConfirmationRequest): Promise<void>;
2692
2703
  pdfOrderConfirmation(request: PdfOrderConfirmationRequest, localPrint?: boolean): Promise<CoDocument | boolean>;
@@ -3211,6 +3222,12 @@ declare class CheckoutOverviewRelationEditComponent implements OnInit, AfterView
3211
3222
  handleDeliveryLocalHashChange(localHash: string): void;
3212
3223
  checkSameAddress(checked: boolean): void;
3213
3224
  handleRelationNumberChange(relationNumber: string): void;
3225
+ /**
3226
+ * When the relation has both an active delivery (A) and billing (F) address and the invoice
3227
+ * address hasn't been explicitly decoupled from the delivery address yet, link the billing
3228
+ * address to the order as its invoice address and uncheck "same as delivery" accordingly.
3229
+ */
3230
+ private _autoSelectBillingAddressAsInvoice;
3214
3231
  private _getFirstActiveAddressOrCreateNew;
3215
3232
  private _getFirstAddress;
3216
3233
  private _getFirstAddressOfType;
@@ -6172,6 +6189,12 @@ declare class TransactionHeaderPopupRelationComponent extends TransactionHeaderP
6172
6189
  setIndexDeliveryAddress(nawNr: number): Promise<void>;
6173
6190
  setLocalHashDeliveryAddress(localHash: string): Promise<void>;
6174
6191
  setIndexInvoiceAddress(nawNr: number): Promise<void>;
6192
+ /**
6193
+ * When the relation has both an active delivery (A) and billing (F) address and no invoice
6194
+ * address has already been explicitly chosen for this transaction, link the billing address
6195
+ * to the order as its invoice address and uncheck "same as delivery" accordingly.
6196
+ */
6197
+ private _autoSelectBillingAddressAsInvoice;
6175
6198
  setLocalHashInvoiceAddress(localHash: string): Promise<void>;
6176
6199
  checkSameAddress(checked: boolean): void;
6177
6200
  handleInputChange(request: RelationSuggestionsRequest): void;
@@ -10127,7 +10150,7 @@ declare class TransactionSalesOverviewButtonBarButtonComponent extends Transacti
10127
10150
  showCategories: boolean;
10128
10151
  constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
10129
10152
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
10130
- currentTitle(): "MARGINS" | "OVERVIEW";
10153
+ currentTitle(): "OVERVIEW" | "MARGINS";
10131
10154
  ngOnDestroy(): void;
10132
10155
  handleClickWrapper(event: MouseEvent): void;
10133
10156
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
@@ -10153,7 +10176,7 @@ declare class TransactionPurchaseOverviewButtonBarButtonComponent extends Transa
10153
10176
  constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _transactionService: TransactionService, _elementRef: ElementRef);
10154
10177
  ngOnDestroy(): void;
10155
10178
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
10156
- currentTitle(): "MARGINS" | "OVERVIEW";
10179
+ currentTitle(): "OVERVIEW" | "MARGINS";
10157
10180
  handleClickWrapper(event: MouseEvent): void;
10158
10181
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): Promise<void>;
10159
10182
  private handleDocumentClick;
@@ -10205,7 +10228,7 @@ declare class TransactionSalesQuotationButtonBarButtonComponent extends Transact
10205
10228
  showCategories: boolean;
10206
10229
  constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
10207
10230
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
10208
- currentTitle(): "MARGINS" | "OVERVIEW";
10231
+ currentTitle(): "OVERVIEW" | "MARGINS";
10209
10232
  ngOnDestroy(): void;
10210
10233
  handleClickWrapper(event: MouseEvent): void;
10211
10234
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transaction",
3
- "version": "300.1.22",
3
+ "version": "300.1.24",
4
4
  "description": "Colijn IT transaction module for Angular 20",
5
5
  "repository": "npm/npm",
6
6
  "author": "Colijn IT",
@@ -19,7 +19,7 @@
19
19
  "@colijnit/relationapi": ">=300.1.1",
20
20
  "@colijnit/sharedapi": ">=1.0.20",
21
21
  "@colijnit/sharedcomponents": ">=300.1.13",
22
- "@colijnit/transactionapi": ">=300.1.11"
22
+ "@colijnit/transactionapi": ">=300.1.12"
23
23
  },
24
24
  "dependencies": {
25
25
  "tslib": "^2.8.1"