@colijnit/transaction 12.1.6 → 12.1.7

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.
Files changed (117) hide show
  1. package/app/app.component.scss +39 -0
  2. package/app/component/checkout/checkout/checkout.component.d.ts +2 -0
  3. package/app/component/checkout/checkout/checkout.component.scss +137 -0
  4. package/app/component/checkout/checkout-login/checkout-login.component.scss +35 -0
  5. package/app/component/checkout/checkout-overview/checkout-overview.component.scss +0 -0
  6. package/app/component/checkout/checkout-overview-block/checkout-overview-block.component.scss +0 -0
  7. package/app/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.scss +0 -0
  8. package/app/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.scss +3 -0
  9. package/app/component/checkout/checkout-overview-relation-address/checkout-overview-relation-address.component.d.ts +1 -0
  10. package/app/component/checkout/checkout-overview-relation-address/style/_layout.scss +19 -0
  11. package/app/component/checkout/checkout-overview-relation-address/style/_material-definition.scss +0 -0
  12. package/app/component/checkout/checkout-overview-relation-address/style/_theme.scss +7 -0
  13. package/app/component/checkout/checkout-overview-relation-address/style/material.scss +4 -0
  14. package/app/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +1 -2
  15. package/app/component/checkout/checkout-overview-relation-edit/style/_layout.scss +92 -0
  16. package/app/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss +15 -0
  17. package/app/component/checkout/checkout-overview-relation-edit/style/_theme.scss +9 -0
  18. package/app/component/checkout/checkout-overview-relation-edit/style/material.scss +5 -0
  19. package/app/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.d.ts +2 -3
  20. package/app/component/checkout/checkout-relation-suggestions-list/style/_layout.scss +7 -0
  21. package/app/component/checkout/checkout-relation-suggestions-list/style/_material-definition.scss +0 -0
  22. package/app/component/checkout/checkout-relation-suggestions-list/style/_theme.scss +6 -0
  23. package/app/component/checkout/checkout-relation-suggestions-list/style/material.scss +5 -0
  24. package/app/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.d.ts +5 -9
  25. package/app/component/checkout/checkout-relation-suggestions-list-item/style/_layout.scss +34 -0
  26. package/app/component/checkout/checkout-relation-suggestions-list-item/style/_material-definition.scss +8 -0
  27. package/app/component/checkout/checkout-relation-suggestions-list-item/style/_theme.scss +6 -0
  28. package/app/component/checkout/checkout-relation-suggestions-list-item/style/material.scss +4 -0
  29. package/app/component/checkout/checkout-transaction/checkout-transaction.component.d.ts +3 -0
  30. package/app/component/checkout/checkout-transaction/checkout-transaction.component.scss +11 -0
  31. package/app/component/checkout/ione-checkout.component.d.ts +3 -1
  32. package/app/component/core/base/default-ok-cancel-buttons.component.d.ts +2 -2
  33. package/app/component/core/base/style/_layout.scss +7 -0
  34. package/app/component/core/base/style/_material-definition.scss +0 -0
  35. package/app/component/core/base/style/_theme.scss +6 -0
  36. package/app/component/core/base/style/material.scss +4 -0
  37. package/app/component/core/characteristic-answer/characteristic-answer.component.scss +18 -0
  38. package/app/component/core/icon/icon.component.scss +85 -0
  39. package/app/component/core/image-display/image-display.component.d.ts +1 -0
  40. package/app/component/core/image-display/style/_layout.scss +39 -0
  41. package/app/component/core/image-display/style/_material-definition.scss +0 -0
  42. package/app/component/core/image-display/style/_theme.scss +6 -0
  43. package/app/component/core/image-display/style/material.scss +4 -0
  44. package/app/component/core/no-image-display/no-image-display.component.scss +0 -0
  45. package/app/component/core/relation/customer-groups.component.d.ts +13 -0
  46. package/app/component/core/stock-status-indicator/stock-status-indicator.component.scss +45 -0
  47. package/app/component/service-order/service-order.component.scss +152 -0
  48. package/app/component/service-order/summary/transaction-delivery-summary.component.scss +20 -0
  49. package/app/component/service-order/summary/transaction-summary-block.component.scss +107 -0
  50. package/app/component/service-order/transaction-article-text/transaction-article-text.component.scss +6 -0
  51. package/app/component/service-order/transaction-article-text-overview/transaction-article-text-overview.component.scss +0 -0
  52. package/app/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.scss +0 -0
  53. package/app/component/service-order/transaction-header-block/transaction-header-block.component.scss +65 -0
  54. package/app/component/service-order/transaction-manager/transaction-manager.component.scss +52 -0
  55. package/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.scss +88 -0
  56. package/app/component/service-order/transaction-order-lines/transaction-order-lines.component.scss +83 -0
  57. package/app/component/service-order/transaction-order-totals/transaction-order-totals.component.scss +24 -0
  58. package/app/component/service-order/transaction-relation/transaction-relation-edit.component.scss +24 -0
  59. package/app/component/service-order/transaction-sidebar/transaction-line-accordion.component.scss +0 -0
  60. package/app/component/service-order/transaction-sidebar/transaction-sidebar-right.component.scss +17 -0
  61. package/app/component/service-order/warehouse/warehouse.component.scss +52 -0
  62. package/app/component/shopping-cart/shopping-cart/shopping-cart.component.scss +79 -0
  63. package/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.scss +107 -0
  64. package/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.scss +52 -0
  65. package/app/service/ione-connector-adapter.service.d.ts +5 -2
  66. package/app/service/options.service.d.ts +2 -3
  67. package/app/service/transaction.service.d.ts +3 -1
  68. package/bundles/colijnit-transaction.umd.js +282 -187
  69. package/bundles/colijnit-transaction.umd.js.map +1 -1
  70. package/colijnit-transaction.d.ts +42 -41
  71. package/colijnit-transaction.metadata.json +1 -1
  72. package/esm2015/app/component/checkout/checkout/checkout.component.js +13 -5
  73. package/esm2015/app/component/checkout/checkout-overview/checkout-overview.component.js +4 -4
  74. package/esm2015/app/component/checkout/checkout-overview-block/checkout-overview-block.component.js +1 -1
  75. package/esm2015/app/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.js +1 -1
  76. package/esm2015/app/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +4 -4
  77. package/esm2015/app/component/checkout/checkout-overview-relation-address/checkout-overview-relation-address.component.js +37 -49
  78. package/esm2015/app/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +140 -159
  79. package/esm2015/app/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.js +16 -19
  80. package/esm2015/app/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.js +17 -39
  81. package/esm2015/app/component/checkout/checkout-transaction/checkout-transaction.component.js +7 -5
  82. package/esm2015/app/component/checkout/ione-checkout.component.js +6 -4
  83. package/esm2015/app/component/checkout/ione-checkout.module.js +7 -7
  84. package/esm2015/app/component/core/base/default-ok-cancel-buttons.component.js +13 -11
  85. package/esm2015/app/component/core/characteristic-answer/characteristic-answer.component.js +1 -1
  86. package/esm2015/app/component/core/core.module.js +9 -4
  87. package/esm2015/app/component/core/icon/icon.component.js +1 -1
  88. package/esm2015/app/component/core/image-display/image-display.component.js +9 -5
  89. package/esm2015/app/component/core/relation/customer-groups.component.js +40 -0
  90. package/esm2015/app/component/core/stock-status-indicator/stock-status-indicator.component.js +1 -1
  91. package/esm2015/app/component/service-order/service-order.component.js +1 -1
  92. package/esm2015/app/component/service-order/summary/transaction-delivery-summary.component.js +1 -1
  93. package/esm2015/app/component/service-order/summary/transaction-summary-block.component.js +3 -3
  94. package/esm2015/app/component/service-order/transaction-header-block/transaction-header-block.component.js +1 -1
  95. package/esm2015/app/component/service-order/transaction-manager/transaction-manager.component.js +1 -1
  96. package/esm2015/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.js +3 -3
  97. package/esm2015/app/component/service-order/transaction-order-lines/transaction-order-lines.component.js +1 -1
  98. package/esm2015/app/component/service-order/transaction-order-totals/transaction-order-totals.component.js +1 -1
  99. package/esm2015/app/component/service-order/transaction-relation/transaction-relation-edit.component.js +3 -3
  100. package/esm2015/app/component/service-order/warehouse/warehouse.component.js +1 -1
  101. package/esm2015/app/component/shopping-cart/shopping-cart/shopping-cart.component.js +1 -1
  102. package/esm2015/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.js +3 -3
  103. package/esm2015/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.js +1 -1
  104. package/esm2015/app/service/ione-connector-adapter.service.js +16 -2
  105. package/esm2015/app/service/options.service.js +2 -3
  106. package/esm2015/app/service/transaction.service.js +25 -13
  107. package/esm2015/colijnit-transaction.js +43 -42
  108. package/fesm2015/colijnit-transaction.js +358 -338
  109. package/fesm2015/colijnit-transaction.js.map +1 -1
  110. package/package.json +3 -4
  111. package/style/_mixin.scss +9 -0
  112. package/style/_variables.scss +75 -0
  113. package/style/styles.scss +367 -0
  114. package/styles.scss +11 -0
  115. package/app/enum/direction.enum.d.ts +0 -6
  116. package/css/styles.css +0 -38
  117. package/esm2015/app/enum/direction.enum.js +0 -9
@@ -0,0 +1,83 @@
1
+ @import "src/style/variables";
2
+ @import "src/style/styles";
3
+
4
+ :host {
5
+ display: block;
6
+ padding: 20px;
7
+
8
+ ::ng-deep collapseable {
9
+ width: 100% !important;
10
+ }
11
+ }
12
+
13
+ .service-request-button-wrapper {
14
+ display: flex;
15
+ justify-content: center;
16
+ margin-top: 20px;
17
+ }
18
+
19
+ .transaction-order-line-r {
20
+ display: flex;
21
+ justify-content: stretch;
22
+ flex-direction: row;
23
+
24
+ @media (max-width: 800px) {
25
+ flex-direction: column;
26
+ }
27
+
28
+ .transaction-order-line-image {
29
+ @extend %margin-vertical-big;
30
+ display: flex;
31
+ flex: 1 0 auto !important;
32
+ flex-direction: column;
33
+ align-items: center;
34
+ justify-content: center;
35
+ padding-right: 10px;
36
+ image-display {
37
+ @include square(6em);
38
+ }
39
+ ::ng-deep no-image-display {
40
+ display: none;
41
+ }
42
+ }
43
+ .transaction-order-line-description {
44
+ @extend %margin-big;
45
+ display: flex;
46
+ flex-direction: column;
47
+ width: auto;
48
+ max-width: 355px;
49
+ margin-left: 10px;
50
+ .cart-line-description-main {
51
+ font-weight: bold;
52
+ }
53
+ .cart-line-description-artnr {
54
+ @extend %font-small;
55
+ }
56
+ }
57
+ .transaction-order-line-right {
58
+ justify-content: flex-end;
59
+ align-items: center;
60
+ .transaction-order-line-stock {
61
+ @extend %margin-vertical-big;
62
+ width: 10em;
63
+ }
64
+
65
+ .transaction-order-line-amount {
66
+ @extend %margin-big;
67
+ width: 15em;
68
+ }
69
+
70
+ .transaction-order-line-totals {
71
+ display: flex;
72
+ @extend %margin-vertical-big;
73
+ @extend %margin-left-big;
74
+ justify-content: flex-end;
75
+ min-width: 100px;
76
+ font-weight: bold;
77
+
78
+ span {
79
+ text-align: right;
80
+ }
81
+ }
82
+ }
83
+ }
@@ -0,0 +1,24 @@
1
+ @import "src/style/variables";
2
+ @import "src/style/styles";
3
+
4
+ :host {
5
+ .totals-wrapper {
6
+ width: 310px;
7
+ font-size: 13px;
8
+ }
9
+ .totals-item {
10
+ display: flex;
11
+ flex-direction: row;
12
+ height: 25px;
13
+ align-items: center;
14
+ > div {
15
+ text-align: end;
16
+ width: 50%;
17
+ }
18
+ &.total {
19
+ font-weight: bold;
20
+ height: 30px;
21
+ border-top: 1px solid $tp-color-border;
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,24 @@
1
+ .button-wrapper {
2
+ margin-top: 10px;
3
+ justify-content: center;
4
+ }
5
+
6
+ co-input-radio-button {
7
+ margin-left:16px;
8
+ }
9
+
10
+ .transaction-relation-label-h2 {
11
+ display: block;
12
+ margin-top: 1em;
13
+ margin-bottom: 1em;
14
+ font-size: 18px;
15
+ font-weight: bold;
16
+ }
17
+
18
+ .transaction-relation-label-h3 {
19
+ display: block;
20
+ margin-top: 1em;
21
+ margin-bottom: 1em;
22
+ font-size: 14px;
23
+ font-weight: bold;
24
+ }
@@ -0,0 +1,17 @@
1
+ :host {
2
+ display: block;
3
+ width: 100%;
4
+ }
5
+
6
+ .e-accordion {
7
+ border: none;
8
+ }
9
+
10
+ .e-accordion .e-acrdn-item .e-acrdn-header .e-toggle-icon .e-icons {
11
+ color: lightblue;
12
+ }
13
+
14
+ .e-tab .e-toolbar-items {
15
+ display: flex;
16
+ justify-content: center;
17
+ }
@@ -0,0 +1,52 @@
1
+ @import "src/style/variables";
2
+ @import "src/style/styles";
3
+
4
+ ::ng-deep #warehouseDialog {
5
+ align-items: center;
6
+ max-height: 100%;
7
+
8
+ ::ng-deep co-form {
9
+ height: 100%;
10
+ width: 500px;
11
+ }
12
+
13
+ ::ng-deep .form-content {
14
+ height: calc(100% - 80px);
15
+ width: 100%;
16
+
17
+ .message-field {
18
+ @extend %margin-left-medium;
19
+ height: 20px;
20
+ word-wrap: break-word;
21
+ white-space: normal;
22
+ }
23
+ }
24
+
25
+ }
26
+
27
+ co-button:not(:last-child) {
28
+ margin-right: 10px;
29
+ }
30
+
31
+ .commission-fields {
32
+ @extend %margin-left-medium;
33
+ justify-content: space-between;
34
+ margin: 10px 0 10px;
35
+ }
36
+
37
+ .warehouse-line-container {
38
+ @extend %flex;
39
+ @extend %flex-row;
40
+ }
41
+
42
+ .warehouse-description-item {
43
+ width: 15rem;
44
+ }
45
+
46
+ .warehouse-nr-item {
47
+ width: 5rem;
48
+ }
49
+
50
+ co-input-number-picker co-button {
51
+ max-width: 20px;
52
+ }
@@ -0,0 +1,79 @@
1
+ @import "src/style/variables";
2
+ @import "src/style/styles";
3
+
4
+ :host {
5
+ background-color: white;
6
+ opacity: 1;
7
+ display: flex;
8
+ flex-direction: column;
9
+ height: 100%;
10
+ color: $tp-color-dark;
11
+
12
+ .shopping-cart-viewport {
13
+ max-width:60%;
14
+ margin-left:20%;
15
+ }
16
+
17
+ .shopping-cart-row-end {
18
+ display: flex;
19
+ flex-direction: row;
20
+ column-gap: 10px;
21
+ justify-content: flex-end;
22
+ }
23
+ }
24
+
25
+ .cart-header {
26
+ display: flex;
27
+ justify-content: space-between;
28
+ @extend %margin-vertical-big;
29
+
30
+ .cart-header-label {
31
+ font-weight: bold;
32
+ }
33
+
34
+ .view-mode-buttons {
35
+ display: flex;
36
+ flex-direction: row;
37
+ @extend %margin-left-medium;
38
+ co-button {
39
+ padding: 0;
40
+ ::ng-deep co-button {
41
+ border-radius: 0;
42
+ }
43
+ &:first-child {
44
+ ::ng-deep co-button {
45
+ @include border-left-radius(3px);
46
+ @include border-right-radius(3px);
47
+ }
48
+ }
49
+
50
+ &:nth-child(2) ::ng-deep co-button {
51
+ @include border-left-radius(3px);
52
+ }
53
+ &:last-child ::ng-deep co-button {
54
+ @include border-right-radius(3px);
55
+ }
56
+ }
57
+ }
58
+ }
59
+
60
+ .cart-lines {
61
+ display: flex;
62
+ height: 100%;
63
+ overflow: auto;
64
+ }
65
+
66
+ .shopping-cart-totals {
67
+ @extend %padding-vertical-big;
68
+ align-items: flex-end;
69
+ > div {
70
+ width: fit-content;
71
+ span:last-of-type {
72
+ min-width: 6em;
73
+ text-align: right;
74
+ }
75
+ }
76
+ div:last-of-type {
77
+ font-weight: bold;
78
+ }
79
+ }
@@ -0,0 +1,107 @@
1
+ @import "src/style/variables";
2
+ @import "src/style/styles";
3
+
4
+ :host {
5
+ @extend %padding-vertical-big;
6
+ display: flex;
7
+ flex-wrap: wrap;
8
+ border-bottom: 1px solid #DBE3E8;
9
+ width: 100%;
10
+
11
+ &.overlayed {
12
+ &.is-text {
13
+ display: none!important;
14
+ }
15
+ &.is-selected {
16
+ background-color: lightblue;
17
+ }
18
+ }
19
+
20
+ &.overview {
21
+ &.is-text {
22
+ display: none!important;
23
+ }
24
+
25
+ &.is-selected {
26
+ background-color: lightblue;
27
+ }
28
+ }
29
+ }
30
+
31
+ .horizontal {
32
+ display: flex;
33
+ flex-direction: row;
34
+ }
35
+
36
+ .cart-line-r {
37
+ display: flex;
38
+ justify-content: stretch;
39
+ flex-direction: row;
40
+
41
+ @media (max-width: 800px) {
42
+ flex-direction: column;
43
+ }
44
+
45
+ co-button {
46
+ border: 0;
47
+ padding: 0;
48
+ }
49
+
50
+ .cart-line-image {
51
+ @extend %margin-vertical-big;
52
+ display: flex;
53
+ flex: 1 0 auto !important;
54
+ flex-direction: column;
55
+ //width: 10em;
56
+ align-items: center;
57
+ justify-content: center;
58
+ image-display {
59
+ @include square(6em);
60
+ }
61
+ }
62
+ .cart-line-description {
63
+ @extend %margin-big;
64
+ display: flex;
65
+ flex-direction: column;
66
+ width: 100%;
67
+ .cart-line-description-main {
68
+ font-weight: bold;
69
+ }
70
+ .cart-line-description-artnr {
71
+ @extend %font-small;
72
+ }
73
+ }
74
+ .cart-line-right {
75
+ justify-content: flex-end;
76
+
77
+ .cart-line-stock {
78
+ @extend %margin-vertical-big;
79
+ width: 10em;
80
+ }
81
+
82
+ .cart-line-amount {
83
+ @extend %margin-big;
84
+ width: 15em;
85
+ }
86
+
87
+ .cart-line-totals {
88
+ display: flex;
89
+ @extend %margin-vertical-big;
90
+ @extend %margin-left-big;
91
+ justify-content: flex-end;
92
+ min-width: 100px;
93
+ font-weight: bold;
94
+
95
+ span {
96
+ text-align: right;
97
+ }
98
+ }
99
+ }
100
+ }
101
+
102
+ .cart-line-t {
103
+ @extend %margin-horizontal-big;
104
+ &.article-text {
105
+ padding-left: 10em;
106
+ }
107
+ }
@@ -0,0 +1,52 @@
1
+ @import "src/style/variables";
2
+ @import "src/style/styles";
3
+
4
+ ::ng-deep #warehouseDialog {
5
+ align-items: center;
6
+ max-height: 100%;
7
+
8
+ ::ng-deep co-form {
9
+ height: 100%;
10
+ width: 500px;
11
+ }
12
+
13
+ ::ng-deep .form-content {
14
+ height: calc(100% - 80px);
15
+ width: 100%;
16
+
17
+ .message-field {
18
+ @extend %margin-left-medium;
19
+ height: 20px;
20
+ word-wrap: break-word;
21
+ white-space: normal;
22
+ }
23
+ }
24
+
25
+ }
26
+
27
+ co-button:not(:last-child) {
28
+ margin-right: 10px;
29
+ }
30
+
31
+ .commission-fields {
32
+ @extend %margin-left-medium;
33
+ justify-content: space-between;
34
+ margin: 10px 0 10px;
35
+ }
36
+
37
+ .warehouse-line-container {
38
+ @extend %flex;
39
+ @extend %flex-row;
40
+ }
41
+
42
+ .warehouse-description-item {
43
+ width: 15rem;
44
+ }
45
+
46
+ .warehouse-nr-item {
47
+ width: 5rem;
48
+ }
49
+
50
+ co-input-number-picker co-button {
51
+ max-width: 20px;
52
+ }
@@ -20,21 +20,23 @@ import { ArticleFullObject } from "@colijnit/transactionapi/build/model/article-
20
20
  import { LineOperationResponse } from "@colijnit/transactionapi/build/model/line-operation-response.bo";
21
21
  import { TransactionResponseBase } from "@colijnit/transactionapi/build/model/transaction-response-base.bo";
22
22
  import { Transaction } from "@colijnit/transactionapi/build/transaction";
23
- import { Options } from "@colijnit/ioneconnector/build/model/options";
23
+ import { DataServiceResponseData } from "@colijnit/transactionapi/build/model/data-service-response-data";
24
24
  import { StandardText } from "../model/standard-text";
25
+ import { CustomerGroup } from "@colijnit/transactionapi/build/model/customer-group.bo";
25
26
  export declare class IOneConnectorAdapterService {
26
27
  options: any;
27
28
  connector: Transaction;
28
29
  private _boFactory;
29
30
  private _countryList;
30
31
  constructor();
31
- connect(options: Options): Promise<void>;
32
+ connect(options: any): Promise<void>;
32
33
  disconnect(): Promise<void>;
33
34
  getArticleFullObject(goodId: number): Promise<ArticleFullObject>;
34
35
  getGoodIdFromArticleNr(articleNr: string): Promise<number>;
35
36
  getSingleImage(nodeId: number | string, publication: number, includeMimetype: boolean, thumb: boolean): Promise<string>;
36
37
  getDocumentContent(id: number, thumbnail: boolean): Promise<string>;
37
38
  getCountries(): Promise<Country[]>;
39
+ getCustomerGroups(): Promise<CustomerGroup[]>;
38
40
  getCountry(countryCode: string): Country;
39
41
  getPrivacySettings(): Promise<PrivacySetting[]>;
40
42
  getRelationPrivacySettings(): Promise<RelationPrivacySetting[]>;
@@ -42,6 +44,7 @@ export declare class IOneConnectorAdapterService {
42
44
  createTransaction(kind: TransactionKind, branchNr: string): Promise<TransactionInfoResponse>;
43
45
  getTransactionByNrAndKind(kind: TransactionKind, transactionNo: number): Promise<TransactionInfoResponse>;
44
46
  getTransactionById(transactionId: number): Promise<TransactionInfoResponse>;
47
+ commit(): Promise<DataServiceResponseData>;
45
48
  saveTransaction(uuid: string): Promise<TransactionInfoResponse>;
46
49
  getCustomerFullObject(relationNo: number): Promise<CustomerFullObject>;
47
50
  getRelationNumber(relationId: number): Promise<string>;
@@ -1,8 +1,7 @@
1
1
  import { BehaviorSubject } from "rxjs";
2
- import { Options } from "@colijnit/ioneconnector/build/model/options";
3
2
  export declare class OptionsService {
4
- set options(value: Options);
5
- get options(): Options;
3
+ set options(value: any);
4
+ get options(): any;
6
5
  optionsLoaded: BehaviorSubject<boolean>;
7
6
  private _options;
8
7
  constructor();
@@ -23,6 +23,7 @@ import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transa
23
23
  import { TransactionInfo } from "@colijnit/transactionapi/build/model/transaction-info.bo";
24
24
  import { PromptService } from "@colijnit/corecomponents_v12";
25
25
  import { StandardText } from "../model/standard-text";
26
+ import { DataServiceResponseData } from "@colijnit/transactionapi/build/model/data-service-response-data";
26
27
  export declare class TransactionService {
27
28
  _connector: IOneConnectorAdapterService;
28
29
  _prompt: PromptService;
@@ -65,7 +66,8 @@ export declare class TransactionService {
65
66
  getTransaction(transactionNo: number): Promise<boolean>;
66
67
  openExistingTransaction(kind: TransactionKind, transactionNr: number): Promise<boolean>;
67
68
  getTransactionById(transactionId: number): Promise<boolean>;
68
- saveTransaction(close?: boolean): Promise<void>;
69
+ commit(): Promise<DataServiceResponseData>;
70
+ saveTransaction(close?: boolean): Promise<TransactionInfoResponse>;
69
71
  saveTransactionByUuid(transactionUuid: string): Promise<boolean>;
70
72
  addRelationToTransaction(relationId: number): Promise<void>;
71
73
  getCommissionCodes(languageCode: string): Promise<CoDomainValue[]>;