@pisell/private-materials 6.12.395 → 6.12.397

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.
@@ -98,10 +98,9 @@ const TimelineSection = (props) => {
98
98
  return getAssetList({
99
99
  num: "99",
100
100
  skip: "1",
101
- card_id: code,
102
- sourceType: tag,
103
- tag,
104
- business_object: "customer"
101
+ code,
102
+ sort: "desc",
103
+ order_by: "created_at"
105
104
  });
106
105
  }, {
107
106
  ready: !!code,
@@ -79,7 +79,7 @@ const getUnbindList = function() {
79
79
  */
80
80
  const getAssetList = function() {
81
81
  var _ref5 = _asyncToGenerator(function* (params) {
82
- const { data } = yield request.getRequest().get(`/h5/pay/asset/lowcode/list`, params);
82
+ const { data } = yield request.getRequest().get(`/h5/pay/asset/lowcode/card/list`, params);
83
83
  return data;
84
84
  });
85
85
  return function getAssetList(_x6) {
@@ -19,7 +19,7 @@ declare const flowModuleRegistry: {
19
19
  readonly Component: _$react.FC<FlowModuleProps<string>>;
20
20
  readonly initializeWhileInactive: true;
21
21
  readonly hardRequires: ("productData" | "booking.selectedCandidate")[];
22
- readonly refreshOn: ("productData" | "skuValue" | "quantity" | "booking.customerId" | "booking.duration" | "booking.selectedCandidate")[];
22
+ readonly refreshOn: ("quantity" | "productData" | "skuValue" | "booking.customerId" | "booking.duration" | "booking.selectedCandidate")[];
23
23
  readonly isApplicable: (context: _$_pisell_materials_src0.SelectionFlowContextValue<SelectionFlowDraft, SelectionFlowDraftUpdate, SelectionDraftField, string, SelectionFlowServices, unknown>) => boolean;
24
24
  readonly canInitialize: (context: _$_pisell_materials_src0.SelectionFlowContextValue<SelectionFlowDraft, SelectionFlowDraftUpdate, SelectionDraftField, string, SelectionFlowServices, unknown>) => boolean;
25
25
  readonly refresh: (context: SelectionFlowContextValue<string>, module: CompiledSelectionFlowModuleConfig<string>) => Promise<void>;
@@ -103,10 +103,9 @@ const TimelineSection = (props) => {
103
103
  return require_serve.getAssetList({
104
104
  num: "99",
105
105
  skip: "1",
106
- card_id: code,
107
- sourceType: tag,
108
- tag,
109
- business_object: "customer"
106
+ code,
107
+ sort: "desc",
108
+ order_by: "created_at"
110
109
  });
111
110
  }, {
112
111
  ready: !!code,
@@ -80,7 +80,7 @@ const getUnbindList = function() {
80
80
  */
81
81
  const getAssetList = function() {
82
82
  var _ref5 = require_asyncToGenerator._asyncToGenerator(function* (params) {
83
- const { data } = yield require_index.request.getRequest().get(`/h5/pay/asset/lowcode/list`, params);
83
+ const { data } = yield require_index.request.getRequest().get(`/h5/pay/asset/lowcode/card/list`, params);
84
84
  return data;
85
85
  });
86
86
  return function getAssetList(_x6) {
@@ -19,7 +19,7 @@ declare const flowModuleRegistry: {
19
19
  readonly Component: _$react.FC<FlowModuleProps<string>>;
20
20
  readonly initializeWhileInactive: true;
21
21
  readonly hardRequires: ("productData" | "booking.selectedCandidate")[];
22
- readonly refreshOn: ("productData" | "skuValue" | "quantity" | "booking.customerId" | "booking.duration" | "booking.selectedCandidate")[];
22
+ readonly refreshOn: ("quantity" | "productData" | "skuValue" | "booking.customerId" | "booking.duration" | "booking.selectedCandidate")[];
23
23
  readonly isApplicable: (context: _$_pisell_materials_src0.SelectionFlowContextValue<SelectionFlowDraft, SelectionFlowDraftUpdate, SelectionDraftField, string, SelectionFlowServices, unknown>) => boolean;
24
24
  readonly canInitialize: (context: _$_pisell_materials_src0.SelectionFlowContextValue<SelectionFlowDraft, SelectionFlowDraftUpdate, SelectionDraftField, string, SelectionFlowServices, unknown>) => boolean;
25
25
  readonly refresh: (context: SelectionFlowContextValue<string>, module: CompiledSelectionFlowModuleConfig<string>) => Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.12.395",
3
+ "version": "6.12.397",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -75,8 +75,8 @@
75
75
  "styled-components": "^6.0.0-rc.3",
76
76
  "use-sync-external-store": "^1.6.0",
77
77
  "@pisell/pi-payment-sdk": "0.0.4",
78
+ "@pisell/materials": "6.12.89",
78
79
  "@pisell/utils": "3.0.7",
79
- "@pisell/materials": "6.12.88",
80
80
  "@pisell/icon": "0.0.11",
81
81
  "@pisell/date-picker": "3.0.12"
82
82
  },