@longvansoftware/storefront-js-client 4.3.7-beta.0 → 4.3.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 (38) hide show
  1. package/README.md +221 -221
  2. package/dist/src/graphql/auth/mutations.js +309 -309
  3. package/dist/src/graphql/auth/queries.js +209 -209
  4. package/dist/src/graphql/campaign/mutations.js +26 -26
  5. package/dist/src/graphql/campaign/queries.js +457 -457
  6. package/dist/src/graphql/cashbook/queries.js +93 -93
  7. package/dist/src/graphql/cloud/mutations.js +103 -103
  8. package/dist/src/graphql/cloud/queries.js +112 -112
  9. package/dist/src/graphql/cloudCloud/mutations.js +12 -12
  10. package/dist/src/graphql/cloudCloud/queries.js +117 -117
  11. package/dist/src/graphql/cloudService/queries.d.ts +1 -0
  12. package/dist/src/graphql/cloudService/queries.js +71 -0
  13. package/dist/src/graphql/computing/mutations.js +96 -96
  14. package/dist/src/graphql/computing/queries.js +41 -41
  15. package/dist/src/graphql/crm/mutations.js +1064 -1064
  16. package/dist/src/graphql/crm/queries.js +920 -920
  17. package/dist/src/graphql/orderCloud/mutations.js +7 -7
  18. package/dist/src/graphql/orderCloud/queries.js +7 -7
  19. package/dist/src/graphql/payment/mutations.js +194 -194
  20. package/dist/src/graphql/payment/queries.js +117 -117
  21. package/dist/src/graphql/paymentV2/mutations.js +115 -115
  22. package/dist/src/graphql/paymentV2/queries.js +263 -263
  23. package/dist/src/graphql/product/mutations.js +652 -652
  24. package/dist/src/graphql/product/queries.js +990 -989
  25. package/dist/src/graphql/service/mutations.js +304 -304
  26. package/dist/src/graphql/service/queries.js +131 -131
  27. package/dist/src/graphql/store/mutations.js +24 -24
  28. package/dist/src/graphql/store/queries.js +24 -24
  29. package/dist/src/graphql/user/mutations.js +201 -201
  30. package/dist/src/graphql/user/queries.js +339 -339
  31. package/dist/src/lib/cloudService/index.d.ts +5 -0
  32. package/dist/src/lib/cloudService/index.js +35 -0
  33. package/dist/src/lib/order/index.d.ts +0 -9
  34. package/dist/src/lib/order/index.js +0 -21
  35. package/dist/src/lib/serviceSDK.js +14 -14
  36. package/package.json +43 -43
  37. package/dist/index.d.ts +0 -1698
  38. package/dist/index.js +0 -13673
@@ -2,11 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FIND_ORDER_BY_OWNER_PARTYID = void 0;
4
4
  const graphql_tag_1 = require("graphql-tag");
5
- exports.FIND_ORDER_BY_OWNER_PARTYID = (0, graphql_tag_1.gql) `
6
- mutation FindOrderByOwnerPartyId(
7
- $partnerId: String!
8
- $ownerPartyId: String!
9
- ) {
10
- findOrderByOwnerPartyId(partnerId: $partnerId, ownerPartyId: $ownerPartyId)
11
- }
5
+ exports.FIND_ORDER_BY_OWNER_PARTYID = (0, graphql_tag_1.gql) `
6
+ mutation FindOrderByOwnerPartyId(
7
+ $partnerId: String!
8
+ $ownerPartyId: String!
9
+ ) {
10
+ findOrderByOwnerPartyId(partnerId: $partnerId, ownerPartyId: $ownerPartyId)
11
+ }
12
12
  `;
@@ -2,11 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FIND_ORDER_BY_OWNER_PARTYID = void 0;
4
4
  const graphql_tag_1 = require("graphql-tag");
5
- exports.FIND_ORDER_BY_OWNER_PARTYID = (0, graphql_tag_1.gql) `
6
- query FindOrderByOwnerPartyId(
7
- $partnerId: String!
8
- $ownerPartyId: String!
9
- ) {
10
- findOrderByOwnerPartyId(partnerId: $partnerId, ownerPartyId: $ownerPartyId)
11
- }
5
+ exports.FIND_ORDER_BY_OWNER_PARTYID = (0, graphql_tag_1.gql) `
6
+ query FindOrderByOwnerPartyId(
7
+ $partnerId: String!
8
+ $ownerPartyId: String!
9
+ ) {
10
+ findOrderByOwnerPartyId(partnerId: $partnerId, ownerPartyId: $ownerPartyId)
11
+ }
12
12
  `;
@@ -2,203 +2,203 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DELETE_INVOICE_ITEM = exports.ADD_INVOICE_ITEM = exports.UPDATE_INVOICE_ITEM = exports.REQUEST_PUBLISH_VAT_INVOICE = exports.REQUEST_UNPUBLISH_VAT_INVOICE = exports.CREATE_PAYMENT_ORDER_MUTATION = void 0;
4
4
  const graphql_tag_1 = require("graphql-tag");
5
- exports.CREATE_PAYMENT_ORDER_MUTATION = (0, graphql_tag_1.gql) `
6
- mutation CreatePaymentOrder(
7
- $orgId: String!
8
- $orderId: String!
9
- $paymentMethod: String!
10
- $storeId: String!
11
- $source: String!
12
- $appliedAmount: BigDecimal
13
- $payDate: String!
14
- $returnUrl: String
15
- $paymentType: String!
16
- $createBy: String!
17
- $paymentInfo: String
18
- $attributes: JSON
19
- ) {
20
- createPaymentOrder(
21
- orgId: $orgId
22
- orderId: $orderId
23
- paymentMethod: $paymentMethod
24
- storeId: $storeId
25
- source: $source
26
- appliedAmount: $appliedAmount
27
- payDate: $payDate
28
- returnUrl: $returnUrl
29
- paymentType: $paymentType
30
- createBy: $createBy
31
- paymentInfo: $paymentInfo
32
- attributes: $attributes
33
- ) {
34
- code
35
- message
36
- data
37
- qrCodeUrl
38
- deeplink
39
- deeplinkMiniApp
40
- invoiceId
41
- orderId
42
- paymentId
43
- }
44
- }
5
+ exports.CREATE_PAYMENT_ORDER_MUTATION = (0, graphql_tag_1.gql) `
6
+ mutation CreatePaymentOrder(
7
+ $orgId: String!
8
+ $orderId: String!
9
+ $paymentMethod: String!
10
+ $storeId: String!
11
+ $source: String!
12
+ $appliedAmount: BigDecimal
13
+ $payDate: String!
14
+ $returnUrl: String
15
+ $paymentType: String!
16
+ $createBy: String!
17
+ $paymentInfo: String
18
+ $attributes: JSON
19
+ ) {
20
+ createPaymentOrder(
21
+ orgId: $orgId
22
+ orderId: $orderId
23
+ paymentMethod: $paymentMethod
24
+ storeId: $storeId
25
+ source: $source
26
+ appliedAmount: $appliedAmount
27
+ payDate: $payDate
28
+ returnUrl: $returnUrl
29
+ paymentType: $paymentType
30
+ createBy: $createBy
31
+ paymentInfo: $paymentInfo
32
+ attributes: $attributes
33
+ ) {
34
+ code
35
+ message
36
+ data
37
+ qrCodeUrl
38
+ deeplink
39
+ deeplinkMiniApp
40
+ invoiceId
41
+ orderId
42
+ paymentId
43
+ }
44
+ }
45
45
  `;
46
- exports.REQUEST_UNPUBLISH_VAT_INVOICE = (0, graphql_tag_1.gql) `
47
- mutation RequestUnpublishVatInvoice(
48
- $partnerId: String!
49
- $sourceId: String!
50
- $sourceType: String!
51
- $signType: String
52
- $includeBuyerTaxCode: Boolean
53
- $buyerName: String
54
- $buyerPhone: String
55
- $buyerTaxCode: String
56
- $buyerCompany: String
57
- $buyerAddress: String
58
- $sendMail: Boolean
59
- $receiverName: String
60
- $receiverEmail: String
61
- $byUser: String!
62
- ) {
63
- requestUnpublishVatInvoice(
64
- vatInvoiceRequest: {
65
- partnerId: $partnerId
66
- sourceId: $sourceId
67
- sourceType: $sourceType
68
- signType: $signType
69
- includeBuyerTaxCode: $includeBuyerTaxCode
70
- buyerName: $buyerName
71
- buyerPhone: $buyerPhone
72
- buyerTaxCode: $buyerTaxCode
73
- buyerCompany: $buyerCompany
74
- buyerAddress: $buyerAddress
75
- sendMail: $sendMail
76
- receiverName: $receiverName
77
- receiverEmail: $receiverEmail
78
- }
79
- byUser: $byUser
80
- ) {
81
- code
82
- message
83
- invoiceId
84
- sourceId
85
- sourceType
86
- previewLink
87
- lookupLink
88
- }
89
- }
46
+ exports.REQUEST_UNPUBLISH_VAT_INVOICE = (0, graphql_tag_1.gql) `
47
+ mutation RequestUnpublishVatInvoice(
48
+ $partnerId: String!
49
+ $sourceId: String!
50
+ $sourceType: String!
51
+ $signType: String
52
+ $includeBuyerTaxCode: Boolean
53
+ $buyerName: String
54
+ $buyerPhone: String
55
+ $buyerTaxCode: String
56
+ $buyerCompany: String
57
+ $buyerAddress: String
58
+ $sendMail: Boolean
59
+ $receiverName: String
60
+ $receiverEmail: String
61
+ $byUser: String!
62
+ ) {
63
+ requestUnpublishVatInvoice(
64
+ vatInvoiceRequest: {
65
+ partnerId: $partnerId
66
+ sourceId: $sourceId
67
+ sourceType: $sourceType
68
+ signType: $signType
69
+ includeBuyerTaxCode: $includeBuyerTaxCode
70
+ buyerName: $buyerName
71
+ buyerPhone: $buyerPhone
72
+ buyerTaxCode: $buyerTaxCode
73
+ buyerCompany: $buyerCompany
74
+ buyerAddress: $buyerAddress
75
+ sendMail: $sendMail
76
+ receiverName: $receiverName
77
+ receiverEmail: $receiverEmail
78
+ }
79
+ byUser: $byUser
80
+ ) {
81
+ code
82
+ message
83
+ invoiceId
84
+ sourceId
85
+ sourceType
86
+ previewLink
87
+ lookupLink
88
+ }
89
+ }
90
90
  `;
91
- exports.REQUEST_PUBLISH_VAT_INVOICE = (0, graphql_tag_1.gql) `
92
- mutation RequestPublishVatInvoice(
93
- $partnerId: String!
94
- $sourceId: String!
95
- $sourceType: String!
96
- $signType: String
97
- $includeBuyerTaxCode: Boolean
98
- $buyerName: String
99
- $buyerPhone: String
100
- $buyerTaxCode: String
101
- $buyerCompany: String
102
- $buyerAddress: String
103
- $sendMail: Boolean
104
- $receiverName: String
105
- $receiverEmail: String
106
- $byUser: String!
107
- ) {
108
- requestPublishVatInvoice(
109
- vatInvoiceRequest: {
110
- partnerId: $partnerId
111
- sourceId: $sourceId
112
- sourceType: $sourceType
113
- signType: $signType
114
- includeBuyerTaxCode: $includeBuyerTaxCode
115
- buyerName: $buyerName
116
- buyerPhone: $buyerPhone
117
- buyerTaxCode: $buyerTaxCode
118
- buyerCompany: $buyerCompany
119
- buyerAddress: $buyerAddress
120
- sendMail: $sendMail
121
- receiverName: $receiverName
122
- receiverEmail: $receiverEmail
123
- }
124
- byUser: $byUser
125
- ) {
126
- code
127
- message
128
- invoiceId
129
- sourceId
130
- sourceType
131
- previewLink
132
- lookupLink
133
- }
134
- }
91
+ exports.REQUEST_PUBLISH_VAT_INVOICE = (0, graphql_tag_1.gql) `
92
+ mutation RequestPublishVatInvoice(
93
+ $partnerId: String!
94
+ $sourceId: String!
95
+ $sourceType: String!
96
+ $signType: String
97
+ $includeBuyerTaxCode: Boolean
98
+ $buyerName: String
99
+ $buyerPhone: String
100
+ $buyerTaxCode: String
101
+ $buyerCompany: String
102
+ $buyerAddress: String
103
+ $sendMail: Boolean
104
+ $receiverName: String
105
+ $receiverEmail: String
106
+ $byUser: String!
107
+ ) {
108
+ requestPublishVatInvoice(
109
+ vatInvoiceRequest: {
110
+ partnerId: $partnerId
111
+ sourceId: $sourceId
112
+ sourceType: $sourceType
113
+ signType: $signType
114
+ includeBuyerTaxCode: $includeBuyerTaxCode
115
+ buyerName: $buyerName
116
+ buyerPhone: $buyerPhone
117
+ buyerTaxCode: $buyerTaxCode
118
+ buyerCompany: $buyerCompany
119
+ buyerAddress: $buyerAddress
120
+ sendMail: $sendMail
121
+ receiverName: $receiverName
122
+ receiverEmail: $receiverEmail
123
+ }
124
+ byUser: $byUser
125
+ ) {
126
+ code
127
+ message
128
+ invoiceId
129
+ sourceId
130
+ sourceType
131
+ previewLink
132
+ lookupLink
133
+ }
134
+ }
135
135
  `;
136
- exports.UPDATE_INVOICE_ITEM = (0, graphql_tag_1.gql) `
137
- mutation UpdateInvoiceItem(
138
- $partnerId: String!
139
- $invoiceId: String!
140
- $updateInvoiceItemDTO: UpdateInvoiceItemDTO!
141
- $byUser: String!
142
- ) {
143
- updateInvoiceItem(
144
- partnerId: $partnerId
145
- invoiceId: $invoiceId
146
- updateInvoiceItemDTO: $updateInvoiceItemDTO
147
- byUser: $byUser
148
- ) {
149
- code
150
- message
151
- invoiceId
152
- sourceId
153
- sourceType
154
- previewLink
155
- lookupLink
156
- }
157
- }
136
+ exports.UPDATE_INVOICE_ITEM = (0, graphql_tag_1.gql) `
137
+ mutation UpdateInvoiceItem(
138
+ $partnerId: String!
139
+ $invoiceId: String!
140
+ $updateInvoiceItemDTO: UpdateInvoiceItemDTO!
141
+ $byUser: String!
142
+ ) {
143
+ updateInvoiceItem(
144
+ partnerId: $partnerId
145
+ invoiceId: $invoiceId
146
+ updateInvoiceItemDTO: $updateInvoiceItemDTO
147
+ byUser: $byUser
148
+ ) {
149
+ code
150
+ message
151
+ invoiceId
152
+ sourceId
153
+ sourceType
154
+ previewLink
155
+ lookupLink
156
+ }
157
+ }
158
158
  `;
159
- exports.ADD_INVOICE_ITEM = (0, graphql_tag_1.gql) `
160
- mutation AddInvoiceItem(
161
- $partnerId: String!
162
- $invoiceId: String!
163
- $invoiceItem: InvoiceItemInput!
164
- $byUser: String!
165
- ) {
166
- addInvoiceItem(
167
- partnerId: $partnerId
168
- invoiceId: $invoiceId
169
- invoiceItem: $invoiceItem
170
- byUser: $byUser
171
- ) {
172
- code
173
- message
174
- invoiceId
175
- sourceId
176
- sourceType
177
- previewLink
178
- lookupLink
179
- }
180
- }
159
+ exports.ADD_INVOICE_ITEM = (0, graphql_tag_1.gql) `
160
+ mutation AddInvoiceItem(
161
+ $partnerId: String!
162
+ $invoiceId: String!
163
+ $invoiceItem: InvoiceItemInput!
164
+ $byUser: String!
165
+ ) {
166
+ addInvoiceItem(
167
+ partnerId: $partnerId
168
+ invoiceId: $invoiceId
169
+ invoiceItem: $invoiceItem
170
+ byUser: $byUser
171
+ ) {
172
+ code
173
+ message
174
+ invoiceId
175
+ sourceId
176
+ sourceType
177
+ previewLink
178
+ lookupLink
179
+ }
180
+ }
181
181
  `;
182
- exports.DELETE_INVOICE_ITEM = (0, graphql_tag_1.gql) `
183
- mutation DeleteInvoiceItem(
184
- $partnerId: String!
185
- $invoiceId: String!
186
- $invoiceItemId: String!
187
- $byUser: String!
188
- ) {
189
- deleteInvoiceItem(
190
- partnerId: $partnerId
191
- invoiceId: $invoiceId
192
- invoiceItemId: $invoiceItemId
193
- byUser: $byUser
194
- ) {
195
- code
196
- message
197
- invoiceId
198
- sourceId
199
- sourceType
200
- previewLink
201
- lookupLink
202
- }
203
- }
182
+ exports.DELETE_INVOICE_ITEM = (0, graphql_tag_1.gql) `
183
+ mutation DeleteInvoiceItem(
184
+ $partnerId: String!
185
+ $invoiceId: String!
186
+ $invoiceItemId: String!
187
+ $byUser: String!
188
+ ) {
189
+ deleteInvoiceItem(
190
+ partnerId: $partnerId
191
+ invoiceId: $invoiceId
192
+ invoiceItemId: $invoiceItemId
193
+ byUser: $byUser
194
+ ) {
195
+ code
196
+ message
197
+ invoiceId
198
+ sourceId
199
+ sourceType
200
+ previewLink
201
+ lookupLink
202
+ }
203
+ }
204
204
  `;
@@ -2,127 +2,127 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GET_INVOICE_ITEM_OF_INVOICE = exports.VIEW_PUBLISHED_INVOICE = exports.GET_INVOICES_OF_ORDER = exports.GET_INVOICE_DETAIL = exports.GET_PAYMENT_METHOD_OF_STORE_CHANNEL = exports.GEN_QR_PAYMENT = exports.GET_PAYMENT_METHOD = void 0;
4
4
  const graphql_tag_1 = require("graphql-tag");
5
- exports.GET_PAYMENT_METHOD = (0, graphql_tag_1.gql) `
6
- query GetPaymentMethod($orgId: String!, $storeChannelId: String) {
7
- getPaymentMethod(orgId: $orgId, storeChannelId: $storeChannelId) {
8
- id
9
- code
10
- name
11
- }
12
- }
5
+ exports.GET_PAYMENT_METHOD = (0, graphql_tag_1.gql) `
6
+ query GetPaymentMethod($orgId: String!, $storeChannelId: String) {
7
+ getPaymentMethod(orgId: $orgId, storeChannelId: $storeChannelId) {
8
+ id
9
+ code
10
+ name
11
+ }
12
+ }
13
13
  `;
14
- exports.GEN_QR_PAYMENT = (0, graphql_tag_1.gql) `
15
- query GenQRPayment(
16
- $orgId: String!
17
- $orderId: String!
18
- $storeId: String!
19
- $totalAmount: BigDecimal
20
- ) {
21
- genQRPayment(
22
- orgId: $orgId
23
- orderId: $orderId
24
- storeId: $storeId
25
- totalAmount: $totalAmount
26
- )
27
- }
14
+ exports.GEN_QR_PAYMENT = (0, graphql_tag_1.gql) `
15
+ query GenQRPayment(
16
+ $orgId: String!
17
+ $orderId: String!
18
+ $storeId: String!
19
+ $totalAmount: BigDecimal
20
+ ) {
21
+ genQRPayment(
22
+ orgId: $orgId
23
+ orderId: $orderId
24
+ storeId: $storeId
25
+ totalAmount: $totalAmount
26
+ )
27
+ }
28
28
  `;
29
- exports.GET_PAYMENT_METHOD_OF_STORE_CHANNEL = (0, graphql_tag_1.gql) `
30
- query GetPaymentMethodOfStoreChannel(
31
- $orgId: String!
32
- $storeChannelId: String!
33
- ) {
34
- getPaymentMethodOfStoreChannel(
35
- orgId: $orgId
36
- storeChannelId: $storeChannelId
37
- ) {
38
- id
39
- code
40
- name
41
- image
42
- description
43
- }
44
- }
29
+ exports.GET_PAYMENT_METHOD_OF_STORE_CHANNEL = (0, graphql_tag_1.gql) `
30
+ query GetPaymentMethodOfStoreChannel(
31
+ $orgId: String!
32
+ $storeChannelId: String!
33
+ ) {
34
+ getPaymentMethodOfStoreChannel(
35
+ orgId: $orgId
36
+ storeChannelId: $storeChannelId
37
+ ) {
38
+ id
39
+ code
40
+ name
41
+ image
42
+ description
43
+ }
44
+ }
45
45
  `;
46
- exports.GET_INVOICE_DETAIL = (0, graphql_tag_1.gql) `
47
- query GetInvoiceDetail($invoiceId: String!) {
48
- getInvoiceDetail(invoiceId: $invoiceId) {
49
- id
50
- orderId
51
- type
52
- partyIdFrom
53
- partyIdTo
54
- status
55
- invoiceDate
56
- invoiceDueDate
57
- createdBy
58
- createdStamp
59
- paymentId
60
- originalTotalPrice
61
- totalVAT
62
- appliedAmount
63
- }
64
- }
46
+ exports.GET_INVOICE_DETAIL = (0, graphql_tag_1.gql) `
47
+ query GetInvoiceDetail($invoiceId: String!) {
48
+ getInvoiceDetail(invoiceId: $invoiceId) {
49
+ id
50
+ orderId
51
+ type
52
+ partyIdFrom
53
+ partyIdTo
54
+ status
55
+ invoiceDate
56
+ invoiceDueDate
57
+ createdBy
58
+ createdStamp
59
+ paymentId
60
+ originalTotalPrice
61
+ totalVAT
62
+ appliedAmount
63
+ }
64
+ }
65
65
  `;
66
- exports.GET_INVOICES_OF_ORDER = (0, graphql_tag_1.gql) `
67
- query GetInvoicesOfOrder($orderId: String!) {
68
- getInvoicesOfOrder(orderId: $orderId) {
69
- id
70
- orderId
71
- type
72
- partyIdFrom
73
- partyIdTo
74
- status
75
- invoiceDate
76
- invoiceDueDate
77
- createdBy
78
- createdStamp
79
- paymentId
80
- originalTotalPrice
81
- totalVAT
82
- appliedAmount
83
- attributes {
84
- name
85
- value
86
- }
87
- }
88
- }
66
+ exports.GET_INVOICES_OF_ORDER = (0, graphql_tag_1.gql) `
67
+ query GetInvoicesOfOrder($orderId: String!) {
68
+ getInvoicesOfOrder(orderId: $orderId) {
69
+ id
70
+ orderId
71
+ type
72
+ partyIdFrom
73
+ partyIdTo
74
+ status
75
+ invoiceDate
76
+ invoiceDueDate
77
+ createdBy
78
+ createdStamp
79
+ paymentId
80
+ originalTotalPrice
81
+ totalVAT
82
+ appliedAmount
83
+ attributes {
84
+ name
85
+ value
86
+ }
87
+ }
88
+ }
89
89
  `;
90
- exports.VIEW_PUBLISHED_INVOICE = (0, graphql_tag_1.gql) `
91
- query ViewPublishedInvoice($partnerId: String!, $invoiceId: String!) {
92
- viewPublishedInvoice(partnerId: $partnerId, invoiceId: $invoiceId) {
93
- code
94
- message
95
- invoiceId
96
- sourceId
97
- sourceType
98
- previewLink
99
- lookupLink
100
- }
101
- }
90
+ exports.VIEW_PUBLISHED_INVOICE = (0, graphql_tag_1.gql) `
91
+ query ViewPublishedInvoice($partnerId: String!, $invoiceId: String!) {
92
+ viewPublishedInvoice(partnerId: $partnerId, invoiceId: $invoiceId) {
93
+ code
94
+ message
95
+ invoiceId
96
+ sourceId
97
+ sourceType
98
+ previewLink
99
+ lookupLink
100
+ }
101
+ }
102
102
  `;
103
- exports.GET_INVOICE_ITEM_OF_INVOICE = (0, graphql_tag_1.gql) `
104
- query GetInvoiceItemOfInvoie($invoiceId: String!) {
105
- getInvoiceItemOfInvoie(invoiceId: $invoiceId) {
106
- id
107
- invoiceId
108
- type
109
- partyIdFrom
110
- partyIdTo
111
- status
112
- productParentId
113
- productId
114
- productName
115
- sku
116
- unitType
117
- quantity
118
- amount
119
- vatRateName
120
- vatRate
121
- totalVAT
122
- totalAmount
123
- invoiceDate
124
- note
125
- itemType
126
- }
127
- }
103
+ exports.GET_INVOICE_ITEM_OF_INVOICE = (0, graphql_tag_1.gql) `
104
+ query GetInvoiceItemOfInvoie($invoiceId: String!) {
105
+ getInvoiceItemOfInvoie(invoiceId: $invoiceId) {
106
+ id
107
+ invoiceId
108
+ type
109
+ partyIdFrom
110
+ partyIdTo
111
+ status
112
+ productParentId
113
+ productId
114
+ productName
115
+ sku
116
+ unitType
117
+ quantity
118
+ amount
119
+ vatRateName
120
+ vatRate
121
+ totalVAT
122
+ totalAmount
123
+ invoiceDate
124
+ note
125
+ itemType
126
+ }
127
+ }
128
128
  `;