@axinom/mosaic-messages 0.8.1-rc.2 → 0.9.0-rc.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/generated/schemas/payloads/monetization/events/index.d.ts +15 -5
- package/dist/generated/schemas/payloads/monetization/events/index.d.ts.map +1 -1
- package/dist/generated/schemas/payloads/monetization/events/subscription-plan-published-event.json +33 -8
- package/dist/generated/types/payloads/monetization/events/subscription-plan-published-event.d.ts +1 -1
- package/dist/generated/types/payloads/monetization/events/subscription-plan-published-event.d.ts.map +1 -1
- package/dist/generated/types/payloads/monetization/types/index.d.ts +1 -0
- package/dist/generated/types/payloads/monetization/types/index.d.ts.map +1 -1
- package/dist/generated/types/payloads/monetization/types/index.js +1 -0
- package/dist/generated/types/payloads/monetization/types/index.js.map +1 -1
- package/dist/generated/types/payloads/monetization/types/payment-plan.d.ts +3 -2
- package/dist/generated/types/payloads/monetization/types/payment-plan.d.ts.map +1 -1
- package/dist/generated/types/payloads/monetization/types/period-unit.d.ts +2 -0
- package/dist/generated/types/payloads/monetization/types/period-unit.d.ts.map +1 -0
- package/dist/generated/types/payloads/monetization/types/period-unit.js +3 -0
- package/dist/generated/types/payloads/monetization/types/period-unit.js.map +1 -0
- package/package.json +4 -4
|
@@ -182,7 +182,7 @@ export declare const SubscriptionPlanPublishedEventSchema: {
|
|
|
182
182
|
type: string;
|
|
183
183
|
default: string;
|
|
184
184
|
};
|
|
185
|
-
|
|
185
|
+
is_active: {
|
|
186
186
|
description: string;
|
|
187
187
|
type: string;
|
|
188
188
|
};
|
|
@@ -214,13 +214,15 @@ export declare const SubscriptionPlanPublishedEventSchema: {
|
|
|
214
214
|
type: string;
|
|
215
215
|
default: string;
|
|
216
216
|
};
|
|
217
|
-
|
|
217
|
+
is_active: {
|
|
218
218
|
description: string;
|
|
219
219
|
type: string;
|
|
220
220
|
};
|
|
221
221
|
period_unit: {
|
|
222
|
-
type: string;
|
|
223
222
|
description: string;
|
|
223
|
+
title: string;
|
|
224
|
+
type: string;
|
|
225
|
+
enum: string[];
|
|
224
226
|
};
|
|
225
227
|
period_quantity: {
|
|
226
228
|
type: string;
|
|
@@ -352,13 +354,15 @@ export declare const SubscriptionPlanPublishedEventSchema: {
|
|
|
352
354
|
type: string;
|
|
353
355
|
default: string;
|
|
354
356
|
};
|
|
355
|
-
|
|
357
|
+
is_active: {
|
|
356
358
|
description: string;
|
|
357
359
|
type: string;
|
|
358
360
|
};
|
|
359
361
|
period_unit: {
|
|
360
|
-
type: string;
|
|
361
362
|
description: string;
|
|
363
|
+
title: string;
|
|
364
|
+
type: string;
|
|
365
|
+
enum: string[];
|
|
362
366
|
};
|
|
363
367
|
period_quantity: {
|
|
364
368
|
type: string;
|
|
@@ -495,6 +499,12 @@ export declare const SubscriptionPlanPublishedEventSchema: {
|
|
|
495
499
|
};
|
|
496
500
|
};
|
|
497
501
|
};
|
|
502
|
+
period_unit: {
|
|
503
|
+
title: string;
|
|
504
|
+
description: string;
|
|
505
|
+
type: string;
|
|
506
|
+
enum: string[];
|
|
507
|
+
};
|
|
498
508
|
};
|
|
499
509
|
};
|
|
500
510
|
export declare const SynchronizeClaimDefinitionsFailedEventSchema: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/monetization/events/index.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAyB,CAAC;AACnE,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;CAA2B,CAAC;AACvE,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwC,CAAC;AACjG,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;;;;;CAA0C,CAAC;AACrG,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAC;AAC/F,eAA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;;;;;;;;;;;;;;;;;;;;;;;;CAAyC,CAAC;AACnG,eAAO,MAAM,8CAA8C;;;;;;;;CAA2C,CAAC;AACvG,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAyC,CAAC;AACnG,eAAO,MAAM,8CAA8C;;;;;;;;CAA2C,CAAC"}
|
package/dist/generated/schemas/payloads/monetization/events/subscription-plan-published-event.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"required": [
|
|
8
8
|
"id",
|
|
9
9
|
"title",
|
|
10
|
-
"
|
|
10
|
+
"is_active",
|
|
11
11
|
"provider_configs",
|
|
12
12
|
"payment_plans"
|
|
13
13
|
],
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"type": "string",
|
|
31
31
|
"default": ""
|
|
32
32
|
},
|
|
33
|
-
"
|
|
33
|
+
"is_active": {
|
|
34
34
|
"description": "Whether this subscription plan can be purchased by new subscribers.",
|
|
35
35
|
"type": "boolean"
|
|
36
36
|
},
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"required": [
|
|
46
46
|
"id",
|
|
47
47
|
"title",
|
|
48
|
-
"
|
|
48
|
+
"is_active",
|
|
49
49
|
"period_unit",
|
|
50
50
|
"period_quantity",
|
|
51
51
|
"provider_configs",
|
|
@@ -70,13 +70,20 @@
|
|
|
70
70
|
"type": "string",
|
|
71
71
|
"default": ""
|
|
72
72
|
},
|
|
73
|
-
"
|
|
73
|
+
"is_active": {
|
|
74
74
|
"description": "Whether this payment plan can be used by new subscribers",
|
|
75
75
|
"type": "boolean"
|
|
76
76
|
},
|
|
77
77
|
"period_unit": {
|
|
78
|
+
"description": "Payment period unit.",
|
|
79
|
+
"title": "period_unit",
|
|
78
80
|
"type": "string",
|
|
79
|
-
"
|
|
81
|
+
"enum": [
|
|
82
|
+
"DAY",
|
|
83
|
+
"WEEK",
|
|
84
|
+
"MONTH",
|
|
85
|
+
"YEAR"
|
|
86
|
+
]
|
|
80
87
|
},
|
|
81
88
|
"period_quantity": {
|
|
82
89
|
"type": "integer",
|
|
@@ -199,7 +206,7 @@
|
|
|
199
206
|
"required": [
|
|
200
207
|
"id",
|
|
201
208
|
"title",
|
|
202
|
-
"
|
|
209
|
+
"is_active",
|
|
203
210
|
"period_unit",
|
|
204
211
|
"period_quantity",
|
|
205
212
|
"provider_configs",
|
|
@@ -224,13 +231,20 @@
|
|
|
224
231
|
"type": "string",
|
|
225
232
|
"default": ""
|
|
226
233
|
},
|
|
227
|
-
"
|
|
234
|
+
"is_active": {
|
|
228
235
|
"description": "Whether this payment plan can be used by new subscribers",
|
|
229
236
|
"type": "boolean"
|
|
230
237
|
},
|
|
231
238
|
"period_unit": {
|
|
239
|
+
"description": "Payment period unit.",
|
|
240
|
+
"title": "period_unit",
|
|
232
241
|
"type": "string",
|
|
233
|
-
"
|
|
242
|
+
"enum": [
|
|
243
|
+
"DAY",
|
|
244
|
+
"WEEK",
|
|
245
|
+
"MONTH",
|
|
246
|
+
"YEAR"
|
|
247
|
+
]
|
|
234
248
|
},
|
|
235
249
|
"period_quantity": {
|
|
236
250
|
"type": "integer",
|
|
@@ -380,6 +394,17 @@
|
|
|
380
394
|
"exclusiveMinimum": 0
|
|
381
395
|
}
|
|
382
396
|
}
|
|
397
|
+
},
|
|
398
|
+
"period_unit": {
|
|
399
|
+
"title": "period_unit",
|
|
400
|
+
"description": "Payment period unit.",
|
|
401
|
+
"type": "string",
|
|
402
|
+
"enum": [
|
|
403
|
+
"DAY",
|
|
404
|
+
"WEEK",
|
|
405
|
+
"MONTH",
|
|
406
|
+
"YEAR"
|
|
407
|
+
]
|
|
383
408
|
}
|
|
384
409
|
}
|
|
385
410
|
}
|
package/dist/generated/types/payloads/monetization/events/subscription-plan-published-event.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription-plan-published-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/monetization/events/subscription-plan-published-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACnD,OAAO,EAAE,8BAA8B,EAAE,MAAM,4CAA4C,CAAA;AAC3F;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"subscription-plan-published-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/monetization/events/subscription-plan-published-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACnD,OAAO,EAAE,8BAA8B,EAAE,MAAM,4CAA4C,CAAA;AAC3F;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,aAAa,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;IAClC;;OAEG;IACH,gBAAgB,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;IACxD;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
|
|
@@ -6,5 +6,6 @@ export * from './payment-plan';
|
|
|
6
6
|
export * from './payment-plan-price';
|
|
7
7
|
export * from './payment-plan-provider-config';
|
|
8
8
|
export * from './payment-provider';
|
|
9
|
+
export * from './period-unit';
|
|
9
10
|
export * from './subscription-plan-provider-config';
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/monetization/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qCAAqC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/monetization/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,qCAAqC,CAAC"}
|
|
@@ -18,5 +18,6 @@ __exportStar(require("./payment-plan"), exports);
|
|
|
18
18
|
__exportStar(require("./payment-plan-price"), exports);
|
|
19
19
|
__exportStar(require("./payment-plan-provider-config"), exports);
|
|
20
20
|
__exportStar(require("./payment-provider"), exports);
|
|
21
|
+
__exportStar(require("./period-unit"), exports);
|
|
21
22
|
__exportStar(require("./subscription-plan-provider-config"), exports);
|
|
22
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/monetization/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmC;AACnC,2DAAyC;AACzC,yDAAuC;AACvC,kDAAgC;AAChC,iDAA+B;AAC/B,uDAAqC;AACrC,iEAA+C;AAC/C,qDAAmC;AACnC,sEAAoD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/monetization/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmC;AACnC,2DAAyC;AACzC,yDAAuC;AACvC,kDAAgC;AAChC,iDAA+B;AAC/B,uDAAqC;AACrC,iEAA+C;AAC/C,qDAAmC;AACnC,gDAA8B;AAC9B,sEAAoD"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PeriodUnit } from './period-unit';
|
|
1
2
|
import { PaymentPlanProviderConfig } from './payment-plan-provider-config';
|
|
2
3
|
import { PaymentPlanPrice } from './payment-plan-price';
|
|
3
4
|
/**
|
|
@@ -19,11 +20,11 @@ export interface PaymentPlan {
|
|
|
19
20
|
/**
|
|
20
21
|
* Whether this payment plan can be used by new subscribers
|
|
21
22
|
*/
|
|
22
|
-
|
|
23
|
+
is_active: boolean;
|
|
23
24
|
/**
|
|
24
25
|
* Payment period unit.
|
|
25
26
|
*/
|
|
26
|
-
period_unit:
|
|
27
|
+
period_unit: PeriodUnit;
|
|
27
28
|
/**
|
|
28
29
|
* Payment period quantity.
|
|
29
30
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-plan.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/monetization/types/payment-plan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAA;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AACvD;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"payment-plan.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/monetization/types/payment-plan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAA;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AACvD;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,EAAE,UAAU,CAAC;IACxB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,gBAAgB,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;IACnD;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;CACjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"period-unit.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/monetization/types/period-unit.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"period-unit.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/monetization/types/period-unit.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axinom/mosaic-messages",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0-rc.2",
|
|
4
4
|
"description": "Shared types for Axinom Mosaic service messages",
|
|
5
5
|
"author": "Axinom",
|
|
6
6
|
"license": "PROPRIETARY",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"dev": "concurrently --names \"codegen,tsc\" \"yarn codegen:watch\" \"yarn build:compile:watch\""
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@axinom/mosaic-cli": "^0.6.2-rc.
|
|
31
|
-
"@axinom/mosaic-message-bus-abstractions": "^0.1.4-rc.
|
|
30
|
+
"@axinom/mosaic-cli": "^0.6.2-rc.6",
|
|
31
|
+
"@axinom/mosaic-message-bus-abstractions": "^0.1.4-rc.6",
|
|
32
32
|
"@types/glob": "^7.1.3",
|
|
33
33
|
"concurrently": "^5.3.0",
|
|
34
34
|
"rimraf": "^3.0.2",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "d86a10161793c5d65d3a017e28bdddc73ed53035"
|
|
44
44
|
}
|