@sellout/models 0.0.358 → 0.0.360
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/graphql/mutations/connectStripe.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/connectStripe.mutation.js +10 -0
- package/.dist/graphql/mutations/connectStripe.mutation.js.map +1 -0
- package/.dist/graphql/mutations/resetStripeConnection.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/resetStripeConnection.mutation.js +10 -0
- package/.dist/graphql/mutations/resetStripeConnection.mutation.js.map +1 -0
- package/.dist/interfaces/IEventPromotion.d.ts +2 -1
- package/.dist/interfaces/IEventPromotion.js +1 -0
- package/.dist/interfaces/IEventPromotion.js.map +1 -1
- package/.dist/sellout-proto.js +1387 -315
- package/package.json +3 -3
- package/src/graphql/mutations/connectStripe.mutation.ts +9 -0
- package/src/graphql/mutations/resetStripeConnection.mutation.ts +9 -0
- package/src/interfaces/IEventPromotion.ts +2 -1
- package/src/proto/organization.proto +13 -0
- package/src/proto/stripe.proto +16 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const client_1 = require("@apollo/client");
|
|
4
|
+
const mutation = (0, client_1.gql) `
|
|
5
|
+
mutation connectCode($connectCode: String!) {
|
|
6
|
+
connectStripe(connectCode: $connectCode)
|
|
7
|
+
}
|
|
8
|
+
`;
|
|
9
|
+
exports.default = mutation;
|
|
10
|
+
//# sourceMappingURL=connectStripe.mutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectStripe.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/connectStripe.mutation.ts"],"names":[],"mappings":";;AAAA,2CAAmC;AAEnC,MAAM,QAAQ,GAAG,IAAA,YAAG,EAAA;;;;CAInB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const client_1 = require("@apollo/client");
|
|
4
|
+
const mutation = (0, client_1.gql) `
|
|
5
|
+
mutation resetStripeConnection($orgId:String) {
|
|
6
|
+
resetStripeConnection(orgId: $orgId)
|
|
7
|
+
}
|
|
8
|
+
`;
|
|
9
|
+
exports.default = mutation;
|
|
10
|
+
//# sourceMappingURL=resetStripeConnection.mutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resetStripeConnection.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/resetStripeConnection.mutation.ts"],"names":[],"mappings":";;AAAA,2CAAmC;AAEnC,MAAM,QAAQ,GAAG,IAAA,YAAG,EAAA;;;;CAInB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -2,7 +2,8 @@ export declare enum EventPromotionTypeEnum {
|
|
|
2
2
|
PreSale = "Presale",
|
|
3
3
|
Unlock = "Unlock",
|
|
4
4
|
Discount = "Discount",
|
|
5
|
-
LimitOverride = "Limit Override"
|
|
5
|
+
LimitOverride = "Limit Override",
|
|
6
|
+
Comp = "Comp"
|
|
6
7
|
}
|
|
7
8
|
export declare enum EventPromotionDiscountTypeEnum {
|
|
8
9
|
Flat = "Flat",
|
|
@@ -7,6 +7,7 @@ var EventPromotionTypeEnum;
|
|
|
7
7
|
EventPromotionTypeEnum["Unlock"] = "Unlock";
|
|
8
8
|
EventPromotionTypeEnum["Discount"] = "Discount";
|
|
9
9
|
EventPromotionTypeEnum["LimitOverride"] = "Limit Override";
|
|
10
|
+
EventPromotionTypeEnum["Comp"] = "Comp";
|
|
10
11
|
})(EventPromotionTypeEnum = exports.EventPromotionTypeEnum || (exports.EventPromotionTypeEnum = {}));
|
|
11
12
|
var EventPromotionDiscountTypeEnum;
|
|
12
13
|
(function (EventPromotionDiscountTypeEnum) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IEventPromotion.js","sourceRoot":"","sources":["../../src/interfaces/IEventPromotion.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"IEventPromotion.js","sourceRoot":"","sources":["../../src/interfaces/IEventPromotion.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,6CAAmB,CAAA;IACnB,2CAAiB,CAAA;IACjB,+CAAqB,CAAA;IACrB,0DAAgC,CAAA;IAChC,uCAAW,CAAA;AACb,CAAC,EANW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAMjC;AAED,IAAY,8BAGX;AAHD,WAAY,8BAA8B;IACxC,+CAAa,CAAA;IACb,qDAAmB,CAAA;AACrB,CAAC,EAHW,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAGzC;AAED,IAAY,2BAGX;AAHD,WAAY,2BAA2B;IACrC,uDAAwB,CAAA;IACxB,qDAAsB,CAAA;AACxB,CAAC,EAHW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAGtC"}
|