@cinerino/sdk 3.122.0 → 3.123.0
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/example/playground/public/lib/bundle.js +7 -6
- package/example/src/chevre/assetTransaction/processPayCreditCard.ts +1 -1
- package/example/src/chevre/assetTransaction/processPayMGTicket.ts +1 -1
- package/example/src/chevre/assetTransaction/processPayMovieTicket.ts +1 -1
- package/example/src/chevre/assetTransaction/processPublishPaymentUrl.ts +1 -1
- package/lib/bundle.js +7 -6
- package/package.json +2 -2
|
@@ -5661,8 +5661,8 @@ var PayAssetTransactionService = /** @class */ (function (_super) {
|
|
|
5661
5661
|
uri: "/assetTransactions/" + factory.assetTransactionType.Pay + "/publishPaymentUrl",
|
|
5662
5662
|
method: 'POST',
|
|
5663
5663
|
body: params,
|
|
5664
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
5665
|
-
qs: { iss: params.iss }
|
|
5664
|
+
expectedStatusCodes: [http_status_1.OK]
|
|
5665
|
+
// qs: { iss: params.iss }
|
|
5666
5666
|
})
|
|
5667
5667
|
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
5668
5668
|
return [2 /*return*/, response.json()];
|
|
@@ -5681,8 +5681,8 @@ var PayAssetTransactionService = /** @class */ (function (_super) {
|
|
|
5681
5681
|
uri: "/assetTransactions/" + factory.assetTransactionType.Pay + "/start",
|
|
5682
5682
|
method: 'POST',
|
|
5683
5683
|
body: params,
|
|
5684
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
5685
|
-
qs: { iss: params.iss }
|
|
5684
|
+
expectedStatusCodes: [http_status_1.OK]
|
|
5685
|
+
// qs: { iss: params.iss }
|
|
5686
5686
|
})
|
|
5687
5687
|
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
5688
5688
|
return [2 /*return*/, response.json()];
|
|
@@ -9776,8 +9776,8 @@ var PersonOwnershipInfoService = /** @class */ (function (_super) {
|
|
|
9776
9776
|
return [4 /*yield*/, this.fetch({
|
|
9777
9777
|
uri: "/people/" + id + "/ownershipInfos/" + String(params.ownershipInfoId),
|
|
9778
9778
|
method: 'DELETE',
|
|
9779
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
9780
|
-
qs: { iss: params.iss }
|
|
9779
|
+
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
9780
|
+
// qs: { iss: params.iss }
|
|
9781
9781
|
})];
|
|
9782
9782
|
case 1:
|
|
9783
9783
|
_a.sent();
|
|
@@ -10624,6 +10624,7 @@ var ProductService = /** @class */ (function (_super) {
|
|
|
10624
10624
|
return [2 /*return*/, this.fetch({
|
|
10625
10625
|
uri: "/products/" + encodeURIComponent(String(params.id)) + "/offers",
|
|
10626
10626
|
method: 'GET',
|
|
10627
|
+
qs: params,
|
|
10627
10628
|
expectedStatusCodes: [http_status_1.OK]
|
|
10628
10629
|
})
|
|
10629
10630
|
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
@@ -35,7 +35,7 @@ async function main() {
|
|
|
35
35
|
|
|
36
36
|
console.log('starting transaction...transactionNumber:', transactionNumber);
|
|
37
37
|
const transaction = await payService.start({
|
|
38
|
-
iss: '',
|
|
38
|
+
// iss: '',
|
|
39
39
|
project: { typeOf: client.factory.organizationType.Project, id: project.id },
|
|
40
40
|
typeOf: client.factory.assetTransactionType.Pay,
|
|
41
41
|
transactionNumber: transactionNumber,
|
|
@@ -34,7 +34,7 @@ async function main() {
|
|
|
34
34
|
|
|
35
35
|
console.log('starting transaction...transactionNumber:', transactionNumber);
|
|
36
36
|
const transaction = await payService.start({
|
|
37
|
-
iss: '',
|
|
37
|
+
// iss: '',
|
|
38
38
|
project: { typeOf: client.factory.organizationType.Project, id: project.id },
|
|
39
39
|
typeOf: client.factory.assetTransactionType.Pay,
|
|
40
40
|
transactionNumber: transactionNumber,
|
|
@@ -35,7 +35,7 @@ async function main() {
|
|
|
35
35
|
|
|
36
36
|
console.log('starting transaction...transactionNumber:', transactionNumber);
|
|
37
37
|
const transaction = await payService.start({
|
|
38
|
-
iss: '',
|
|
38
|
+
// iss: '',
|
|
39
39
|
project: { typeOf: client.factory.organizationType.Project, id: project.id },
|
|
40
40
|
typeOf: client.factory.assetTransactionType.Pay,
|
|
41
41
|
transactionNumber: transactionNumber,
|
|
@@ -34,7 +34,7 @@ async function main() {
|
|
|
34
34
|
|
|
35
35
|
console.log('starting transaction...transactionNumber:', transactionNumber);
|
|
36
36
|
const publishResult = await payService.publishPaymentUrl({
|
|
37
|
-
iss: '',
|
|
37
|
+
// iss: '',
|
|
38
38
|
project: { id: project.id, typeOf: client.factory.organizationType.Project },
|
|
39
39
|
typeOf: client.factory.assetTransactionType.Pay,
|
|
40
40
|
transactionNumber: transactionNumber,
|
package/lib/bundle.js
CHANGED
|
@@ -5661,8 +5661,8 @@ var PayAssetTransactionService = /** @class */ (function (_super) {
|
|
|
5661
5661
|
uri: "/assetTransactions/" + factory.assetTransactionType.Pay + "/publishPaymentUrl",
|
|
5662
5662
|
method: 'POST',
|
|
5663
5663
|
body: params,
|
|
5664
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
5665
|
-
qs: { iss: params.iss }
|
|
5664
|
+
expectedStatusCodes: [http_status_1.OK]
|
|
5665
|
+
// qs: { iss: params.iss }
|
|
5666
5666
|
})
|
|
5667
5667
|
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
5668
5668
|
return [2 /*return*/, response.json()];
|
|
@@ -5681,8 +5681,8 @@ var PayAssetTransactionService = /** @class */ (function (_super) {
|
|
|
5681
5681
|
uri: "/assetTransactions/" + factory.assetTransactionType.Pay + "/start",
|
|
5682
5682
|
method: 'POST',
|
|
5683
5683
|
body: params,
|
|
5684
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
5685
|
-
qs: { iss: params.iss }
|
|
5684
|
+
expectedStatusCodes: [http_status_1.OK]
|
|
5685
|
+
// qs: { iss: params.iss }
|
|
5686
5686
|
})
|
|
5687
5687
|
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
5688
5688
|
return [2 /*return*/, response.json()];
|
|
@@ -9776,8 +9776,8 @@ var PersonOwnershipInfoService = /** @class */ (function (_super) {
|
|
|
9776
9776
|
return [4 /*yield*/, this.fetch({
|
|
9777
9777
|
uri: "/people/" + id + "/ownershipInfos/" + String(params.ownershipInfoId),
|
|
9778
9778
|
method: 'DELETE',
|
|
9779
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
9780
|
-
qs: { iss: params.iss }
|
|
9779
|
+
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
9780
|
+
// qs: { iss: params.iss }
|
|
9781
9781
|
})];
|
|
9782
9782
|
case 1:
|
|
9783
9783
|
_a.sent();
|
|
@@ -10624,6 +10624,7 @@ var ProductService = /** @class */ (function (_super) {
|
|
|
10624
10624
|
return [2 /*return*/, this.fetch({
|
|
10625
10625
|
uri: "/products/" + encodeURIComponent(String(params.id)) + "/offers",
|
|
10626
10626
|
method: 'GET',
|
|
10627
|
+
qs: params,
|
|
10627
10628
|
expectedStatusCodes: [http_status_1.OK]
|
|
10628
10629
|
})
|
|
10629
10630
|
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cinerino/sdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.123.0",
|
|
4
4
|
"description": "Cinerino SDK",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"browser": {
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"watchify": "^3.11.1"
|
|
98
98
|
},
|
|
99
99
|
"dependencies": {
|
|
100
|
-
"@cinerino/api-abstract-client": "3.
|
|
100
|
+
"@cinerino/api-abstract-client": "3.123.0",
|
|
101
101
|
"debug": "^3.2.6",
|
|
102
102
|
"http-status": "^1.4.2",
|
|
103
103
|
"idtoken-verifier": "^2.0.3",
|