@23blocks/block-sales 5.0.0 → 5.0.2
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/dist/index.esm.js +143 -289
- package/dist/src/lib/mappers/customer-subscription.mapper.d.ts +4 -0
- package/dist/src/lib/mappers/customer-subscription.mapper.d.ts.map +1 -0
- package/dist/src/lib/mappers/entity-subscription.mapper.d.ts +4 -0
- package/dist/src/lib/mappers/entity-subscription.mapper.d.ts.map +1 -0
- package/dist/src/lib/mappers/index.d.ts +5 -0
- package/dist/src/lib/mappers/index.d.ts.map +1 -1
- package/dist/src/lib/mappers/order-detail-vendor.mapper.d.ts +4 -0
- package/dist/src/lib/mappers/order-detail-vendor.mapper.d.ts.map +1 -0
- package/dist/src/lib/mappers/user-subscription.mapper.d.ts +4 -0
- package/dist/src/lib/mappers/user-subscription.mapper.d.ts.map +1 -0
- package/dist/src/lib/mappers/vendor-payment.mapper.d.ts +4 -0
- package/dist/src/lib/mappers/vendor-payment.mapper.d.ts.map +1 -0
- package/dist/src/lib/services/customers.service.d.ts.map +1 -1
- package/dist/src/lib/services/entities.service.d.ts.map +1 -1
- package/dist/src/lib/services/users.service.d.ts.map +1 -1
- package/dist/src/lib/services/vendor-payments.service.d.ts.map +1 -1
- package/dist/src/lib/types/user.d.ts +6 -0
- package/dist/src/lib/types/user.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -607,6 +607,27 @@ const salesEntityMapper = {
|
|
|
607
607
|
}
|
|
608
608
|
};
|
|
609
609
|
|
|
610
|
+
const entitySubscriptionMapper = {
|
|
611
|
+
type: 'EntitySubscription',
|
|
612
|
+
map: (resource)=>{
|
|
613
|
+
var _resource_attributes_subscription_unique_id, _resource_attributes_subscription_model_unique_id, _resource_attributes_start_at, _resource_attributes_end_at, _resource_attributes_closed_at, _resource_attributes_created_at, _parseDate, _resource_attributes_updated_at, _parseDate1;
|
|
614
|
+
return {
|
|
615
|
+
id: resource.id,
|
|
616
|
+
uniqueId: (_resource_attributes_subscription_unique_id = resource.attributes['subscription_unique_id']) != null ? _resource_attributes_subscription_unique_id : resource.attributes['unique_id'],
|
|
617
|
+
entityUniqueId: resource.attributes['entity_unique_id'],
|
|
618
|
+
subscriptionModelUniqueId: (_resource_attributes_subscription_model_unique_id = resource.attributes['subscription_model_unique_id']) != null ? _resource_attributes_subscription_model_unique_id : resource.attributes['code'],
|
|
619
|
+
status: resource.attributes['status'],
|
|
620
|
+
startDate: parseDate((_resource_attributes_start_at = resource.attributes['start_at']) != null ? _resource_attributes_start_at : resource.attributes['start_date']),
|
|
621
|
+
endDate: parseDate((_resource_attributes_end_at = resource.attributes['end_at']) != null ? _resource_attributes_end_at : resource.attributes['end_date']),
|
|
622
|
+
trialEndDate: parseDate(resource.attributes['trial_end_date']),
|
|
623
|
+
cancelledAt: parseDate((_resource_attributes_closed_at = resource.attributes['closed_at']) != null ? _resource_attributes_closed_at : resource.attributes['cancelled_at']),
|
|
624
|
+
payload: resource.attributes['payload'],
|
|
625
|
+
createdAt: (_parseDate = parseDate((_resource_attributes_created_at = resource.attributes['created_at']) != null ? _resource_attributes_created_at : resource.attributes['subscribed_at'])) != null ? _parseDate : new Date(),
|
|
626
|
+
updatedAt: (_parseDate1 = parseDate((_resource_attributes_updated_at = resource.attributes['updated_at']) != null ? _resource_attributes_updated_at : resource.attributes['subscribed_at'])) != null ? _parseDate1 : new Date()
|
|
627
|
+
};
|
|
628
|
+
}
|
|
629
|
+
};
|
|
630
|
+
|
|
610
631
|
function createSalesEntitiesService(transport, _config) {
|
|
611
632
|
return {
|
|
612
633
|
async list (params) {
|
|
@@ -658,20 +679,7 @@ function createSalesEntitiesService(transport, _config) {
|
|
|
658
679
|
payload: data.payload
|
|
659
680
|
}
|
|
660
681
|
});
|
|
661
|
-
return
|
|
662
|
-
id: response.id,
|
|
663
|
-
uniqueId: response.unique_id,
|
|
664
|
-
entityUniqueId: response.entity_unique_id,
|
|
665
|
-
subscriptionModelUniqueId: response.subscription_model_unique_id,
|
|
666
|
-
status: response.status,
|
|
667
|
-
startDate: response.start_date ? new Date(response.start_date) : undefined,
|
|
668
|
-
endDate: response.end_date ? new Date(response.end_date) : undefined,
|
|
669
|
-
trialEndDate: response.trial_end_date ? new Date(response.trial_end_date) : undefined,
|
|
670
|
-
cancelledAt: response.cancelled_at ? new Date(response.cancelled_at) : undefined,
|
|
671
|
-
payload: response.payload,
|
|
672
|
-
createdAt: new Date(response.created_at),
|
|
673
|
-
updatedAt: new Date(response.updated_at)
|
|
674
|
-
};
|
|
682
|
+
return decodeOne(response, entitySubscriptionMapper);
|
|
675
683
|
},
|
|
676
684
|
async updateSubscription (uniqueId, subscriptionUniqueId, data) {
|
|
677
685
|
const response = await transport.put(`/entities/${uniqueId}/subscriptions/${subscriptionUniqueId}`, {
|
|
@@ -681,20 +689,7 @@ function createSalesEntitiesService(transport, _config) {
|
|
|
681
689
|
payload: data.payload
|
|
682
690
|
}
|
|
683
691
|
});
|
|
684
|
-
return
|
|
685
|
-
id: response.id,
|
|
686
|
-
uniqueId: response.unique_id,
|
|
687
|
-
entityUniqueId: response.entity_unique_id,
|
|
688
|
-
subscriptionModelUniqueId: response.subscription_model_unique_id,
|
|
689
|
-
status: response.status,
|
|
690
|
-
startDate: response.start_date ? new Date(response.start_date) : undefined,
|
|
691
|
-
endDate: response.end_date ? new Date(response.end_date) : undefined,
|
|
692
|
-
trialEndDate: response.trial_end_date ? new Date(response.trial_end_date) : undefined,
|
|
693
|
-
cancelledAt: response.cancelled_at ? new Date(response.cancelled_at) : undefined,
|
|
694
|
-
payload: response.payload,
|
|
695
|
-
createdAt: new Date(response.created_at),
|
|
696
|
-
updatedAt: new Date(response.updated_at)
|
|
697
|
-
};
|
|
692
|
+
return decodeOne(response, entitySubscriptionMapper);
|
|
698
693
|
}
|
|
699
694
|
};
|
|
700
695
|
}
|
|
@@ -717,6 +712,42 @@ const salesUserMapper = {
|
|
|
717
712
|
}
|
|
718
713
|
};
|
|
719
714
|
|
|
715
|
+
const userSubscriptionMapper = {
|
|
716
|
+
type: 'UserSubscription',
|
|
717
|
+
map: (resource)=>{
|
|
718
|
+
var _resource_attributes_subscription_unique_id, _resource_attributes_subscription_model_unique_id, _resource_attributes_start_at, _resource_attributes_end_at, _resource_attributes_closed_at, _resource_attributes_created_at, _parseDate, _resource_attributes_updated_at, _parseDate1;
|
|
719
|
+
return {
|
|
720
|
+
id: resource.id,
|
|
721
|
+
uniqueId: (_resource_attributes_subscription_unique_id = resource.attributes['subscription_unique_id']) != null ? _resource_attributes_subscription_unique_id : resource.attributes['unique_id'],
|
|
722
|
+
userUniqueId: resource.attributes['user_unique_id'],
|
|
723
|
+
subscriptionModelUniqueId: (_resource_attributes_subscription_model_unique_id = resource.attributes['subscription_model_unique_id']) != null ? _resource_attributes_subscription_model_unique_id : resource.attributes['code'],
|
|
724
|
+
status: resource.attributes['status'],
|
|
725
|
+
startDate: parseDate((_resource_attributes_start_at = resource.attributes['start_at']) != null ? _resource_attributes_start_at : resource.attributes['start_date']),
|
|
726
|
+
endDate: parseDate((_resource_attributes_end_at = resource.attributes['end_at']) != null ? _resource_attributes_end_at : resource.attributes['end_date']),
|
|
727
|
+
trialEndDate: parseDate(resource.attributes['trial_end_date']),
|
|
728
|
+
cancelledAt: parseDate((_resource_attributes_closed_at = resource.attributes['closed_at']) != null ? _resource_attributes_closed_at : resource.attributes['cancelled_at']),
|
|
729
|
+
consumptions: Array.isArray(resource.attributes['consumptions']) ? resource.attributes['consumptions'].map((c)=>{
|
|
730
|
+
var _parseDate;
|
|
731
|
+
return {
|
|
732
|
+
id: c.id,
|
|
733
|
+
quantity: parseNumber(c.quantity),
|
|
734
|
+
description: c.description,
|
|
735
|
+
consumedAt: (_parseDate = parseDate(c.consumed_at)) != null ? _parseDate : new Date()
|
|
736
|
+
};
|
|
737
|
+
}) : undefined,
|
|
738
|
+
maxItems: parseOptionalNumber(resource.attributes['max_items']),
|
|
739
|
+
consumption: parseNumber(resource.attributes['consumption']),
|
|
740
|
+
subscriptionNumber: resource.attributes['subscription_number'],
|
|
741
|
+
code: resource.attributes['code'],
|
|
742
|
+
recurringPaymentAmount: parseOptionalNumber(resource.attributes['recurring_payment_amount']),
|
|
743
|
+
notes: resource.attributes['notes'],
|
|
744
|
+
payload: resource.attributes['payload'],
|
|
745
|
+
createdAt: (_parseDate = parseDate((_resource_attributes_created_at = resource.attributes['created_at']) != null ? _resource_attributes_created_at : resource.attributes['subscribed_at'])) != null ? _parseDate : new Date(),
|
|
746
|
+
updatedAt: (_parseDate1 = parseDate((_resource_attributes_updated_at = resource.attributes['updated_at']) != null ? _resource_attributes_updated_at : resource.attributes['subscribed_at'])) != null ? _parseDate1 : new Date()
|
|
747
|
+
};
|
|
748
|
+
}
|
|
749
|
+
};
|
|
750
|
+
|
|
720
751
|
function createSalesUsersService(transport, _config) {
|
|
721
752
|
return {
|
|
722
753
|
async list (params) {
|
|
@@ -771,7 +802,6 @@ function createSalesUsersService(transport, _config) {
|
|
|
771
802
|
return decodeOne(response, orderMapper);
|
|
772
803
|
},
|
|
773
804
|
async listSubscriptions (uniqueId, params) {
|
|
774
|
-
var _response_meta, _response_meta1, _response_meta2, _response_meta3;
|
|
775
805
|
const queryParams = {};
|
|
776
806
|
if (params == null ? void 0 : params.page) queryParams['page'] = String(params.page);
|
|
777
807
|
if (params == null ? void 0 : params.perPage) queryParams['records'] = String(params.perPage);
|
|
@@ -780,58 +810,11 @@ function createSalesUsersService(transport, _config) {
|
|
|
780
810
|
const response = await transport.get(`/users/${uniqueId}/subscriptions`, {
|
|
781
811
|
params: queryParams
|
|
782
812
|
});
|
|
783
|
-
|
|
784
|
-
return {
|
|
785
|
-
data: data.map((s)=>({
|
|
786
|
-
id: s.id,
|
|
787
|
-
uniqueId: s.unique_id,
|
|
788
|
-
userUniqueId: s.user_unique_id,
|
|
789
|
-
subscriptionModelUniqueId: s.subscription_model_unique_id,
|
|
790
|
-
status: s.status,
|
|
791
|
-
startDate: s.start_date ? new Date(s.start_date) : undefined,
|
|
792
|
-
endDate: s.end_date ? new Date(s.end_date) : undefined,
|
|
793
|
-
trialEndDate: s.trial_end_date ? new Date(s.trial_end_date) : undefined,
|
|
794
|
-
cancelledAt: s.cancelled_at ? new Date(s.cancelled_at) : undefined,
|
|
795
|
-
consumptions: (s.consumptions || []).map((c)=>({
|
|
796
|
-
id: c.id,
|
|
797
|
-
quantity: c.quantity,
|
|
798
|
-
description: c.description,
|
|
799
|
-
consumedAt: new Date(c.consumed_at)
|
|
800
|
-
})),
|
|
801
|
-
payload: s.payload,
|
|
802
|
-
createdAt: new Date(s.created_at),
|
|
803
|
-
updatedAt: new Date(s.updated_at)
|
|
804
|
-
})),
|
|
805
|
-
meta: {
|
|
806
|
-
totalCount: ((_response_meta = response.meta) == null ? void 0 : _response_meta.total_count) || data.length,
|
|
807
|
-
currentPage: ((_response_meta1 = response.meta) == null ? void 0 : _response_meta1.current_page) || 1,
|
|
808
|
-
perPage: ((_response_meta2 = response.meta) == null ? void 0 : _response_meta2.per_page) || data.length,
|
|
809
|
-
totalPages: ((_response_meta3 = response.meta) == null ? void 0 : _response_meta3.total_pages) || 1
|
|
810
|
-
}
|
|
811
|
-
};
|
|
813
|
+
return decodePageResult(response, userSubscriptionMapper);
|
|
812
814
|
},
|
|
813
815
|
async getSubscription (uniqueId, subscriptionUniqueId) {
|
|
814
816
|
const response = await transport.get(`/users/${uniqueId}/subscriptions/${subscriptionUniqueId}`);
|
|
815
|
-
return
|
|
816
|
-
id: response.id,
|
|
817
|
-
uniqueId: response.unique_id,
|
|
818
|
-
userUniqueId: response.user_unique_id,
|
|
819
|
-
subscriptionModelUniqueId: response.subscription_model_unique_id,
|
|
820
|
-
status: response.status,
|
|
821
|
-
startDate: response.start_date ? new Date(response.start_date) : undefined,
|
|
822
|
-
endDate: response.end_date ? new Date(response.end_date) : undefined,
|
|
823
|
-
trialEndDate: response.trial_end_date ? new Date(response.trial_end_date) : undefined,
|
|
824
|
-
cancelledAt: response.cancelled_at ? new Date(response.cancelled_at) : undefined,
|
|
825
|
-
consumptions: (response.consumptions || []).map((c)=>({
|
|
826
|
-
id: c.id,
|
|
827
|
-
quantity: c.quantity,
|
|
828
|
-
description: c.description,
|
|
829
|
-
consumedAt: new Date(c.consumed_at)
|
|
830
|
-
})),
|
|
831
|
-
payload: response.payload,
|
|
832
|
-
createdAt: new Date(response.created_at),
|
|
833
|
-
updatedAt: new Date(response.updated_at)
|
|
834
|
-
};
|
|
817
|
+
return decodeOne(response, userSubscriptionMapper);
|
|
835
818
|
},
|
|
836
819
|
async createSubscription (uniqueId, subscriptionUniqueId, data) {
|
|
837
820
|
const response = await transport.post(`/users/${uniqueId}/subscriptions/${subscriptionUniqueId}`, {
|
|
@@ -842,20 +825,7 @@ function createSalesUsersService(transport, _config) {
|
|
|
842
825
|
payload: data.payload
|
|
843
826
|
}
|
|
844
827
|
});
|
|
845
|
-
return
|
|
846
|
-
id: response.id,
|
|
847
|
-
uniqueId: response.unique_id,
|
|
848
|
-
userUniqueId: response.user_unique_id,
|
|
849
|
-
subscriptionModelUniqueId: response.subscription_model_unique_id,
|
|
850
|
-
status: response.status,
|
|
851
|
-
startDate: response.start_date ? new Date(response.start_date) : undefined,
|
|
852
|
-
endDate: response.end_date ? new Date(response.end_date) : undefined,
|
|
853
|
-
trialEndDate: response.trial_end_date ? new Date(response.trial_end_date) : undefined,
|
|
854
|
-
cancelledAt: response.cancelled_at ? new Date(response.cancelled_at) : undefined,
|
|
855
|
-
payload: response.payload,
|
|
856
|
-
createdAt: new Date(response.created_at),
|
|
857
|
-
updatedAt: new Date(response.updated_at)
|
|
858
|
-
};
|
|
828
|
+
return decodeOne(response, userSubscriptionMapper);
|
|
859
829
|
},
|
|
860
830
|
async updateSubscription (uniqueId, subscriptionUniqueId, data) {
|
|
861
831
|
const response = await transport.put(`/users/${uniqueId}/subscriptions/${subscriptionUniqueId}`, {
|
|
@@ -866,20 +836,7 @@ function createSalesUsersService(transport, _config) {
|
|
|
866
836
|
payload: data.payload
|
|
867
837
|
}
|
|
868
838
|
});
|
|
869
|
-
return
|
|
870
|
-
id: response.id,
|
|
871
|
-
uniqueId: response.unique_id,
|
|
872
|
-
userUniqueId: response.user_unique_id,
|
|
873
|
-
subscriptionModelUniqueId: response.subscription_model_unique_id,
|
|
874
|
-
status: response.status,
|
|
875
|
-
startDate: response.start_date ? new Date(response.start_date) : undefined,
|
|
876
|
-
endDate: response.end_date ? new Date(response.end_date) : undefined,
|
|
877
|
-
trialEndDate: response.trial_end_date ? new Date(response.trial_end_date) : undefined,
|
|
878
|
-
cancelledAt: response.cancelled_at ? new Date(response.cancelled_at) : undefined,
|
|
879
|
-
payload: response.payload,
|
|
880
|
-
createdAt: new Date(response.created_at),
|
|
881
|
-
updatedAt: new Date(response.updated_at)
|
|
882
|
-
};
|
|
839
|
+
return decodeOne(response, userSubscriptionMapper);
|
|
883
840
|
},
|
|
884
841
|
async addConsumption (uniqueId, subscriptionUniqueId, data) {
|
|
885
842
|
const response = await transport.post(`/users/${uniqueId}/subscriptions/${subscriptionUniqueId}/consumption`, {
|
|
@@ -889,43 +846,11 @@ function createSalesUsersService(transport, _config) {
|
|
|
889
846
|
payload: data.payload
|
|
890
847
|
}
|
|
891
848
|
});
|
|
892
|
-
return
|
|
893
|
-
id: response.id,
|
|
894
|
-
uniqueId: response.unique_id,
|
|
895
|
-
userUniqueId: response.user_unique_id,
|
|
896
|
-
subscriptionModelUniqueId: response.subscription_model_unique_id,
|
|
897
|
-
status: response.status,
|
|
898
|
-
startDate: response.start_date ? new Date(response.start_date) : undefined,
|
|
899
|
-
endDate: response.end_date ? new Date(response.end_date) : undefined,
|
|
900
|
-
trialEndDate: response.trial_end_date ? new Date(response.trial_end_date) : undefined,
|
|
901
|
-
cancelledAt: response.cancelled_at ? new Date(response.cancelled_at) : undefined,
|
|
902
|
-
consumptions: (response.consumptions || []).map((c)=>({
|
|
903
|
-
id: c.id,
|
|
904
|
-
quantity: c.quantity,
|
|
905
|
-
description: c.description,
|
|
906
|
-
consumedAt: new Date(c.consumed_at)
|
|
907
|
-
})),
|
|
908
|
-
payload: response.payload,
|
|
909
|
-
createdAt: new Date(response.created_at),
|
|
910
|
-
updatedAt: new Date(response.updated_at)
|
|
911
|
-
};
|
|
849
|
+
return decodeOne(response, userSubscriptionMapper);
|
|
912
850
|
},
|
|
913
851
|
async cancelSubscription (uniqueId, subscriptionUniqueId) {
|
|
914
852
|
const response = await transport.put(`/users/${uniqueId}/subscriptions/${subscriptionUniqueId}/cancel`, {});
|
|
915
|
-
return
|
|
916
|
-
id: response.id,
|
|
917
|
-
uniqueId: response.unique_id,
|
|
918
|
-
userUniqueId: response.user_unique_id,
|
|
919
|
-
subscriptionModelUniqueId: response.subscription_model_unique_id,
|
|
920
|
-
status: response.status,
|
|
921
|
-
startDate: response.start_date ? new Date(response.start_date) : undefined,
|
|
922
|
-
endDate: response.end_date ? new Date(response.end_date) : undefined,
|
|
923
|
-
trialEndDate: response.trial_end_date ? new Date(response.trial_end_date) : undefined,
|
|
924
|
-
cancelledAt: response.cancelled_at ? new Date(response.cancelled_at) : undefined,
|
|
925
|
-
payload: response.payload,
|
|
926
|
-
createdAt: new Date(response.created_at),
|
|
927
|
-
updatedAt: new Date(response.updated_at)
|
|
928
|
-
};
|
|
853
|
+
return decodeOne(response, userSubscriptionMapper);
|
|
929
854
|
},
|
|
930
855
|
async deleteSubscription (uniqueId, subscriptionUniqueId) {
|
|
931
856
|
await transport.delete(`/users/${uniqueId}/subscriptions/${subscriptionUniqueId}`);
|
|
@@ -953,6 +878,27 @@ const salesCustomerMapper = {
|
|
|
953
878
|
}
|
|
954
879
|
};
|
|
955
880
|
|
|
881
|
+
const customerSubscriptionMapper = {
|
|
882
|
+
type: 'CustomerSubscription',
|
|
883
|
+
map: (resource)=>{
|
|
884
|
+
var _resource_attributes_subscription_unique_id, _resource_attributes_subscription_model_unique_id, _resource_attributes_start_at, _resource_attributes_end_at, _resource_attributes_closed_at, _resource_attributes_created_at, _parseDate, _resource_attributes_updated_at, _parseDate1;
|
|
885
|
+
return {
|
|
886
|
+
id: resource.id,
|
|
887
|
+
uniqueId: (_resource_attributes_subscription_unique_id = resource.attributes['subscription_unique_id']) != null ? _resource_attributes_subscription_unique_id : resource.attributes['unique_id'],
|
|
888
|
+
customerUniqueId: resource.attributes['customer_unique_id'],
|
|
889
|
+
subscriptionModelUniqueId: (_resource_attributes_subscription_model_unique_id = resource.attributes['subscription_model_unique_id']) != null ? _resource_attributes_subscription_model_unique_id : resource.attributes['code'],
|
|
890
|
+
status: resource.attributes['status'],
|
|
891
|
+
startDate: parseDate((_resource_attributes_start_at = resource.attributes['start_at']) != null ? _resource_attributes_start_at : resource.attributes['start_date']),
|
|
892
|
+
endDate: parseDate((_resource_attributes_end_at = resource.attributes['end_at']) != null ? _resource_attributes_end_at : resource.attributes['end_date']),
|
|
893
|
+
trialEndDate: parseDate(resource.attributes['trial_end_date']),
|
|
894
|
+
cancelledAt: parseDate((_resource_attributes_closed_at = resource.attributes['closed_at']) != null ? _resource_attributes_closed_at : resource.attributes['cancelled_at']),
|
|
895
|
+
payload: resource.attributes['payload'],
|
|
896
|
+
createdAt: (_parseDate = parseDate((_resource_attributes_created_at = resource.attributes['created_at']) != null ? _resource_attributes_created_at : resource.attributes['subscribed_at'])) != null ? _parseDate : new Date(),
|
|
897
|
+
updatedAt: (_parseDate1 = parseDate((_resource_attributes_updated_at = resource.attributes['updated_at']) != null ? _resource_attributes_updated_at : resource.attributes['subscribed_at'])) != null ? _parseDate1 : new Date()
|
|
898
|
+
};
|
|
899
|
+
}
|
|
900
|
+
};
|
|
901
|
+
|
|
956
902
|
function createSalesCustomersService(transport, _config) {
|
|
957
903
|
return {
|
|
958
904
|
async get (uniqueId) {
|
|
@@ -974,20 +920,7 @@ function createSalesCustomersService(transport, _config) {
|
|
|
974
920
|
},
|
|
975
921
|
async getSubscription (uniqueId, subscriptionUniqueId) {
|
|
976
922
|
const response = await transport.get(`/customers/${uniqueId}/subscriptions/${subscriptionUniqueId}`);
|
|
977
|
-
return
|
|
978
|
-
id: response.id,
|
|
979
|
-
uniqueId: response.unique_id,
|
|
980
|
-
customerUniqueId: response.customer_unique_id,
|
|
981
|
-
subscriptionModelUniqueId: response.subscription_model_unique_id,
|
|
982
|
-
status: response.status,
|
|
983
|
-
startDate: response.start_date ? new Date(response.start_date) : undefined,
|
|
984
|
-
endDate: response.end_date ? new Date(response.end_date) : undefined,
|
|
985
|
-
trialEndDate: response.trial_end_date ? new Date(response.trial_end_date) : undefined,
|
|
986
|
-
cancelledAt: response.cancelled_at ? new Date(response.cancelled_at) : undefined,
|
|
987
|
-
payload: response.payload,
|
|
988
|
-
createdAt: new Date(response.created_at),
|
|
989
|
-
updatedAt: new Date(response.updated_at)
|
|
990
|
-
};
|
|
923
|
+
return decodeOne(response, customerSubscriptionMapper);
|
|
991
924
|
},
|
|
992
925
|
async createSubscription (uniqueId, data) {
|
|
993
926
|
const response = await transport.post(`/customers/${uniqueId}/subscriptions`, {
|
|
@@ -998,20 +931,7 @@ function createSalesCustomersService(transport, _config) {
|
|
|
998
931
|
payload: data.payload
|
|
999
932
|
}
|
|
1000
933
|
});
|
|
1001
|
-
return
|
|
1002
|
-
id: response.id,
|
|
1003
|
-
uniqueId: response.unique_id,
|
|
1004
|
-
customerUniqueId: response.customer_unique_id,
|
|
1005
|
-
subscriptionModelUniqueId: response.subscription_model_unique_id,
|
|
1006
|
-
status: response.status,
|
|
1007
|
-
startDate: response.start_date ? new Date(response.start_date) : undefined,
|
|
1008
|
-
endDate: response.end_date ? new Date(response.end_date) : undefined,
|
|
1009
|
-
trialEndDate: response.trial_end_date ? new Date(response.trial_end_date) : undefined,
|
|
1010
|
-
cancelledAt: response.cancelled_at ? new Date(response.cancelled_at) : undefined,
|
|
1011
|
-
payload: response.payload,
|
|
1012
|
-
createdAt: new Date(response.created_at),
|
|
1013
|
-
updatedAt: new Date(response.updated_at)
|
|
1014
|
-
};
|
|
934
|
+
return decodeOne(response, customerSubscriptionMapper);
|
|
1015
935
|
},
|
|
1016
936
|
async updateSubscription (uniqueId, subscriptionUniqueId, data) {
|
|
1017
937
|
const response = await transport.put(`/customers/${uniqueId}/subscriptions/${subscriptionUniqueId}`, {
|
|
@@ -1021,20 +941,7 @@ function createSalesCustomersService(transport, _config) {
|
|
|
1021
941
|
payload: data.payload
|
|
1022
942
|
}
|
|
1023
943
|
});
|
|
1024
|
-
return
|
|
1025
|
-
id: response.id,
|
|
1026
|
-
uniqueId: response.unique_id,
|
|
1027
|
-
customerUniqueId: response.customer_unique_id,
|
|
1028
|
-
subscriptionModelUniqueId: response.subscription_model_unique_id,
|
|
1029
|
-
status: response.status,
|
|
1030
|
-
startDate: response.start_date ? new Date(response.start_date) : undefined,
|
|
1031
|
-
endDate: response.end_date ? new Date(response.end_date) : undefined,
|
|
1032
|
-
trialEndDate: response.trial_end_date ? new Date(response.trial_end_date) : undefined,
|
|
1033
|
-
cancelledAt: response.cancelled_at ? new Date(response.cancelled_at) : undefined,
|
|
1034
|
-
payload: response.payload,
|
|
1035
|
-
createdAt: new Date(response.created_at),
|
|
1036
|
-
updatedAt: new Date(response.updated_at)
|
|
1037
|
-
};
|
|
944
|
+
return decodeOne(response, customerSubscriptionMapper);
|
|
1038
945
|
}
|
|
1039
946
|
};
|
|
1040
947
|
}
|
|
@@ -1591,26 +1498,55 @@ function createMercadoPagoService(transport, _config) {
|
|
|
1591
1498
|
};
|
|
1592
1499
|
}
|
|
1593
1500
|
|
|
1501
|
+
const vendorPaymentMapper = {
|
|
1502
|
+
type: 'VendorPayment',
|
|
1503
|
+
map: (resource)=>{
|
|
1504
|
+
var _parseDate, _parseDate1;
|
|
1505
|
+
return {
|
|
1506
|
+
id: resource.id,
|
|
1507
|
+
uniqueId: resource.attributes['unique_id'],
|
|
1508
|
+
orderUniqueId: resource.attributes['order_unique_id'],
|
|
1509
|
+
detailUniqueId: resource.attributes['detail_unique_id'],
|
|
1510
|
+
vendorUniqueId: resource.attributes['vendor_unique_id'],
|
|
1511
|
+
amount: parseNumber(resource.attributes['amount']),
|
|
1512
|
+
currency: resource.attributes['currency'],
|
|
1513
|
+
status: resource.attributes['status'],
|
|
1514
|
+
paidAt: parseDate(resource.attributes['paid_at']),
|
|
1515
|
+
reference: resource.attributes['reference'],
|
|
1516
|
+
notes: resource.attributes['notes'],
|
|
1517
|
+
payload: resource.attributes['payload'],
|
|
1518
|
+
createdAt: (_parseDate = parseDate(resource.attributes['created_at'])) != null ? _parseDate : new Date(),
|
|
1519
|
+
updatedAt: (_parseDate1 = parseDate(resource.attributes['updated_at'])) != null ? _parseDate1 : new Date()
|
|
1520
|
+
};
|
|
1521
|
+
}
|
|
1522
|
+
};
|
|
1523
|
+
|
|
1524
|
+
const orderDetailVendorMapper = {
|
|
1525
|
+
type: 'OrderDetailVendor',
|
|
1526
|
+
map: (resource)=>{
|
|
1527
|
+
var _parseDate, _parseDate1;
|
|
1528
|
+
return {
|
|
1529
|
+
id: resource.id,
|
|
1530
|
+
uniqueId: resource.attributes['unique_id'],
|
|
1531
|
+
orderDetailUniqueId: resource.attributes['order_detail_unique_id'],
|
|
1532
|
+
sourceId: resource.attributes['source_id'],
|
|
1533
|
+
vendorUniqueId: resource.attributes['vendor_unique_id'],
|
|
1534
|
+
vendorName: resource.attributes['vendor_name'],
|
|
1535
|
+
amount: parseNumber(resource.attributes['amount']),
|
|
1536
|
+
commission: parseOptionalNumber(resource.attributes['commission']),
|
|
1537
|
+
status: resource.attributes['status'],
|
|
1538
|
+
payload: resource.attributes['payload'],
|
|
1539
|
+
createdAt: (_parseDate = parseDate(resource.attributes['created_at'])) != null ? _parseDate : new Date(),
|
|
1540
|
+
updatedAt: (_parseDate1 = parseDate(resource.attributes['updated_at'])) != null ? _parseDate1 : new Date()
|
|
1541
|
+
};
|
|
1542
|
+
}
|
|
1543
|
+
};
|
|
1544
|
+
|
|
1594
1545
|
function createVendorPaymentsService(transport, _config) {
|
|
1595
1546
|
return {
|
|
1596
1547
|
async get (paymentUniqueId) {
|
|
1597
1548
|
const response = await transport.get(`/payables/${paymentUniqueId}`);
|
|
1598
|
-
return
|
|
1599
|
-
id: response.id,
|
|
1600
|
-
uniqueId: response.unique_id,
|
|
1601
|
-
orderUniqueId: response.order_unique_id,
|
|
1602
|
-
detailUniqueId: response.detail_unique_id,
|
|
1603
|
-
vendorUniqueId: response.vendor_unique_id,
|
|
1604
|
-
amount: response.amount,
|
|
1605
|
-
currency: response.currency,
|
|
1606
|
-
status: response.status,
|
|
1607
|
-
paidAt: response.paid_at ? new Date(response.paid_at) : undefined,
|
|
1608
|
-
reference: response.reference,
|
|
1609
|
-
notes: response.notes,
|
|
1610
|
-
payload: response.payload,
|
|
1611
|
-
createdAt: new Date(response.created_at),
|
|
1612
|
-
updatedAt: new Date(response.updated_at)
|
|
1613
|
-
};
|
|
1549
|
+
return decodeOne(response, vendorPaymentMapper);
|
|
1614
1550
|
},
|
|
1615
1551
|
async create (orderUniqueId, detailUniqueId, vendorUniqueId, data) {
|
|
1616
1552
|
const response = await transport.post(`/orders/${orderUniqueId}/details/${detailUniqueId}/vendors/${vendorUniqueId}/payments`, {
|
|
@@ -1622,22 +1558,7 @@ function createVendorPaymentsService(transport, _config) {
|
|
|
1622
1558
|
payload: data.payload
|
|
1623
1559
|
}
|
|
1624
1560
|
});
|
|
1625
|
-
return
|
|
1626
|
-
id: response.id,
|
|
1627
|
-
uniqueId: response.unique_id,
|
|
1628
|
-
orderUniqueId: response.order_unique_id,
|
|
1629
|
-
detailUniqueId: response.detail_unique_id,
|
|
1630
|
-
vendorUniqueId: response.vendor_unique_id,
|
|
1631
|
-
amount: response.amount,
|
|
1632
|
-
currency: response.currency,
|
|
1633
|
-
status: response.status,
|
|
1634
|
-
paidAt: response.paid_at ? new Date(response.paid_at) : undefined,
|
|
1635
|
-
reference: response.reference,
|
|
1636
|
-
notes: response.notes,
|
|
1637
|
-
payload: response.payload,
|
|
1638
|
-
createdAt: new Date(response.created_at),
|
|
1639
|
-
updatedAt: new Date(response.updated_at)
|
|
1640
|
-
};
|
|
1561
|
+
return decodeOne(response, vendorPaymentMapper);
|
|
1641
1562
|
},
|
|
1642
1563
|
async update (orderUniqueId, detailUniqueId, vendorUniqueId, paymentUniqueId, data) {
|
|
1643
1564
|
const response = await transport.put(`/orders/${orderUniqueId}/details/${detailUniqueId}/vendors/${vendorUniqueId}/payments/${paymentUniqueId}`, {
|
|
@@ -1649,41 +1570,11 @@ function createVendorPaymentsService(transport, _config) {
|
|
|
1649
1570
|
payload: data.payload
|
|
1650
1571
|
}
|
|
1651
1572
|
});
|
|
1652
|
-
return
|
|
1653
|
-
id: response.id,
|
|
1654
|
-
uniqueId: response.unique_id,
|
|
1655
|
-
orderUniqueId: response.order_unique_id,
|
|
1656
|
-
detailUniqueId: response.detail_unique_id,
|
|
1657
|
-
vendorUniqueId: response.vendor_unique_id,
|
|
1658
|
-
amount: response.amount,
|
|
1659
|
-
currency: response.currency,
|
|
1660
|
-
status: response.status,
|
|
1661
|
-
paidAt: response.paid_at ? new Date(response.paid_at) : undefined,
|
|
1662
|
-
reference: response.reference,
|
|
1663
|
-
notes: response.notes,
|
|
1664
|
-
payload: response.payload,
|
|
1665
|
-
createdAt: new Date(response.created_at),
|
|
1666
|
-
updatedAt: new Date(response.updated_at)
|
|
1667
|
-
};
|
|
1573
|
+
return decodeOne(response, vendorPaymentMapper);
|
|
1668
1574
|
},
|
|
1669
1575
|
async pay (orderUniqueId, detailUniqueId, vendorUniqueId, paymentUniqueId) {
|
|
1670
1576
|
const response = await transport.put(`/orders/${orderUniqueId}/details/${detailUniqueId}/vendors/${vendorUniqueId}/payments/${paymentUniqueId}/pay`, {});
|
|
1671
|
-
return
|
|
1672
|
-
id: response.id,
|
|
1673
|
-
uniqueId: response.unique_id,
|
|
1674
|
-
orderUniqueId: response.order_unique_id,
|
|
1675
|
-
detailUniqueId: response.detail_unique_id,
|
|
1676
|
-
vendorUniqueId: response.vendor_unique_id,
|
|
1677
|
-
amount: response.amount,
|
|
1678
|
-
currency: response.currency,
|
|
1679
|
-
status: response.status,
|
|
1680
|
-
paidAt: response.paid_at ? new Date(response.paid_at) : undefined,
|
|
1681
|
-
reference: response.reference,
|
|
1682
|
-
notes: response.notes,
|
|
1683
|
-
payload: response.payload,
|
|
1684
|
-
createdAt: new Date(response.created_at),
|
|
1685
|
-
updatedAt: new Date(response.updated_at)
|
|
1686
|
-
};
|
|
1577
|
+
return decodeOne(response, vendorPaymentMapper);
|
|
1687
1578
|
},
|
|
1688
1579
|
async delete (orderUniqueId, detailUniqueId, vendorUniqueId, paymentUniqueId) {
|
|
1689
1580
|
await transport.delete(`/orders/${orderUniqueId}/details/${detailUniqueId}/vendors/${vendorUniqueId}/payments/${paymentUniqueId}`);
|
|
@@ -1697,19 +1588,7 @@ function createVendorPaymentsService(transport, _config) {
|
|
|
1697
1588
|
payload: data.payload
|
|
1698
1589
|
}
|
|
1699
1590
|
});
|
|
1700
|
-
return
|
|
1701
|
-
id: response.id,
|
|
1702
|
-
uniqueId: response.unique_id,
|
|
1703
|
-
orderDetailUniqueId: response.order_detail_unique_id,
|
|
1704
|
-
vendorUniqueId: response.vendor_unique_id,
|
|
1705
|
-
vendorName: response.vendor_name,
|
|
1706
|
-
amount: response.amount,
|
|
1707
|
-
commission: response.commission,
|
|
1708
|
-
status: response.status,
|
|
1709
|
-
payload: response.payload,
|
|
1710
|
-
createdAt: new Date(response.created_at),
|
|
1711
|
-
updatedAt: new Date(response.updated_at)
|
|
1712
|
-
};
|
|
1591
|
+
return decodeOne(response, orderDetailVendorMapper);
|
|
1713
1592
|
},
|
|
1714
1593
|
async createProviderBySource (sourceId, data) {
|
|
1715
1594
|
const response = await transport.post(`/sources/${sourceId}/providers`, {
|
|
@@ -1722,20 +1601,7 @@ function createVendorPaymentsService(transport, _config) {
|
|
|
1722
1601
|
payload: data.payload
|
|
1723
1602
|
}
|
|
1724
1603
|
});
|
|
1725
|
-
return
|
|
1726
|
-
id: response.id,
|
|
1727
|
-
uniqueId: response.unique_id,
|
|
1728
|
-
sourceId: response.source_id,
|
|
1729
|
-
orderDetailUniqueId: response.order_detail_unique_id,
|
|
1730
|
-
vendorUniqueId: response.vendor_unique_id,
|
|
1731
|
-
vendorName: response.vendor_name,
|
|
1732
|
-
amount: response.amount,
|
|
1733
|
-
commission: response.commission,
|
|
1734
|
-
status: response.status,
|
|
1735
|
-
payload: response.payload,
|
|
1736
|
-
createdAt: new Date(response.created_at),
|
|
1737
|
-
updatedAt: new Date(response.updated_at)
|
|
1738
|
-
};
|
|
1604
|
+
return decodeOne(response, orderDetailVendorMapper);
|
|
1739
1605
|
},
|
|
1740
1606
|
async updateProvider (orderUniqueId, orderDetailUniqueId, providerUniqueId, data) {
|
|
1741
1607
|
const response = await transport.put(`/orders/${orderUniqueId}/details/${orderDetailUniqueId}/providers/${providerUniqueId}`, {
|
|
@@ -1746,19 +1612,7 @@ function createVendorPaymentsService(transport, _config) {
|
|
|
1746
1612
|
payload: data.payload
|
|
1747
1613
|
}
|
|
1748
1614
|
});
|
|
1749
|
-
return
|
|
1750
|
-
id: response.id,
|
|
1751
|
-
uniqueId: response.unique_id,
|
|
1752
|
-
orderDetailUniqueId: response.order_detail_unique_id,
|
|
1753
|
-
vendorUniqueId: response.vendor_unique_id,
|
|
1754
|
-
vendorName: response.vendor_name,
|
|
1755
|
-
amount: response.amount,
|
|
1756
|
-
commission: response.commission,
|
|
1757
|
-
status: response.status,
|
|
1758
|
-
payload: response.payload,
|
|
1759
|
-
createdAt: new Date(response.created_at),
|
|
1760
|
-
updatedAt: new Date(response.updated_at)
|
|
1761
|
-
};
|
|
1615
|
+
return decodeOne(response, orderDetailVendorMapper);
|
|
1762
1616
|
},
|
|
1763
1617
|
async reportList (params) {
|
|
1764
1618
|
const response = await transport.post('/reports/vendors/payments/list', {
|
|
@@ -1793,7 +1647,7 @@ function createVendorPaymentsService(transport, _config) {
|
|
|
1793
1647
|
},
|
|
1794
1648
|
meta: {
|
|
1795
1649
|
totalCount: response.meta.total_count,
|
|
1796
|
-
|
|
1650
|
+
page: response.meta.current_page,
|
|
1797
1651
|
perPage: response.meta.per_page,
|
|
1798
1652
|
totalPages: response.meta.total_pages
|
|
1799
1653
|
}
|
|
@@ -1850,7 +1704,7 @@ function createVendorPaymentsService(transport, _config) {
|
|
|
1850
1704
|
},
|
|
1851
1705
|
meta: {
|
|
1852
1706
|
totalCount: response.meta.total_count,
|
|
1853
|
-
|
|
1707
|
+
page: response.meta.current_page,
|
|
1854
1708
|
perPage: response.meta.per_page,
|
|
1855
1709
|
totalPages: response.meta.total_pages
|
|
1856
1710
|
}
|
|
@@ -1952,4 +1806,4 @@ const salesBlockMetadata = {
|
|
|
1952
1806
|
]
|
|
1953
1807
|
};
|
|
1954
1808
|
|
|
1955
|
-
export { createFlexibleOrdersService, createMercadoPagoService, createOrderDetailsService, createOrderTaxesService, createOrdersService, createPaymentsService, createPurchasesService, createSalesBlock, createSalesCustomersService, createSalesEntitiesService, createSalesUsersService, createStripeService, createSubscriptionModelsService, createSubscriptionsService, createVendorPaymentsService, flexibleOrderMapper, orderDetailMapper, orderMapper, orderTaxMapper, parseBoolean, parseDate, parseNumber, parseOptionalNumber, parseOrderStatus, parsePaymentStatus, parseStatus, parseString, parseStringArray, parseSubscriptionInterval, parseSubscriptionStatus, paymentMapper, purchaseMapper, salesBlockMetadata, salesCustomerMapper, salesEntityMapper, salesUserMapper, subscriptionMapper, subscriptionModelMapper };
|
|
1809
|
+
export { createFlexibleOrdersService, createMercadoPagoService, createOrderDetailsService, createOrderTaxesService, createOrdersService, createPaymentsService, createPurchasesService, createSalesBlock, createSalesCustomersService, createSalesEntitiesService, createSalesUsersService, createStripeService, createSubscriptionModelsService, createSubscriptionsService, createVendorPaymentsService, customerSubscriptionMapper, entitySubscriptionMapper, flexibleOrderMapper, orderDetailMapper, orderDetailVendorMapper, orderMapper, orderTaxMapper, parseBoolean, parseDate, parseNumber, parseOptionalNumber, parseOrderStatus, parsePaymentStatus, parseStatus, parseString, parseStringArray, parseSubscriptionInterval, parseSubscriptionStatus, paymentMapper, purchaseMapper, salesBlockMetadata, salesCustomerMapper, salesEntityMapper, salesUserMapper, subscriptionMapper, subscriptionModelMapper, userSubscriptionMapper, vendorPaymentMapper };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ResourceMapper } from '@23blocks/jsonapi-codec';
|
|
2
|
+
import type { CustomerSubscription } from '../types/customer.js';
|
|
3
|
+
export declare const customerSubscriptionMapper: ResourceMapper<CustomerSubscription>;
|
|
4
|
+
//# sourceMappingURL=customer-subscription.mapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer-subscription.mapper.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/customer-subscription.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAGjE,eAAO,MAAM,0BAA0B,EAAE,cAAc,CAAC,oBAAoB,CAgB3E,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-subscription.mapper.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/entity-subscription.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAG7D,eAAO,MAAM,wBAAwB,EAAE,cAAc,CAAC,kBAAkB,CAgBvE,CAAC"}
|
|
@@ -9,5 +9,10 @@ export * from './user.mapper.js';
|
|
|
9
9
|
export * from './customer.mapper.js';
|
|
10
10
|
export * from './flexible-order.mapper.js';
|
|
11
11
|
export * from './purchase.mapper.js';
|
|
12
|
+
export * from './user-subscription.mapper.js';
|
|
13
|
+
export * from './customer-subscription.mapper.js';
|
|
14
|
+
export * from './entity-subscription.mapper.js';
|
|
15
|
+
export * from './vendor-payment.mapper.js';
|
|
16
|
+
export * from './order-detail-vendor.mapper.js';
|
|
12
17
|
export * from './utils.js';
|
|
13
18
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ResourceMapper } from '@23blocks/jsonapi-codec';
|
|
2
|
+
import type { OrderDetailVendor } from '../types/vendor-payment.js';
|
|
3
|
+
export declare const orderDetailVendorMapper: ResourceMapper<OrderDetailVendor>;
|
|
4
|
+
//# sourceMappingURL=order-detail-vendor.mapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"order-detail-vendor.mapper.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/order-detail-vendor.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAGpE,eAAO,MAAM,uBAAuB,EAAE,cAAc,CAAC,iBAAiB,CAgBrE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-subscription.mapper.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/user-subscription.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGzD,eAAO,MAAM,sBAAsB,EAAE,cAAc,CAAC,gBAAgB,CA8BnE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vendor-payment.mapper.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/vendor-payment.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAGhE,eAAO,MAAM,mBAAmB,EAAE,cAAc,CAAC,aAAa,CAkB7D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customers.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/customers.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,KAAK,EACV,aAAa,EACb,4BAA4B,EAC5B,oBAAoB,EACpB,iCAAiC,EACjC,iCAAiC,EAClC,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"customers.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/customers.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,KAAK,EACV,aAAa,EACb,4BAA4B,EAC5B,oBAAoB,EACpB,iCAAiC,EACjC,iCAAiC,EAClC,MAAM,sBAAsB,CAAC;AAI9B,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,GAAG,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IAE9C;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,4BAA4B,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IAExF;;;OAGG;IACH,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAE/F;;;OAGG;IACH,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,iCAAiC,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAE7G;;;OAGG;IACH,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,EAAE,IAAI,EAAE,iCAAiC,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;CAC5I;AAED,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,qBAAqB,CAiDnH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/entities.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,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0B,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,oBAAoB,CAoEjH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/users.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,KAAK,EACV,SAAS,EACT,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EACpB,gBAAgB,EAChB,6BAA6B,EAC7B,6BAA6B,EAC7B,iCAAiC,EACjC,2BAA2B,EAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"users.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/users.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,KAAK,EACV,SAAS,EACT,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EACpB,gBAAgB,EAChB,6BAA6B,EAC7B,6BAA6B,EAC7B,iCAAiC,EACjC,2BAA2B,EAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAK/C,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,IAAI,CAAC,MAAM,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;IAEpE;;;OAGG;IACH,GAAG,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;IAE1C;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,wBAAwB,GAAG,OAAO,CA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AAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAE9F;;OAEG;IACH,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACnF;AAED,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,iBAAiB,CAqH3G"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vendor-payments.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/vendor-payments.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"vendor-payments.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/vendor-payments.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,KAAK,EACV,aAAa,EACb,0BAA0B,EAC1B,0BAA0B,EAC1B,iBAAiB,EACjB,8BAA8B,EAC9B,8BAA8B,EAC9B,sCAAsC,EACvC,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EACV,0BAA0B,EAC1B,uBAAuB,EACvB,yBAAyB,EACzB,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,oBAAoB,CAAC;AAI5B,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,GAAG,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IAErD;;;OAGG;IACH,MAAM,CAAC,aAAa,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,IAAI,EAAE,0BAA0B,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IAExI;;;OAGG;IACH,MAAM,CAAC,aAAa,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,cAAc,EAAE,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2B,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,qBAAqB,CAuMnH"}
|
|
@@ -40,6 +40,12 @@ export interface UserSubscription {
|
|
|
40
40
|
trialEndDate?: Date;
|
|
41
41
|
cancelledAt?: Date;
|
|
42
42
|
consumptions?: SubscriptionConsumption[];
|
|
43
|
+
maxItems?: number;
|
|
44
|
+
consumption?: number;
|
|
45
|
+
subscriptionNumber?: string;
|
|
46
|
+
code?: string;
|
|
47
|
+
recurringPaymentAmount?: number;
|
|
48
|
+
notes?: string;
|
|
43
49
|
payload?: Record<string, unknown>;
|
|
44
50
|
createdAt: Date;
|
|
45
51
|
updatedAt: Date;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/user.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClC,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAA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