@connect-plus-online/ogabai-integrations 0.0.69 → 0.0.71
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.cjs.js +341 -324
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +176 -154
- package/dist/index.d.ts +176 -154
- package/dist/index.esm.js +331 -304
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -614,6 +614,25 @@ var createPaystackService = (client) => ({
|
|
|
614
614
|
});
|
|
615
615
|
|
|
616
616
|
// src/services/subscription/subscription.entity.ts
|
|
617
|
+
var subscriptionTrialQuery = [
|
|
618
|
+
"createdAt",
|
|
619
|
+
"endedAt",
|
|
620
|
+
"id",
|
|
621
|
+
"planId",
|
|
622
|
+
"storeId",
|
|
623
|
+
"userId"
|
|
624
|
+
];
|
|
625
|
+
var subscriptionPlanFeatureDefinitionQuery = [
|
|
626
|
+
"id",
|
|
627
|
+
"title",
|
|
628
|
+
"description",
|
|
629
|
+
"subscriptionPlanFeatureKey",
|
|
630
|
+
"featureDefnitionStatus",
|
|
631
|
+
"accessDefinition",
|
|
632
|
+
"limitDefinition",
|
|
633
|
+
"behaviourDefinition",
|
|
634
|
+
"createdAt"
|
|
635
|
+
];
|
|
617
636
|
var subscriptionPlanFeatureBehaviourQuery = [
|
|
618
637
|
"id",
|
|
619
638
|
"createdAt",
|
|
@@ -640,17 +659,10 @@ var subscriptionQuery = [
|
|
|
640
659
|
"version"
|
|
641
660
|
];
|
|
642
661
|
var subscriptionPlanFeatureQuery = [
|
|
643
|
-
"id",
|
|
644
|
-
"title",
|
|
645
|
-
"description",
|
|
646
|
-
"createdAt",
|
|
647
662
|
"limitValue",
|
|
648
663
|
"accessValue",
|
|
649
664
|
"behaviourIds",
|
|
650
|
-
"subscriptionPlanFeatureKey"
|
|
651
|
-
"featureStatus",
|
|
652
|
-
"meta",
|
|
653
|
-
"planId"
|
|
665
|
+
"subscriptionPlanFeatureKey"
|
|
654
666
|
];
|
|
655
667
|
var subscriptionPlanQuery = [
|
|
656
668
|
"id",
|
|
@@ -668,57 +680,35 @@ var subscriptionPlanQuery = [
|
|
|
668
680
|
"annuallyPlanPrice"
|
|
669
681
|
];
|
|
670
682
|
|
|
671
|
-
// src/services/subscription/types/subscription-plan-feature.type.ts
|
|
672
|
-
var
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
"total"
|
|
683
|
-
];
|
|
684
|
-
var getSubscriptionPlanFeaturesResponseNestedFields = {
|
|
685
|
-
..._getSubscriptionPlanFeatureResponseNestedFields,
|
|
686
|
-
subscriptionPlanFeatures: subscriptionPlanFeatureQuery
|
|
687
|
-
};
|
|
688
|
-
var addSubscriptionPlanFeatureResponse = getSubscriptionPlanFeatureResponse;
|
|
689
|
-
var addSubscriptionPlanFeatureResponseNestedFields = getSubscriptionPlanFeatureResponseNestedFields;
|
|
690
|
-
var updateSubscriptionPlanFeatureResponse = getSubscriptionPlanFeatureResponse;
|
|
691
|
-
var updateSubscriptionPlanFeatureResponseNestedFields = getSubscriptionPlanFeatureResponseNestedFields;
|
|
692
|
-
var removeSubscriptionPlanFeatureResponse = [
|
|
693
|
-
"subscriptionPlanFeatureId"
|
|
694
|
-
];
|
|
683
|
+
// src/services/subscription/types/subscription-plan-feature-definition.type.ts
|
|
684
|
+
var ENTITY2 = "subscriptionPlanFeatureDefinition";
|
|
685
|
+
var subscriptionPlanFeatureDefinitionIntegration = createStandardEntityIntegration({
|
|
686
|
+
key: ENTITY2,
|
|
687
|
+
fields: subscriptionPlanFeatureDefinitionQuery
|
|
688
|
+
});
|
|
689
|
+
var subscriptionPlanFeatureDefinitionListIntegration = createListIntegration({
|
|
690
|
+
key: "subscriptionPlanFeatureDefinitions",
|
|
691
|
+
fields: subscriptionPlanFeatureDefinitionQuery
|
|
692
|
+
});
|
|
693
|
+
var subscriptionPlanFeatureDefinitionDeleteIntegration = createDeleteIntegration(ENTITY2);
|
|
695
694
|
|
|
696
695
|
// src/services/subscription/types/subscription-plan.type.ts
|
|
697
|
-
var
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
subscriptionPlans: subscriptionPlanQuery
|
|
714
|
-
};
|
|
715
|
-
var addSubscriptionPlanResponse = getSubscriptionPlanResponse;
|
|
716
|
-
var addSubscriptionPlanResponseNestedFields = getSubscriptionPlanResponseNestedFields;
|
|
717
|
-
var updateSubscriptionPlanResponse = getSubscriptionPlanResponse;
|
|
718
|
-
var updateSubscriptionPlanResponseNestedFields = getSubscriptionPlanResponseNestedFields;
|
|
719
|
-
var removeSubscriptionPlanResponse = [
|
|
720
|
-
"subscriptionPlanId"
|
|
721
|
-
];
|
|
696
|
+
var ENTITY3 = "subscriptionPlan";
|
|
697
|
+
var subscriptionPlanIntegration = createStandardEntityIntegration({
|
|
698
|
+
key: ENTITY3,
|
|
699
|
+
fields: subscriptionPlanQuery,
|
|
700
|
+
nested: {
|
|
701
|
+
features: subscriptionPlanFeatureQuery
|
|
702
|
+
}
|
|
703
|
+
});
|
|
704
|
+
var subscriptionPlanListIntegration = createListIntegration({
|
|
705
|
+
key: "subscriptionPlans",
|
|
706
|
+
fields: subscriptionPlanQuery,
|
|
707
|
+
nested: {
|
|
708
|
+
features: subscriptionPlanFeatureQuery
|
|
709
|
+
}
|
|
710
|
+
});
|
|
711
|
+
var subscriptionPlanDeleteIntegration = createDeleteIntegration(ENTITY3);
|
|
722
712
|
|
|
723
713
|
// src/services/subscription/types/subscription.type.ts
|
|
724
714
|
var getSubscriptionResponse = [
|
|
@@ -746,239 +736,228 @@ var removeSubscriptionResponse = [
|
|
|
746
736
|
];
|
|
747
737
|
|
|
748
738
|
// src/services/subscription/types/subscription-plan-feature-behaviour.type.ts
|
|
749
|
-
var
|
|
739
|
+
var ENTITY4 = "subscriptionPlanFeatureBehaviour";
|
|
750
740
|
var subscriptionPlanFeatureBehaviourIntegration = createStandardEntityIntegration({
|
|
751
|
-
key:
|
|
741
|
+
key: ENTITY4,
|
|
752
742
|
fields: subscriptionPlanFeatureBehaviourQuery
|
|
753
743
|
});
|
|
754
744
|
var subscriptionPlanFeatureBehaviourListIntegration = createListIntegration({
|
|
755
745
|
key: "subscriptionPlanFeatureBehaviours",
|
|
756
746
|
fields: subscriptionPlanFeatureBehaviourQuery
|
|
757
747
|
});
|
|
758
|
-
var subscriptionPlanFeatureBehaviourDeleteIntegration = createDeleteIntegration(
|
|
748
|
+
var subscriptionPlanFeatureBehaviourDeleteIntegration = createDeleteIntegration(ENTITY4);
|
|
759
749
|
|
|
760
|
-
// src/services/subscription/
|
|
761
|
-
var
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
getSubscriptionPlanFeatures(search: $search, subscriptionPlanFeatureIds: $subscriptionPlanFeatureIds, subscriptionPlanFeature: $subscriptionPlanFeature, limit: $limit, skip: $skip) {
|
|
772
|
-
${query}
|
|
773
|
-
}
|
|
774
|
-
}
|
|
775
|
-
`,
|
|
776
|
-
addSubscriptionPlanFeature: (query) => `
|
|
777
|
-
mutation addSubscriptionPlanFeature($subscriptionPlanFeature: SubscriptionPlanFeatureInput!) {
|
|
778
|
-
addSubscriptionPlanFeature(subscriptionPlanFeature: $subscriptionPlanFeature) {
|
|
779
|
-
${query}
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
`,
|
|
783
|
-
updateSubscriptionPlanFeature: (query) => `
|
|
784
|
-
mutation updateSubscriptionPlanFeature($subscriptionPlanFeatureId: String!, $subscriptionPlanFeature: SubscriptionPlanFeatureInput!) {
|
|
785
|
-
updateSubscriptionPlanFeature(subscriptionPlanFeatureId: $subcriptionPlanFeatureId, subscriptionPlanFeature: $subscriptionPlanFeature) {
|
|
786
|
-
${query}
|
|
787
|
-
}
|
|
788
|
-
}
|
|
789
|
-
`,
|
|
790
|
-
removeSubscriptionPlanFeature: (query) => `
|
|
791
|
-
mutation removeSubscriptionPlanFeature($subscriptionPlanFeatureId: String!) {
|
|
792
|
-
removeSubscriptionPlanFeature(subscriptionPlanFeatureId: $subcriptionPlanFeatureId) {
|
|
793
|
-
${query}
|
|
794
|
-
}
|
|
795
|
-
}
|
|
796
|
-
`
|
|
797
|
-
};
|
|
750
|
+
// src/services/subscription/types/subscription-trial.type.ts
|
|
751
|
+
var ENTITY5 = "subscriptionTrial";
|
|
752
|
+
var subscriptionTrialIntegration = createStandardEntityIntegration({
|
|
753
|
+
key: ENTITY5,
|
|
754
|
+
fields: subscriptionTrialQuery
|
|
755
|
+
});
|
|
756
|
+
var subscriptionTrialListIntegration = createListIntegration({
|
|
757
|
+
key: "subscriptionTrials",
|
|
758
|
+
fields: subscriptionTrialQuery
|
|
759
|
+
});
|
|
760
|
+
var subscriptionTrialDeleteIntegration = createDeleteIntegration(ENTITY5);
|
|
798
761
|
|
|
799
|
-
// src/
|
|
800
|
-
|
|
801
|
-
async
|
|
762
|
+
// src/helpers/service.factory.ts
|
|
763
|
+
function createOperationExecutor(client, key, config) {
|
|
764
|
+
return async (input, fetchFields, option) => {
|
|
802
765
|
var _a, _b, _c;
|
|
803
|
-
const
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
),
|
|
809
|
-
input,
|
|
810
|
-
option
|
|
766
|
+
const query = config.schema(
|
|
767
|
+
gqlQueryStringBuilder(
|
|
768
|
+
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : config.defaultRootFields,
|
|
769
|
+
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : config.defaultNestedFields
|
|
770
|
+
)
|
|
811
771
|
);
|
|
812
|
-
return (_c = (_b = res.data) == null ? void 0 : _b.removeSubscriptionPlanFeature) != null ? _c : null;
|
|
813
|
-
},
|
|
814
|
-
async updateSubscriptionPlanFeature(input, fetchFields, option) {
|
|
815
|
-
var _a, _b, _c, _d;
|
|
816
772
|
const res = await client.request(
|
|
817
|
-
|
|
818
|
-
gqlQueryStringBuilder(
|
|
819
|
-
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : updateSubscriptionPlanFeatureResponse,
|
|
820
|
-
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : updateSubscriptionPlanFeatureResponseNestedFields
|
|
821
|
-
)
|
|
822
|
-
),
|
|
773
|
+
query,
|
|
823
774
|
input,
|
|
824
775
|
option
|
|
825
776
|
);
|
|
826
|
-
return (
|
|
777
|
+
return (_c = res.data) == null ? void 0 : _c[key];
|
|
778
|
+
};
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
// src/helpers/schema-builder.ts
|
|
782
|
+
function buildSchema({
|
|
783
|
+
operation,
|
|
784
|
+
name,
|
|
785
|
+
variables,
|
|
786
|
+
field
|
|
787
|
+
}) {
|
|
788
|
+
return (selection) => `
|
|
789
|
+
${operation} ${name}${variables} {
|
|
790
|
+
${name}${field} {
|
|
791
|
+
${selection}
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
`.trim();
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
// src/services/subscription/schemas/subscription-plan-feature-definition.schema.ts
|
|
798
|
+
var subscriptionPlanFeatureDefinitionSchema = {
|
|
799
|
+
get: {
|
|
800
|
+
operation: "query",
|
|
801
|
+
name: "getSubscriptionPlanFeatureDefinition",
|
|
802
|
+
variables: "($subscriptionPlanFeatureDefinition: SubscriptionPlanFeatureDefinitionInput!)",
|
|
803
|
+
field: "(subscriptionPlanFeatureDefinition: $subscriptionPlanFeatureDefinition)"
|
|
827
804
|
},
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : addSubscriptionPlanFeatureResponse,
|
|
834
|
-
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : addSubscriptionPlanFeatureResponseNestedFields
|
|
835
|
-
)
|
|
836
|
-
),
|
|
837
|
-
input,
|
|
838
|
-
option
|
|
839
|
-
);
|
|
840
|
-
return (_d = (_c = res.data) == null ? void 0 : _c.addSubscriptionPlanFeature) != null ? _d : null;
|
|
805
|
+
list: {
|
|
806
|
+
operation: "query",
|
|
807
|
+
name: "getSubscriptionPlanFeatureDefinitions",
|
|
808
|
+
variables: "($limit: Int!, $skip: Int!, $search: String, $subscriptionPlanFeatureDefinition: SubscriptionPlanFeatureDefinitionInput, $subscriptionPlanFeatureDefinitionIds: [String])",
|
|
809
|
+
field: "(limit: $limit, skip: $skip, search: $search, subscriptionPlanFeatureDefinition: $subscriptionPlanFeatureDefinition, subscriptionPlanFeatureDefinitionIds: $subscriptionPlanFeatureDefinitionIds)"
|
|
841
810
|
},
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : getSubscriptionPlanFeatureResponse,
|
|
848
|
-
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : getSubscriptionPlanFeatureResponseNestedFields
|
|
849
|
-
)
|
|
850
|
-
),
|
|
851
|
-
input,
|
|
852
|
-
option
|
|
853
|
-
);
|
|
854
|
-
return (_d = (_c = res.data) == null ? void 0 : _c.getSubscriptionPlanFeature) != null ? _d : null;
|
|
811
|
+
create: {
|
|
812
|
+
operation: "mutation",
|
|
813
|
+
name: "createSubscriptionPlanFeatureDefinition",
|
|
814
|
+
variables: "($subscriptionPlanFeatureDefinition: SubscriptionPlanFeatureDefinitionInput!)",
|
|
815
|
+
field: "(subscriptionPlanFeatureDefinition: $subscriptionPlanFeatureDefinition)"
|
|
855
816
|
},
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
);
|
|
868
|
-
return (_d = (_c = res.data) == null ? void 0 : _c.getSubscriptionPlanFeatures) != null ? _d : null;
|
|
817
|
+
update: {
|
|
818
|
+
operation: "mutation",
|
|
819
|
+
name: "updateSubscriptionPlanFeatureDefinition",
|
|
820
|
+
variables: "($subscriptionPlanFeatureDefinitionId: String!, $subscriptionPlanFeatureDefinition: SubscriptionPlanFeatureDefinitionInput!)",
|
|
821
|
+
field: "(subscriptionPlanFeatureDefinitionId: $subscriptionPlanFeatureDefinitionId, subscriptionPlanFeatureDefinition: $subscriptionPlanFeatureDefinition)"
|
|
822
|
+
},
|
|
823
|
+
delete: {
|
|
824
|
+
operation: "mutation",
|
|
825
|
+
name: "removeSubscriptionPlanFeatureDefinition",
|
|
826
|
+
variables: "($subscriptionPlanFeatureDefinitionId: String!)",
|
|
827
|
+
field: "(subscriptionPlanFeatureDefinitionId: $subscriptionPlanFeatureDefinitionId)"
|
|
869
828
|
}
|
|
829
|
+
};
|
|
830
|
+
|
|
831
|
+
// src/services/subscription/subscription-plan-feature-definition.service.ts
|
|
832
|
+
var createSubscriptionPlanFeatureDefinitionService = (client) => ({
|
|
833
|
+
createSubscriptionPlanFeatureDefinition: createOperationExecutor(
|
|
834
|
+
client,
|
|
835
|
+
"createSubscriptionPlanFeatureDefinition",
|
|
836
|
+
{
|
|
837
|
+
schema: buildSchema(subscriptionPlanFeatureDefinitionSchema.create),
|
|
838
|
+
defaultRootFields: subscriptionPlanFeatureDefinitionIntegration.create.responseFields,
|
|
839
|
+
defaultNestedFields: subscriptionPlanFeatureDefinitionIntegration.create.nestedFields
|
|
840
|
+
}
|
|
841
|
+
),
|
|
842
|
+
updateSubscriptionPlanFeatureDefinition: createOperationExecutor(
|
|
843
|
+
client,
|
|
844
|
+
"updateSubscriptionPlanFeatureDefinition",
|
|
845
|
+
{
|
|
846
|
+
schema: buildSchema(subscriptionPlanFeatureDefinitionSchema.update),
|
|
847
|
+
defaultRootFields: subscriptionPlanFeatureDefinitionIntegration.update.responseFields,
|
|
848
|
+
defaultNestedFields: subscriptionPlanFeatureDefinitionIntegration.update.nestedFields
|
|
849
|
+
}
|
|
850
|
+
),
|
|
851
|
+
getSubscriptionPlanFeatureDefinition: createOperationExecutor(
|
|
852
|
+
client,
|
|
853
|
+
"getSubscriptionPlanFeatureDefinition",
|
|
854
|
+
{
|
|
855
|
+
schema: buildSchema(subscriptionPlanFeatureDefinitionSchema.get),
|
|
856
|
+
defaultRootFields: subscriptionPlanFeatureDefinitionIntegration.get.responseFields,
|
|
857
|
+
defaultNestedFields: subscriptionPlanFeatureDefinitionIntegration.get.nestedFields
|
|
858
|
+
}
|
|
859
|
+
),
|
|
860
|
+
removeSubscriptionPlanFeatureDefinition: createOperationExecutor(
|
|
861
|
+
client,
|
|
862
|
+
"removeSubscriptionPlanFeatureDefinition",
|
|
863
|
+
{
|
|
864
|
+
schema: buildSchema(subscriptionPlanFeatureDefinitionSchema.delete),
|
|
865
|
+
defaultRootFields: subscriptionPlanFeatureDefinitionDeleteIntegration.responseFields,
|
|
866
|
+
defaultNestedFields: {}
|
|
867
|
+
}
|
|
868
|
+
),
|
|
869
|
+
getSubscriptionPlanFeatureDefinitions: createOperationExecutor(
|
|
870
|
+
client,
|
|
871
|
+
"getSubscriptionPlanFeatureDefinitions",
|
|
872
|
+
{
|
|
873
|
+
schema: buildSchema(subscriptionPlanFeatureDefinitionSchema.list),
|
|
874
|
+
defaultRootFields: [...subscriptionPlanFeatureDefinitionListIntegration.responseFields],
|
|
875
|
+
defaultNestedFields: subscriptionPlanFeatureDefinitionListIntegration.nestedFields
|
|
876
|
+
}
|
|
877
|
+
)
|
|
870
878
|
});
|
|
871
879
|
|
|
872
880
|
// src/services/subscription/schemas/subscription-plan.schema.ts
|
|
873
881
|
var subscriptionPlanSchema = {
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
}
|
|
880
|
-
`,
|
|
881
|
-
getSubscriptionPlans: (query) => `
|
|
882
|
-
query getSubscriptionPlans($search: String, $subscriptionPlanIds: [String], $subscriptionPlan: SubscriptionPlanInput, $limit: Int!, $skip: Int!) {
|
|
883
|
-
getSubscriptionPlans(search: $search, subscriptionPlanIds: $subscriptionPlanIds, subscriptionPlan: $subscriptionPlan, limit: $limit, skip: $skip) {
|
|
884
|
-
${query}
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
`,
|
|
888
|
-
addSubscriptionPlan: (query) => `
|
|
889
|
-
mutation addSubscriptionPlan($subscriptionPlan: SubscriptionPlanInput!) {
|
|
890
|
-
addSubscriptionPlan(subscriptionPlan: $subscriptionPlan) {
|
|
891
|
-
${query}
|
|
892
|
-
}
|
|
893
|
-
}
|
|
894
|
-
`,
|
|
895
|
-
updateSubscriptionPlan: (query) => `
|
|
896
|
-
mutation updateSubscriptionPlan($subscriptionPlanId: String!, $subscriptionPlan: SubscriptionPlanInput!) {
|
|
897
|
-
updateSubscriptionPlan(subscriptionPlanId: $subscriptionPlanId, subscriptionPlan: $subscriptionPlan) {
|
|
898
|
-
${query}
|
|
899
|
-
}
|
|
900
|
-
}
|
|
901
|
-
`,
|
|
902
|
-
removeSubscriptionPlan: (query) => `
|
|
903
|
-
mutation removeSubscriptionPlan($subscriptionPlanId: String!) {
|
|
904
|
-
removeSubscriptionPlan(subscriptionPlanId: $subscriptionPlanId) {
|
|
905
|
-
${query}
|
|
906
|
-
}
|
|
907
|
-
}
|
|
908
|
-
`
|
|
909
|
-
};
|
|
910
|
-
|
|
911
|
-
// src/services/subscription/subscription-plan.service.ts
|
|
912
|
-
var createSubscriptionPlanService = (client) => ({
|
|
913
|
-
async removeSubscriptionPlan(input, fetchFields, option) {
|
|
914
|
-
var _a, _b, _c;
|
|
915
|
-
const res = await client.request(
|
|
916
|
-
subscriptionPlanSchema.removeSubscriptionPlan(
|
|
917
|
-
gqlQueryStringBuilder(
|
|
918
|
-
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : removeSubscriptionPlanResponse
|
|
919
|
-
)
|
|
920
|
-
),
|
|
921
|
-
input,
|
|
922
|
-
option
|
|
923
|
-
);
|
|
924
|
-
return (_c = (_b = res.data) == null ? void 0 : _b.removeSubscriptionPlan) != null ? _c : null;
|
|
882
|
+
get: {
|
|
883
|
+
operation: "query",
|
|
884
|
+
name: "getSubscriptionPlan",
|
|
885
|
+
variables: "($subscriptionPlan: SubscriptionPlanInput!)",
|
|
886
|
+
field: "(subscriptionPlan: $subscriptionPlan)"
|
|
925
887
|
},
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : updateSubscriptionPlanResponse,
|
|
932
|
-
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : updateSubscriptionPlanResponseNestedFields
|
|
933
|
-
)
|
|
934
|
-
),
|
|
935
|
-
input,
|
|
936
|
-
option
|
|
937
|
-
);
|
|
938
|
-
return (_d = (_c = res.data) == null ? void 0 : _c.updateSubscriptionPlan) != null ? _d : null;
|
|
888
|
+
list: {
|
|
889
|
+
operation: "query",
|
|
890
|
+
name: "getSubscriptionPlans",
|
|
891
|
+
variables: "($limit: Int!, $skip: Int!, $search: String, $subscriptionPlan: SubscriptionPlanInput, $subscriptionPlanIds: [String])",
|
|
892
|
+
field: "(limit: $limit, skip: $skip, search: $search, subscriptionPlan: $subscriptionPlan, subscriptionPlanIds: $subscriptionPlanIds)"
|
|
939
893
|
},
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : addSubscriptionPlanResponse,
|
|
946
|
-
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : addSubscriptionPlanResponseNestedFields
|
|
947
|
-
)
|
|
948
|
-
),
|
|
949
|
-
input,
|
|
950
|
-
option
|
|
951
|
-
);
|
|
952
|
-
return (_d = (_c = res.data) == null ? void 0 : _c.addSubscriptionPlan) != null ? _d : null;
|
|
894
|
+
create: {
|
|
895
|
+
operation: "mutation",
|
|
896
|
+
name: "createSubscriptionPlan",
|
|
897
|
+
variables: "($subscriptionPlan: SubscriptionPlanInput!)",
|
|
898
|
+
field: "(subscriptionPlan: $subscriptionPlan)"
|
|
953
899
|
},
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : getSubscriptionPlanResponse,
|
|
960
|
-
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : getSubscriptionPlanResponseNestedFields
|
|
961
|
-
)
|
|
962
|
-
),
|
|
963
|
-
input,
|
|
964
|
-
option
|
|
965
|
-
);
|
|
966
|
-
return (_d = (_c = res.data) == null ? void 0 : _c.getSubscriptionPlan) != null ? _d : null;
|
|
900
|
+
update: {
|
|
901
|
+
operation: "mutation",
|
|
902
|
+
name: "updateSubscriptionPlan",
|
|
903
|
+
variables: "($subscriptionPlanId: String!, $subscriptionPlan: SubscriptionPlanInput!)",
|
|
904
|
+
field: "(subscriptionPlanId: $subscriptionPlanId, subscriptionPlan: $subscriptionPlan)"
|
|
967
905
|
},
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : getSubscriptionPlansResponse,
|
|
974
|
-
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : getSubscriptionPlansResponseNestedFields
|
|
975
|
-
)
|
|
976
|
-
),
|
|
977
|
-
input,
|
|
978
|
-
option
|
|
979
|
-
);
|
|
980
|
-
return (_d = (_c = res.data) == null ? void 0 : _c.getSubscriptionPlans) != null ? _d : null;
|
|
906
|
+
delete: {
|
|
907
|
+
operation: "mutation",
|
|
908
|
+
name: "removeSubscriptionPlan",
|
|
909
|
+
variables: "($subscriptionPlanId: String!)",
|
|
910
|
+
field: "(subscriptionPlanId: $subscriptionPlanId)"
|
|
981
911
|
}
|
|
912
|
+
};
|
|
913
|
+
|
|
914
|
+
// src/services/subscription/subscription-plan.service.ts
|
|
915
|
+
var createSubscriptionPlanService = (client) => ({
|
|
916
|
+
createSubscriptionPlan: createOperationExecutor(
|
|
917
|
+
client,
|
|
918
|
+
"createSubscriptionPlan",
|
|
919
|
+
{
|
|
920
|
+
schema: buildSchema(subscriptionPlanSchema.create),
|
|
921
|
+
defaultRootFields: subscriptionPlanIntegration.create.responseFields,
|
|
922
|
+
defaultNestedFields: subscriptionPlanIntegration.create.nestedFields
|
|
923
|
+
}
|
|
924
|
+
),
|
|
925
|
+
updateSubscriptionPlan: createOperationExecutor(
|
|
926
|
+
client,
|
|
927
|
+
"updateSubscriptionPlan",
|
|
928
|
+
{
|
|
929
|
+
schema: buildSchema(subscriptionPlanSchema.update),
|
|
930
|
+
defaultRootFields: subscriptionPlanIntegration.update.responseFields,
|
|
931
|
+
defaultNestedFields: subscriptionPlanIntegration.update.nestedFields
|
|
932
|
+
}
|
|
933
|
+
),
|
|
934
|
+
getSubscriptionPlan: createOperationExecutor(
|
|
935
|
+
client,
|
|
936
|
+
"getSubscriptionPlan",
|
|
937
|
+
{
|
|
938
|
+
schema: buildSchema(subscriptionPlanSchema.get),
|
|
939
|
+
defaultRootFields: subscriptionPlanIntegration.get.responseFields,
|
|
940
|
+
defaultNestedFields: subscriptionPlanIntegration.get.nestedFields
|
|
941
|
+
}
|
|
942
|
+
),
|
|
943
|
+
removeSubscriptionPlan: createOperationExecutor(
|
|
944
|
+
client,
|
|
945
|
+
"removeSubscriptionPlan",
|
|
946
|
+
{
|
|
947
|
+
schema: buildSchema(subscriptionPlanSchema.delete),
|
|
948
|
+
defaultRootFields: subscriptionPlanDeleteIntegration.responseFields,
|
|
949
|
+
defaultNestedFields: {}
|
|
950
|
+
}
|
|
951
|
+
),
|
|
952
|
+
getSubscriptionPlans: createOperationExecutor(
|
|
953
|
+
client,
|
|
954
|
+
"getSubscriptionPlans",
|
|
955
|
+
{
|
|
956
|
+
schema: buildSchema(subscriptionPlanSchema.list),
|
|
957
|
+
defaultRootFields: [...subscriptionPlanListIntegration.responseFields],
|
|
958
|
+
defaultNestedFields: subscriptionPlanListIntegration.nestedFields
|
|
959
|
+
}
|
|
960
|
+
)
|
|
982
961
|
});
|
|
983
962
|
|
|
984
963
|
// src/services/subscription/schemas/subscription.schema.ts
|
|
@@ -1093,41 +1072,6 @@ var createSubscriptionService = (client) => ({
|
|
|
1093
1072
|
}
|
|
1094
1073
|
});
|
|
1095
1074
|
|
|
1096
|
-
// src/helpers/service.factory.ts
|
|
1097
|
-
function createOperationExecutor(client, key, config) {
|
|
1098
|
-
return async (input, fetchFields, option) => {
|
|
1099
|
-
var _a, _b, _c;
|
|
1100
|
-
const query = config.schema(
|
|
1101
|
-
gqlQueryStringBuilder(
|
|
1102
|
-
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : config.defaultRootFields,
|
|
1103
|
-
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : config.defaultNestedFields
|
|
1104
|
-
)
|
|
1105
|
-
);
|
|
1106
|
-
const res = await client.request(
|
|
1107
|
-
query,
|
|
1108
|
-
input,
|
|
1109
|
-
option
|
|
1110
|
-
);
|
|
1111
|
-
return (_c = res.data) == null ? void 0 : _c[key];
|
|
1112
|
-
};
|
|
1113
|
-
}
|
|
1114
|
-
|
|
1115
|
-
// src/helpers/schema-builder.ts
|
|
1116
|
-
function buildSchema({
|
|
1117
|
-
operation,
|
|
1118
|
-
name,
|
|
1119
|
-
variables,
|
|
1120
|
-
field
|
|
1121
|
-
}) {
|
|
1122
|
-
return (selection) => `
|
|
1123
|
-
${operation} ${name}${variables} {
|
|
1124
|
-
${name}${field} {
|
|
1125
|
-
${selection}
|
|
1126
|
-
}
|
|
1127
|
-
}
|
|
1128
|
-
`.trim();
|
|
1129
|
-
}
|
|
1130
|
-
|
|
1131
1075
|
// src/services/subscription/schemas/subscription-plan-feature-behaviour.ts
|
|
1132
1076
|
var subscriptionPlanFeatureBehaviourSchema = {
|
|
1133
1077
|
get: {
|
|
@@ -1211,6 +1155,89 @@ var createSubscriptionPlanFeatureBehaviourService = (client) => ({
|
|
|
1211
1155
|
)
|
|
1212
1156
|
});
|
|
1213
1157
|
|
|
1158
|
+
// src/services/subscription/schemas/subscription-trial.schema.ts
|
|
1159
|
+
var subscriptionTrialSchema = {
|
|
1160
|
+
get: {
|
|
1161
|
+
operation: "query",
|
|
1162
|
+
name: "getSubscriptionTrial",
|
|
1163
|
+
variables: "($subscriptionTrial: SubscriptionTrialInput!)",
|
|
1164
|
+
field: "(subscriptionTrial: $subscriptionTrial)"
|
|
1165
|
+
},
|
|
1166
|
+
list: {
|
|
1167
|
+
operation: "query",
|
|
1168
|
+
name: "getSubscriptionTrials",
|
|
1169
|
+
variables: "($limit: Int!, $skip: Int!, $search: String, $subscriptionTrial: SubscriptionTrialInput, $subscriptionTrialIds: [String])",
|
|
1170
|
+
field: "(limit: $limit, skip: $skip, search: $search, subscriptionTrial: $subscriptionTrial, subscriptionTrialIds: $subscriptionTrialIds)"
|
|
1171
|
+
},
|
|
1172
|
+
create: {
|
|
1173
|
+
operation: "mutation",
|
|
1174
|
+
name: "createSubscriptionTrial",
|
|
1175
|
+
variables: "($subscriptionTrial: SubscriptionTrialInput!)",
|
|
1176
|
+
field: "(subscriptionTrial: $subscriptionTrial)"
|
|
1177
|
+
},
|
|
1178
|
+
update: {
|
|
1179
|
+
operation: "mutation",
|
|
1180
|
+
name: "updateSubscriptionTrial",
|
|
1181
|
+
variables: "($subscriptionTrialId: String!, $subscriptionTrial: SubscriptionTrialInput!)",
|
|
1182
|
+
field: "(subscriptionTrialId: $subscriptionTrialId, subscriptionTrial: $subscriptionTrial)"
|
|
1183
|
+
},
|
|
1184
|
+
delete: {
|
|
1185
|
+
operation: "mutation",
|
|
1186
|
+
name: "removeSubscriptionTrial",
|
|
1187
|
+
variables: "($subscriptionTrialId: String!)",
|
|
1188
|
+
field: "(subscriptionTrialId: $subscriptionTrialId)"
|
|
1189
|
+
}
|
|
1190
|
+
};
|
|
1191
|
+
|
|
1192
|
+
// src/services/subscription/subscription-trial.service.ts
|
|
1193
|
+
var createSubscriptionTrialService = (client) => ({
|
|
1194
|
+
createSubscriptionTrial: createOperationExecutor(
|
|
1195
|
+
client,
|
|
1196
|
+
"createSubscriptionTrial",
|
|
1197
|
+
{
|
|
1198
|
+
schema: buildSchema(subscriptionTrialSchema.create),
|
|
1199
|
+
defaultRootFields: subscriptionTrialIntegration.create.responseFields,
|
|
1200
|
+
defaultNestedFields: subscriptionTrialIntegration.create.nestedFields
|
|
1201
|
+
}
|
|
1202
|
+
),
|
|
1203
|
+
updateSubscriptionTrial: createOperationExecutor(
|
|
1204
|
+
client,
|
|
1205
|
+
"updateSubscriptionTrial",
|
|
1206
|
+
{
|
|
1207
|
+
schema: buildSchema(subscriptionTrialSchema.update),
|
|
1208
|
+
defaultRootFields: subscriptionTrialIntegration.update.responseFields,
|
|
1209
|
+
defaultNestedFields: subscriptionTrialIntegration.update.nestedFields
|
|
1210
|
+
}
|
|
1211
|
+
),
|
|
1212
|
+
getSubscriptionTrial: createOperationExecutor(
|
|
1213
|
+
client,
|
|
1214
|
+
"getSubscriptionTrial",
|
|
1215
|
+
{
|
|
1216
|
+
schema: buildSchema(subscriptionTrialSchema.get),
|
|
1217
|
+
defaultRootFields: subscriptionTrialIntegration.get.responseFields,
|
|
1218
|
+
defaultNestedFields: subscriptionTrialIntegration.get.nestedFields
|
|
1219
|
+
}
|
|
1220
|
+
),
|
|
1221
|
+
removeSubscriptionTrial: createOperationExecutor(
|
|
1222
|
+
client,
|
|
1223
|
+
"removeSubscriptionTrial",
|
|
1224
|
+
{
|
|
1225
|
+
schema: buildSchema(subscriptionTrialSchema.delete),
|
|
1226
|
+
defaultRootFields: subscriptionTrialDeleteIntegration.responseFields,
|
|
1227
|
+
defaultNestedFields: {}
|
|
1228
|
+
}
|
|
1229
|
+
),
|
|
1230
|
+
getSubscriptionTrials: createOperationExecutor(
|
|
1231
|
+
client,
|
|
1232
|
+
"getSubscriptionTrials",
|
|
1233
|
+
{
|
|
1234
|
+
schema: buildSchema(subscriptionTrialSchema.list),
|
|
1235
|
+
defaultRootFields: [...subscriptionTrialListIntegration.responseFields],
|
|
1236
|
+
defaultNestedFields: subscriptionTrialListIntegration.nestedFields
|
|
1237
|
+
}
|
|
1238
|
+
)
|
|
1239
|
+
});
|
|
1240
|
+
|
|
1214
1241
|
// src/services/user/types/user.type.ts
|
|
1215
1242
|
var getUserTypeCountsResponse = [
|
|
1216
1243
|
"userTypeCounts"
|
|
@@ -1712,9 +1739,9 @@ var createUserAccountService = (client) => ({
|
|
|
1712
1739
|
});
|
|
1713
1740
|
|
|
1714
1741
|
// src/services/user/types/user-role.type.ts
|
|
1715
|
-
var
|
|
1742
|
+
var ENTITY6 = "userRole";
|
|
1716
1743
|
var userRoleIntegration = createStandardEntityIntegration({
|
|
1717
|
-
key:
|
|
1744
|
+
key: ENTITY6,
|
|
1718
1745
|
fields: userRoleQuery,
|
|
1719
1746
|
nested: {
|
|
1720
1747
|
privileges: privilegeQuery
|
|
@@ -1727,7 +1754,7 @@ var userRoleListIntegration = createListIntegration({
|
|
|
1727
1754
|
privileges: privilegeQuery
|
|
1728
1755
|
}
|
|
1729
1756
|
});
|
|
1730
|
-
var userRoleDeleteIntegration = createDeleteIntegration(
|
|
1757
|
+
var userRoleDeleteIntegration = createDeleteIntegration(ENTITY6);
|
|
1731
1758
|
|
|
1732
1759
|
// src/services/user/schemas/user-role.schema.ts
|
|
1733
1760
|
var userRoleSchema = {
|
|
@@ -1813,16 +1840,16 @@ var createUserRoleService = (client) => ({
|
|
|
1813
1840
|
});
|
|
1814
1841
|
|
|
1815
1842
|
// src/services/user/types/application-feature.type.ts
|
|
1816
|
-
var
|
|
1843
|
+
var ENTITY7 = "applicationFeature";
|
|
1817
1844
|
var applicationFeatureIntegration = createStandardEntityIntegration({
|
|
1818
|
-
key:
|
|
1845
|
+
key: ENTITY7,
|
|
1819
1846
|
fields: applicationFeatureQuery
|
|
1820
1847
|
});
|
|
1821
1848
|
var applicationFeatureListIntegration = createListIntegration({
|
|
1822
1849
|
key: "applicationFeatures",
|
|
1823
1850
|
fields: applicationFeatureQuery
|
|
1824
1851
|
});
|
|
1825
|
-
var applicationFeatureDeleteIntegration = createDeleteIntegration(
|
|
1852
|
+
var applicationFeatureDeleteIntegration = createDeleteIntegration(ENTITY7);
|
|
1826
1853
|
|
|
1827
1854
|
// src/services/user/schemas/application-feature.schema.ts
|
|
1828
1855
|
var applicationFeatureSchema = {
|
|
@@ -3349,8 +3376,6 @@ exports._getPackageResponseNestedFields = _getPackageResponseNestedFields;
|
|
|
3349
3376
|
exports._getProductResponseNestedFields = _getProductResponseNestedFields;
|
|
3350
3377
|
exports._getSaleResponseNestedFields = _getSaleResponseNestedFields;
|
|
3351
3378
|
exports._getStoreResponseNestedFields = _getStoreResponseNestedFields;
|
|
3352
|
-
exports._getSubscriptionPlanFeatureResponseNestedFields = _getSubscriptionPlanFeatureResponseNestedFields;
|
|
3353
|
-
exports._getSubscriptionPlanResponseNestedFields = _getSubscriptionPlanResponseNestedFields;
|
|
3354
3379
|
exports._getSubscriptionResponseNestedFields = _getSubscriptionResponseNestedFields;
|
|
3355
3380
|
exports._getTransactionResponseNestedFields = _getTransactionResponseNestedFields;
|
|
3356
3381
|
exports._getTransactionsResponseNestedFields = _getTransactionsResponseNestedFields;
|
|
@@ -3366,10 +3391,6 @@ exports.addStockResponse = addStockResponse;
|
|
|
3366
3391
|
exports.addStockResponseNestedFields = addStockResponseNestedFields;
|
|
3367
3392
|
exports.addStoreResponse = addStoreResponse;
|
|
3368
3393
|
exports.addStoreResponseNestedFields = addStoreResponseNestedFields;
|
|
3369
|
-
exports.addSubscriptionPlanFeatureResponse = addSubscriptionPlanFeatureResponse;
|
|
3370
|
-
exports.addSubscriptionPlanFeatureResponseNestedFields = addSubscriptionPlanFeatureResponseNestedFields;
|
|
3371
|
-
exports.addSubscriptionPlanResponse = addSubscriptionPlanResponse;
|
|
3372
|
-
exports.addSubscriptionPlanResponseNestedFields = addSubscriptionPlanResponseNestedFields;
|
|
3373
3394
|
exports.addSubscriptionResponse = addSubscriptionResponse;
|
|
3374
3395
|
exports.addSubscriptionResponseNestedFields = addSubscriptionResponseNestedFields;
|
|
3375
3396
|
exports.addTransactionResponse = addTransactionResponse;
|
|
@@ -3392,9 +3413,10 @@ exports.createStoreCategoryResponseNestedFields = createStoreCategoryResponseNes
|
|
|
3392
3413
|
exports.createStoreCategoryService = createStoreCategoryService;
|
|
3393
3414
|
exports.createStoreService = createStoreService;
|
|
3394
3415
|
exports.createSubscriptionPlanFeatureBehaviourService = createSubscriptionPlanFeatureBehaviourService;
|
|
3395
|
-
exports.
|
|
3416
|
+
exports.createSubscriptionPlanFeatureDefinitionService = createSubscriptionPlanFeatureDefinitionService;
|
|
3396
3417
|
exports.createSubscriptionPlanService = createSubscriptionPlanService;
|
|
3397
3418
|
exports.createSubscriptionService = createSubscriptionService;
|
|
3419
|
+
exports.createSubscriptionTrialService = createSubscriptionTrialService;
|
|
3398
3420
|
exports.createTransactionService = createTransactionService;
|
|
3399
3421
|
exports.createTransport = createTransport;
|
|
3400
3422
|
exports.createUserAccountService = createUserAccountService;
|
|
@@ -3442,14 +3464,6 @@ exports.getStoreResponse = getStoreResponse;
|
|
|
3442
3464
|
exports.getStoreResponseNestedFields = getStoreResponseNestedFields;
|
|
3443
3465
|
exports.getStoresResponse = getStoresResponse;
|
|
3444
3466
|
exports.getStoresResponseNestedFields = getStoresResponseNestedFields;
|
|
3445
|
-
exports.getSubscriptionPlanFeatureResponse = getSubscriptionPlanFeatureResponse;
|
|
3446
|
-
exports.getSubscriptionPlanFeatureResponseNestedFields = getSubscriptionPlanFeatureResponseNestedFields;
|
|
3447
|
-
exports.getSubscriptionPlanFeaturesResponse = getSubscriptionPlanFeaturesResponse;
|
|
3448
|
-
exports.getSubscriptionPlanFeaturesResponseNestedFields = getSubscriptionPlanFeaturesResponseNestedFields;
|
|
3449
|
-
exports.getSubscriptionPlanResponse = getSubscriptionPlanResponse;
|
|
3450
|
-
exports.getSubscriptionPlanResponseNestedFields = getSubscriptionPlanResponseNestedFields;
|
|
3451
|
-
exports.getSubscriptionPlansResponse = getSubscriptionPlansResponse;
|
|
3452
|
-
exports.getSubscriptionPlansResponseNestedFields = getSubscriptionPlansResponseNestedFields;
|
|
3453
3467
|
exports.getSubscriptionResponse = getSubscriptionResponse;
|
|
3454
3468
|
exports.getSubscriptionResponseNestedFields = getSubscriptionResponseNestedFields;
|
|
3455
3469
|
exports.getSubscriptionsResponse = getSubscriptionsResponse;
|
|
@@ -3468,17 +3482,24 @@ exports.removeStockResponse = removeStockResponse;
|
|
|
3468
3482
|
exports.removeStoreCategoryProductResponseFields = removeStoreCategoryProductResponseFields;
|
|
3469
3483
|
exports.removeStoreCategoryResponseFields = removeStoreCategoryResponseFields;
|
|
3470
3484
|
exports.removeStoreResponse = removeStoreResponse;
|
|
3471
|
-
exports.removeSubscriptionPlanFeatureResponse = removeSubscriptionPlanFeatureResponse;
|
|
3472
|
-
exports.removeSubscriptionPlanResponse = removeSubscriptionPlanResponse;
|
|
3473
3485
|
exports.removeSubscriptionResponse = removeSubscriptionResponse;
|
|
3474
3486
|
exports.saleQuery = saleQuery;
|
|
3475
3487
|
exports.searchCategoriesAndTemplateResponse = searchCategoriesAndTemplateResponse;
|
|
3476
3488
|
exports.searchCategoriesAndTemplateResponseNestedFields = searchCategoriesAndTemplateResponseNestedFields;
|
|
3477
3489
|
exports.searchProductNamesResponse = searchProductNamesResponse;
|
|
3478
3490
|
exports.searchProductNamesResponseNestedFields = searchProductNamesResponseNestedFields;
|
|
3491
|
+
exports.subscriptionPlanDeleteIntegration = subscriptionPlanDeleteIntegration;
|
|
3479
3492
|
exports.subscriptionPlanFeatureBehaviourDeleteIntegration = subscriptionPlanFeatureBehaviourDeleteIntegration;
|
|
3480
3493
|
exports.subscriptionPlanFeatureBehaviourIntegration = subscriptionPlanFeatureBehaviourIntegration;
|
|
3481
3494
|
exports.subscriptionPlanFeatureBehaviourListIntegration = subscriptionPlanFeatureBehaviourListIntegration;
|
|
3495
|
+
exports.subscriptionPlanFeatureDefinitionDeleteIntegration = subscriptionPlanFeatureDefinitionDeleteIntegration;
|
|
3496
|
+
exports.subscriptionPlanFeatureDefinitionIntegration = subscriptionPlanFeatureDefinitionIntegration;
|
|
3497
|
+
exports.subscriptionPlanFeatureDefinitionListIntegration = subscriptionPlanFeatureDefinitionListIntegration;
|
|
3498
|
+
exports.subscriptionPlanIntegration = subscriptionPlanIntegration;
|
|
3499
|
+
exports.subscriptionPlanListIntegration = subscriptionPlanListIntegration;
|
|
3500
|
+
exports.subscriptionTrialDeleteIntegration = subscriptionTrialDeleteIntegration;
|
|
3501
|
+
exports.subscriptionTrialIntegration = subscriptionTrialIntegration;
|
|
3502
|
+
exports.subscriptionTrialListIntegration = subscriptionTrialListIntegration;
|
|
3482
3503
|
exports.toAsyncHeadersFactory = toAsyncHeadersFactory;
|
|
3483
3504
|
exports.toAsyncTokenProvider = toAsyncTokenProvider;
|
|
3484
3505
|
exports.transactionQuery = transactionQuery;
|
|
@@ -3497,10 +3518,6 @@ exports.updateStoreCategoryResponseFields = updateStoreCategoryResponseFields;
|
|
|
3497
3518
|
exports.updateStoreCategoryResponseNestedFields = updateStoreCategoryResponseNestedFields;
|
|
3498
3519
|
exports.updateStoreResponse = updateStoreResponse;
|
|
3499
3520
|
exports.updateStoreResponseNestedFields = updateStoreResponseNestedFields;
|
|
3500
|
-
exports.updateSubscriptionPlanFeatureResponse = updateSubscriptionPlanFeatureResponse;
|
|
3501
|
-
exports.updateSubscriptionPlanFeatureResponseNestedFields = updateSubscriptionPlanFeatureResponseNestedFields;
|
|
3502
|
-
exports.updateSubscriptionPlanResponse = updateSubscriptionPlanResponse;
|
|
3503
|
-
exports.updateSubscriptionPlanResponseNestedFields = updateSubscriptionPlanResponseNestedFields;
|
|
3504
3521
|
exports.updateSubscriptionResponse = updateSubscriptionResponse;
|
|
3505
3522
|
exports.updateSubscriptionResponseNestedFields = updateSubscriptionResponseNestedFields;
|
|
3506
3523
|
exports.updateTransactionResponse = updateTransactionResponse;
|