@longvansoftware/storefront-js-client 3.7.6 → 3.7.9

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 (55) hide show
  1. package/dist/src/graphql/product/queries.d.ts +1 -0
  2. package/dist/src/graphql/product/queries.js +108 -1
  3. package/dist/src/lib/product/index.d.ts +1 -0
  4. package/dist/src/lib/product/index.js +17 -0
  5. package/package.json +2 -3
  6. package/dist/src/graphql/accounting_service/mutations.d.ts +0 -2
  7. package/dist/src/graphql/accounting_service/mutations.js +0 -102
  8. package/dist/src/graphql/accounting_service/queries.d.ts +0 -1
  9. package/dist/src/graphql/accounting_service/queries.js +0 -62
  10. package/dist/src/graphql/crm_camping/mutations.d.ts +0 -1
  11. package/dist/src/graphql/crm_camping/mutations.js +0 -37
  12. package/dist/src/graphql/crm_camping/queries.d.ts +0 -8
  13. package/dist/src/graphql/crm_camping/queries.js +0 -279
  14. package/dist/src/graphql/fragments/product.d.ts +0 -38
  15. package/dist/src/graphql/fragments/product.js +0 -196
  16. package/dist/src/graphql/orderGraphQL/mutations.d.ts +0 -4
  17. package/dist/src/graphql/orderGraphQL/mutations.js +0 -359
  18. package/dist/src/graphql/orderGraphQL/queries.d.ts +0 -7
  19. package/dist/src/graphql/orderGraphQL/queries.js +0 -402
  20. package/dist/src/graphql/paymentLV/mutations.d.ts +0 -2
  21. package/dist/src/graphql/paymentLV/mutations.js +0 -25
  22. package/dist/src/graphql/paymentLV/queries.d.ts +0 -4
  23. package/dist/src/graphql/paymentLV/queries.js +0 -83
  24. package/dist/src/graphql/quicklab_service/mutations.d.ts +0 -8
  25. package/dist/src/graphql/quicklab_service/mutations.js +0 -171
  26. package/dist/src/graphql/quicklab_service/queries.d.ts +0 -6
  27. package/dist/src/graphql/quicklab_service/queries.js +0 -121
  28. package/dist/src/graphql/resource_permission/mutations.d.ts +0 -2
  29. package/dist/src/graphql/resource_permission/mutations.js +0 -63
  30. package/dist/src/graphql/resource_permission/queries.d.ts +0 -1
  31. package/dist/src/graphql/resource_permission/queries.js +0 -18
  32. package/dist/src/lib/accounting_service/index.d.ts +0 -9
  33. package/dist/src/lib/accounting_service/index.js +0 -69
  34. package/dist/src/lib/cloud_rest/index.d.ts +0 -17
  35. package/dist/src/lib/cloud_rest/index.js +0 -101
  36. package/dist/src/lib/crm_camping/index.d.ts +0 -16
  37. package/dist/src/lib/crm_camping/index.js +0 -227
  38. package/dist/src/lib/dns/index.d.ts +0 -7
  39. package/dist/src/lib/dns/index.js +0 -40
  40. package/dist/src/lib/orderGraphQL/index.d.ts +0 -16
  41. package/dist/src/lib/orderGraphQL/index.js +0 -192
  42. package/dist/src/lib/order_cloud_rest/index.d.ts +0 -7
  43. package/dist/src/lib/order_cloud_rest/index.js +0 -39
  44. package/dist/src/lib/paymentLV/index.d.ts +0 -12
  45. package/dist/src/lib/paymentLV/index.js +0 -132
  46. package/dist/src/lib/quicklab_service/index.d.ts +0 -18
  47. package/dist/src/lib/quicklab_service/index.js +0 -197
  48. package/dist/src/lib/resource_permission/index.d.ts +0 -9
  49. package/dist/src/lib/resource_permission/index.js +0 -81
  50. package/dist/src/lib/shareZalo/index.d.ts +0 -5
  51. package/dist/src/lib/shareZalo/index.js +0 -32
  52. package/dist/src/types/common.d.ts +0 -264
  53. package/dist/src/types/common.js +0 -35
  54. package/dist/src/utils/errorHandler.d.ts +0 -64
  55. package/dist/src/utils/errorHandler.js +0 -197
@@ -19,3 +19,4 @@ export declare const GET_PRODUCT_TEMPLATES: import("graphql").DocumentNode;
19
19
  export declare const GET_GROUPS: import("graphql").DocumentNode;
20
20
  export declare const GET_BRAND: import("graphql").DocumentNode;
21
21
  export declare const GET_TAGS: import("graphql").DocumentNode;
22
+ export declare const GET_PRODUCT_BY_GROUPID: import("graphql").DocumentNode;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GET_TAGS = exports.GET_BRAND = exports.GET_GROUPS = exports.GET_PRODUCT_TEMPLATES = exports.GET_PRODUCT_VARIANT_BY_ID = exports.GET_UNITS = exports.GET_PRODUCT = exports.GET_PRODUCT_IMAGE = exports.GET_DETAIL_STORES = exports.GET_STORES = exports.GET_POLICY = exports.GET_PRODUCT_OPTION = exports.GET_BRAND_DETAIL_QUERY = exports.GET_BRANDS_BY_CATEGORY_QUERY = exports.GET_BRANDS_QUERY = exports.GET_CATEGORY_BY_ID_QUERY = exports.GET_CATEGORY_BY_HANDLE_QUERY = exports.GET_CATEGORIES_QUERY = exports.GET_SIMPLE_PRODUCTS_QUERY = exports.GET_PRODUCT_BY_SLUG_QUERY = exports.GET_PRODUCT_BY_ID_QUERY = void 0;
3
+ exports.GET_PRODUCT_BY_GROUPID = exports.GET_TAGS = exports.GET_BRAND = exports.GET_GROUPS = exports.GET_PRODUCT_TEMPLATES = exports.GET_PRODUCT_VARIANT_BY_ID = exports.GET_UNITS = exports.GET_PRODUCT = exports.GET_PRODUCT_IMAGE = exports.GET_DETAIL_STORES = exports.GET_STORES = exports.GET_POLICY = exports.GET_PRODUCT_OPTION = exports.GET_BRAND_DETAIL_QUERY = exports.GET_BRANDS_BY_CATEGORY_QUERY = exports.GET_BRANDS_QUERY = exports.GET_CATEGORY_BY_ID_QUERY = exports.GET_CATEGORY_BY_HANDLE_QUERY = exports.GET_CATEGORIES_QUERY = exports.GET_SIMPLE_PRODUCTS_QUERY = exports.GET_PRODUCT_BY_SLUG_QUERY = exports.GET_PRODUCT_BY_ID_QUERY = void 0;
4
4
  const graphql_tag_1 = require("graphql-tag");
5
5
  // export const GET_PRODUCT_BY_ID_QUERY = gql`
6
6
  // query GetProductById(
@@ -725,3 +725,110 @@ exports.GET_TAGS = (0, graphql_tag_1.gql) `
725
725
  }
726
726
  }
727
727
  `;
728
+ exports.GET_PRODUCT_BY_GROUPID = (0, graphql_tag_1.gql) `
729
+ query GetProducts(
730
+ $partnerId: String!
731
+ $storeChannel: String!
732
+ $group: String
733
+ ) {
734
+ getProducts(
735
+ partnerId: $partnerId
736
+ storeChannel: $storeChannel
737
+ group: $group
738
+ ) {
739
+ total
740
+ currentPage
741
+ maxResult
742
+ totalPage
743
+ data {
744
+ id
745
+ title
746
+ subType
747
+ description
748
+ sku
749
+ shortDescription
750
+ weight
751
+ width
752
+ depth
753
+ height
754
+ vat
755
+ qualify
756
+ parentId
757
+ handle
758
+ price
759
+ displayPrice
760
+ hint
761
+ compareAtPrices
762
+ priceUnit
763
+ priceQuantity
764
+ priceType
765
+ salePolicy
766
+ priceTypeName
767
+ priceVaries
768
+ available
769
+ tags
770
+ options
771
+ optionsRelationship
772
+ compareAtPrice
773
+ featuredImage
774
+ version
775
+ images
776
+ unitDTO {
777
+ id
778
+ name
779
+ }
780
+ productAttributes {
781
+ attributeName
782
+ attributeValue
783
+ }
784
+ attributeDTOS {
785
+ id
786
+ key
787
+ extendFromSource
788
+ }
789
+ variants {
790
+ id
791
+ handle
792
+ title
793
+ price
794
+ priceType
795
+ compareAtPrice
796
+ options
797
+ optionsIds
798
+ featuredImage
799
+ sku
800
+ }
801
+ featureTypes {
802
+ id
803
+ name
804
+ position
805
+ type
806
+ subType
807
+ fill
808
+ requireData
809
+ otherItem
810
+ values
811
+ description
812
+ createStamp
813
+ createdBy
814
+ }
815
+ categories {
816
+ id
817
+ title
818
+ image
819
+ icon
820
+ parentId
821
+ level
822
+ handle
823
+ description
824
+ }
825
+ groups {
826
+ id
827
+ name
828
+ policy
829
+ image
830
+ }
831
+ }
832
+ }
833
+ }
834
+ `;
@@ -71,4 +71,5 @@ export declare class ProductService extends Service {
71
71
  removeProductImages(productId: string, imageDTO: any): Promise<any>;
72
72
  buildProductPreBuildByProduct(productId: string): Promise<any>;
73
73
  buildProductPreBuildByStore(storeIds: [string]): Promise<any>;
74
+ getProductByGroup(storeChannel: string, group: string): Promise<any>;
74
75
  }
@@ -748,5 +748,22 @@ class ProductService extends serviceSDK_1.Service {
748
748
  }
749
749
  });
750
750
  }
751
+ getProductByGroup(storeChannel, group) {
752
+ return __awaiter(this, void 0, void 0, function* () {
753
+ const query = queries_1.GET_PRODUCT_BY_GROUPID;
754
+ const variables = {
755
+ partnerId: this.orgId,
756
+ storeChannel,
757
+ group
758
+ };
759
+ try {
760
+ const response = yield this.graphqlQuery(query, variables);
761
+ return response.getProducts;
762
+ }
763
+ catch (error) {
764
+ throw error;
765
+ }
766
+ });
767
+ }
751
768
  }
752
769
  exports.ProductService = ProductService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/storefront-js-client",
3
- "version": "3.7.6",
3
+ "version": "3.7.9",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [
@@ -39,6 +39,5 @@
39
39
  "ts-jest": "^29.1.2",
40
40
  "typescript": "^5.4.5"
41
41
  },
42
- "description": "",
43
- "packageManager": "yarn@4.7.0+sha512.5a0afa1d4c1d844b3447ee3319633797bcd6385d9a44be07993ae52ff4facabccafb4af5dcd1c2f9a94ac113e5e9ff56f6130431905884414229e284e37bb7c9"
42
+ "description": ""
44
43
  }
@@ -1,2 +0,0 @@
1
- export declare const DEPOSIT_WALLET: import("graphql").DocumentNode;
2
- export declare const CONFIRM_DEPOSIT_WALLET: import("graphql").DocumentNode;
@@ -1,102 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CONFIRM_DEPOSIT_WALLET = exports.DEPOSIT_WALLET = void 0;
4
- const graphql_tag_1 = require("graphql-tag");
5
- exports.DEPOSIT_WALLET = (0, graphql_tag_1.gql) `
6
- mutation DepositWallet(
7
- $partnerId: String!
8
- $storeId: String!
9
- $partyId: String!
10
- $storeName: String
11
- $amountDeposit: BigDecimal!
12
- $amountPromotion: BigDecimal
13
- $orderNote: String
14
- $paymentMethodCode: String
15
- $sourcePayment: String
16
- $paymentType: String
17
- $returnUrl: String
18
- $createBy: String
19
- ) {
20
- depositWallet(
21
- partnerId: $partnerId
22
- partyId: $partyId
23
- storeId: $storeId
24
- storeName: $storeName
25
- amountDeposit: $amountDeposit
26
- amountPromotion: $amountPromotion
27
- orderNote: $orderNote
28
- paymentMethodCode: $paymentMethodCode
29
- sourcePayment: $sourcePayment
30
- paymentType: $paymentType
31
- returnUrl: $returnUrl
32
- createBy: $createBy
33
- ) {
34
- order {
35
- orderId
36
- }
37
- payment {
38
- code
39
- message
40
- data
41
- qrCodeUrl
42
- deeplink
43
- deeplinkMiniApp
44
- invoiceId
45
- orderId
46
- paymentId
47
- }
48
- financialOrder {
49
- partnerId
50
- name
51
- userId
52
- totalAmount
53
- type
54
- transactionId
55
- status
56
- accountNumber
57
- method
58
- gateway
59
- extOrderId
60
- extTransactionId
61
- transactionTime
62
- description
63
- source
64
- level
65
- }
66
- }
67
- }
68
- `;
69
- exports.CONFIRM_DEPOSIT_WALLET = (0, graphql_tag_1.gql) `
70
- mutation ConfirmDepositWallet(
71
- $partnerId: String!
72
- $orderId: String!
73
- $transactionId: String
74
- $transactionTime: Long!
75
- $createBy: String
76
- ) {
77
- confirmDepositWallet(
78
- partnerId: $partnerId
79
- orderId: $orderId
80
- transactionId: $transactionId
81
- transactionTime: $transactionTime
82
- createBy: $createBy
83
- ) {
84
- partnerId
85
- name
86
- userId
87
- totalAmount
88
- type
89
- transactionId
90
- status
91
- accountNumber
92
- method
93
- gateway
94
- extOrderId
95
- extTransactionId
96
- transactionTime
97
- description
98
- source
99
- level
100
- }
101
- }
102
- `;
@@ -1 +0,0 @@
1
- export declare const FINANCIAL_ACCOUNT_WALLET_INFO: import("graphql").DocumentNode;
@@ -1,62 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FINANCIAL_ACCOUNT_WALLET_INFO = void 0;
4
- const graphql_tag_1 = require("graphql-tag");
5
- exports.FINANCIAL_ACCOUNT_WALLET_INFO = (0, graphql_tag_1.gql) `
6
- query FinancialAccountWalletInfo(
7
- $partnerId: String!
8
- $partyId: String
9
- $showTransaction: Boolean!
10
- ) {
11
- financialAccountWalletInfo(
12
- partnerId: $partnerId
13
- partyId: $partyId
14
- showTransaction: $showTransaction
15
- ) {
16
- financialAccount {
17
- id
18
- partyId
19
- partnerId
20
- type
21
- description
22
- glAccountNumber
23
- created
24
- updated
25
- }
26
- glAccount {
27
- partnerId
28
- accountNumber
29
- owner
30
- debit
31
- credit
32
- balance
33
- type
34
- parent
35
- level
36
- description
37
- created
38
- updated
39
- deleteAble
40
- }
41
- transactions {
42
- partnerId
43
- name
44
- userId
45
- totalAmount
46
- type
47
- transactionId
48
- status
49
- accountNumber
50
- method
51
- gateway
52
- extOrderId
53
- extTransactionId
54
- transactionTime
55
- description
56
- source
57
- level
58
- createdStamp
59
- }
60
- }
61
- }
62
- `;
@@ -1 +0,0 @@
1
- export declare const ADD_CUSTOMER_TO_VOUCHER: import("graphql").DocumentNode;
@@ -1,37 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ADD_CUSTOMER_TO_VOUCHER = void 0;
4
- const graphql_tag_1 = require("graphql-tag");
5
- exports.ADD_CUSTOMER_TO_VOUCHER = (0, graphql_tag_1.gql) `
6
- mutation AddCustomerToVoucher(
7
- $partyId: String!
8
- $userId: String!
9
- $voucherCode: String!
10
- ) {
11
- addCustomerToVoucher(
12
- partyId: $partyId
13
- userId: $userId
14
- voucherCode: $voucherCode
15
- ) {
16
- campaignActionId
17
- campaignId
18
- partyId
19
- voucherCode
20
- voucherType
21
- status
22
- discountAmount
23
- discountPercent
24
- usageLimitPerVoucher
25
- maximumDiscount
26
- numberOfTimeUsed
27
- id
28
- createdStamp
29
- updatedStamp
30
- updatedBy
31
- createdBy
32
- isBirthday
33
- customerId
34
- scope
35
- }
36
- }
37
- `;
@@ -1,8 +0,0 @@
1
- export declare const SEARCH_PRODUCT_QUANTITY_PROMOTION_ACTION: import("graphql").DocumentNode;
2
- export declare const GET_CAMPAIGN_ACTION_BY_ID: import("graphql").DocumentNode;
3
- export declare const SUGGEST_VOUCHER: import("graphql").DocumentNode;
4
- export declare const GET_VOUCHERS: import("graphql").DocumentNode;
5
- export declare const GET_AVERAGE_RATING: import("graphql").DocumentNode;
6
- export declare const GET_URL_EVALUATION: import("graphql").DocumentNode;
7
- export declare const GET_NUMBER_OF_TICKET_EVALUATION: import("graphql").DocumentNode;
8
- export declare const SEARCH_PRODUCT_GIFT_PROMOTION_RESPONSE: import("graphql").DocumentNode;
@@ -1,279 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SEARCH_PRODUCT_GIFT_PROMOTION_RESPONSE = exports.GET_NUMBER_OF_TICKET_EVALUATION = exports.GET_URL_EVALUATION = exports.GET_AVERAGE_RATING = exports.GET_VOUCHERS = exports.SUGGEST_VOUCHER = exports.GET_CAMPAIGN_ACTION_BY_ID = exports.SEARCH_PRODUCT_QUANTITY_PROMOTION_ACTION = void 0;
4
- const graphql_tag_1 = require("graphql-tag");
5
- exports.SEARCH_PRODUCT_QUANTITY_PROMOTION_ACTION = (0, graphql_tag_1.gql) `
6
- query SearchProductQuantityPromotionAction(
7
- $productId: String!
8
- $partyId: String!
9
- $storeChannel: String!
10
- ) {
11
- searchProductQuantityPromotionAction(
12
- productId: $productId
13
- partyId: $partyId
14
- storeChannel: $storeChannel
15
- )
16
- }
17
- `;
18
- exports.GET_CAMPAIGN_ACTION_BY_ID = (0, graphql_tag_1.gql) `
19
- query GetCampaignActionById($id: String!) {
20
- getCampaignActionById(id: $id) {
21
- name
22
- description
23
- partyId
24
- type
25
- viewTemplateId
26
- urlTemplate
27
- shortCode
28
- uriPattern
29
- parameterPattern
30
- status
31
- extendDaysForHeadReview
32
- priorityLevel
33
- positionConnectionType
34
- baseCommissionPercent
35
- targetType
36
- id
37
- createdStamp
38
- updatedStamp
39
- updatedBy
40
- createdBy
41
- }
42
- }
43
- `;
44
- // export const SUGGEST_VOUCHER = gql`
45
- // query SuggestVoucher (
46
- // searchVoucherRequest: { partyId: String, customerId: String }
47
- // ) {
48
- // suggestVoucher(
49
- // searchVoucherRequest: { partyId: $partyId, customerId: $customerId }
50
- // ) {
51
- // total
52
- // totalPages
53
- // totalElements
54
- // last
55
- // first
56
- // number
57
- // numberOfElements
58
- // size
59
- // empty
60
- // content {
61
- // campaignActionId
62
- // campaignId
63
- // partyId
64
- // voucherCode
65
- // voucherType
66
- // status
67
- // discountAmount
68
- // discountPercent
69
- // usageLimitPerVoucher
70
- // maximumDiscount
71
- // numberOfTimeUsed
72
- // id
73
- // createdStamp
74
- // updatedStamp
75
- // updatedBy
76
- // createdBy
77
- // isBirthday
78
- // customerId
79
- // scope
80
- // }
81
- // }
82
- // }
83
- // `;
84
- exports.SUGGEST_VOUCHER = (0, graphql_tag_1.gql) `
85
- query SuggestVoucher(
86
- $partyId: String
87
- $excludeExpired: Boolean
88
- $customerId: String
89
- $scope: String
90
- $isNewCustomer: Boolean
91
- $scopeIgnore: String
92
- ) {
93
- suggestVoucher(
94
- searchVoucherRequest: {
95
- partyId: $partyId
96
- excludeExpired: $excludeExpired
97
- customerId: $customerId
98
- scope: $scope
99
- isNewCustomer: $isNewCustomer
100
- scopeIgnore: $scopeIgnore
101
- }
102
- ) {
103
- total
104
- totalPages
105
- totalElements
106
- last
107
- first
108
- number
109
- numberOfElements
110
- size
111
- empty
112
- content {
113
- campaignActionId
114
- campaignId
115
- partyId
116
- voucherCode
117
- voucherType
118
- status
119
- discountAmount
120
- discountPercent
121
- description
122
- usageLimitPerVoucher
123
- maximumDiscount
124
- numberOfTimeUsed
125
- id
126
- createdStamp
127
- updatedStamp
128
- updatedBy
129
- createdBy
130
- isBirthday
131
- customerId
132
- scope
133
- affiliateId
134
- maximumSpend
135
- minimumSpend
136
- maximumDiscountType
137
- }
138
- }
139
- }
140
- `;
141
- exports.GET_VOUCHERS = (0, graphql_tag_1.gql) `
142
- query SearchVoucher(
143
- $partyId: String
144
- $campaignId: String
145
- $campaignActionId: String
146
- $campaignActionType: String
147
- $customerId: String
148
- $pageNumber: Int
149
- $pageSize: Int
150
- ) {
151
- searchVoucher(
152
- searchVoucherRequest: {
153
- partyId: $partyId
154
- campaignId: $campaignId
155
- campaignActionId: $campaignActionId
156
- campaignActionType: $campaignActionType
157
- customerId: $customerId
158
- pageNumber: $pageNumber
159
- pageSize: $pageSize
160
- }
161
- ) {
162
- total
163
- totalPages
164
- totalElements
165
- last
166
- first
167
- number
168
- numberOfElements
169
- size
170
- empty
171
- content {
172
- campaignActionId
173
- campaignId
174
- partyId
175
- voucherCode
176
- voucherType
177
- status
178
- discountAmount
179
- discountPercent
180
- usageLimitPerVoucher
181
- maximumDiscount
182
- numberOfTimeUsed
183
- id
184
- createdStamp
185
- updatedStamp
186
- updatedBy
187
- createdBy
188
- isBirthday
189
- customerId
190
- scope
191
- }
192
- }
193
- }
194
- `;
195
- exports.GET_AVERAGE_RATING = (0, graphql_tag_1.gql) `
196
- query GetAverageRating(
197
- $targetIds: [String]!
198
- $customerId: String!
199
- $evaluationType: String!
200
- $orgId: String!
201
- ) {
202
- getAverageRating(
203
- targetIds: $targetIds
204
- customerId: $customerId
205
- evaluationType: $evaluationType
206
- orgId: $orgId
207
- ) {
208
- url
209
- targetId
210
- evaluationType
211
- averageRating
212
- haveEvaluation
213
- }
214
- }
215
- `;
216
- exports.GET_URL_EVALUATION = (0, graphql_tag_1.gql) `
217
- query GetUrlEvaluation(
218
- $targetIds: [String]!
219
- $customerId: String!
220
- $evaluationType: String!
221
- $orgId: String!
222
- ) {
223
- getUrlEvaluation(
224
- targetIds: $targetIds
225
- customerId: $customerId
226
- evaluationType: $evaluationType
227
- orgId: $orgId
228
- ) {
229
- url
230
- targetId
231
- evaluationType
232
- averageRating
233
- haveEvaluation
234
- }
235
- }
236
- `;
237
- exports.GET_NUMBER_OF_TICKET_EVALUATION = (0, graphql_tag_1.gql) `
238
- query GetNumberOfTicketEvaluation($customerId: String!, $orgId: String!) {
239
- getNumberOfTicketEvaluation(customerId: $customerId, orgId: $orgId)
240
- }
241
- `;
242
- exports.SEARCH_PRODUCT_GIFT_PROMOTION_RESPONSE = (0, graphql_tag_1.gql) `
243
- query SearchProductGiftPromotionResponse(
244
- $parameterSearchProductGift: ParameterSearchProductGift
245
- ) {
246
- searchProductGiftPromotionResponse(
247
- parameterSearchProductGift: $parameterSearchProductGift
248
- ) {
249
- total
250
- totalPages
251
- totalElements
252
- content {
253
- id
254
- partyId
255
- campaignId
256
- campaignActionId
257
- productId
258
- productParentId
259
- quantityLimit
260
- giftPromotions {
261
- fromQuantity
262
- toProductId
263
- toQuantity
264
- productName
265
- sku
266
- featureImage
267
- }
268
- campaignActionName
269
- startDate
270
- endDate
271
- newCustomer
272
- createdStamp
273
- updatedStamp
274
- updatedBy
275
- createdBy
276
- }
277
- }
278
- }
279
- `;
@@ -1,38 +0,0 @@
1
- /**
2
- * Common product fields fragment
3
- * Used across multiple product queries to reduce duplication
4
- */
5
- export declare const PRODUCT_CORE_FIELDS: import("graphql").DocumentNode;
6
- /**
7
- * Product attributes fragment
8
- */
9
- export declare const PRODUCT_ATTRIBUTES: import("graphql").DocumentNode;
10
- /**
11
- * Product variants fragment
12
- */
13
- export declare const PRODUCT_VARIANTS: import("graphql").DocumentNode;
14
- /**
15
- * Product feature types fragment
16
- */
17
- export declare const PRODUCT_FEATURE_TYPES: import("graphql").DocumentNode;
18
- /**
19
- * Product categories fragment
20
- */
21
- export declare const PRODUCT_CATEGORIES: import("graphql").DocumentNode;
22
- /**
23
- * Product unit fragment
24
- */
25
- export declare const PRODUCT_UNIT: import("graphql").DocumentNode;
26
- /**
27
- * Complete product details fragment
28
- * Combines all product fragments for detailed queries
29
- */
30
- export declare const PRODUCT_FULL_DETAILS: import("graphql").DocumentNode;
31
- /**
32
- * Simple product fields for list views
33
- */
34
- export declare const PRODUCT_SIMPLE_FIELDS: import("graphql").DocumentNode;
35
- /**
36
- * Extended product fields for getProducts query
37
- */
38
- export declare const PRODUCT_EXTENDED_FIELDS: import("graphql").DocumentNode;