@cinerino/sdk 3.88.0 → 3.89.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.
@@ -3052,9 +3052,19 @@ exports.OrganizationType = void 0;
3052
3052
  */
3053
3053
  var OrganizationType;
3054
3054
  (function (OrganizationType) {
3055
+ /**
3056
+ * 販売組織
3057
+ */
3055
3058
  OrganizationType["Corporation"] = "Corporation";
3056
- OrganizationType["MovieTheater"] = "MovieTheater";
3059
+ // 不要なので廃止(2022-05-30~)
3060
+ // MovieTheater = 'MovieTheater',
3061
+ /**
3062
+ * 顧客組織
3063
+ */
3057
3064
  OrganizationType["Organization"] = "Organization";
3065
+ /**
3066
+ * プロジェクト
3067
+ */
3058
3068
  OrganizationType["Project"] = "Project";
3059
3069
  })(OrganizationType = exports.OrganizationType || (exports.OrganizationType = {}));
3060
3070
 
@@ -40,7 +40,7 @@ async function main() {
40
40
  typeOf: client.factory.assetTransactionType.Pay,
41
41
  transactionNumber: transactionNumber,
42
42
  agent: { typeOf: client.factory.personType.Person, name: 'サンプル決済者名称', id: 'id' },
43
- recipient: { typeOf: seller.typeOf, id: seller.id },
43
+ recipient: { typeOf: seller.typeOf, id: String(seller.id) },
44
44
  object: {
45
45
  typeOf: client.factory.service.paymentService.PaymentServiceType.CreditCard,
46
46
  id: '',
@@ -39,7 +39,7 @@ async function main() {
39
39
  typeOf: client.factory.assetTransactionType.Pay,
40
40
  transactionNumber: transactionNumber,
41
41
  agent: { typeOf: client.factory.personType.Person, name: 'サンプル決済者名称', id: 'id' },
42
- recipient: { typeOf: seller.typeOf, id: seller.id },
42
+ recipient: { typeOf: seller.typeOf, id: String(seller.id) },
43
43
  object: {
44
44
  typeOf: client.factory.service.paymentService.PaymentServiceType.MovieTicket,
45
45
  id: '',
@@ -40,7 +40,7 @@ async function main() {
40
40
  typeOf: client.factory.assetTransactionType.Pay,
41
41
  transactionNumber: transactionNumber,
42
42
  agent: { typeOf: client.factory.personType.Person, name: 'サンプル決済者名称', id: 'id' },
43
- recipient: { typeOf: seller.typeOf, id: seller.id },
43
+ recipient: { typeOf: seller.typeOf, id: String(seller.id) },
44
44
  object: {
45
45
  typeOf: client.factory.service.paymentService.PaymentServiceType.MovieTicket,
46
46
  id: '',
@@ -39,7 +39,7 @@ async function main() {
39
39
  typeOf: client.factory.assetTransactionType.Pay,
40
40
  transactionNumber: transactionNumber,
41
41
  agent: { typeOf: client.factory.personType.Person, name: 'サンプル決済者名称', id: 'id' },
42
- recipient: { typeOf: seller.typeOf, id: seller.id },
42
+ recipient: { typeOf: seller.typeOf, id: String(seller.id) },
43
43
  object: {
44
44
  typeOf: client.factory.service.paymentService.PaymentServiceType.CreditCard,
45
45
  id: '',
@@ -67,7 +67,7 @@ async function main() {
67
67
  await payService.invalidatePaymentUrl({
68
68
  project: { id: project.id, typeOf: client.factory.organizationType.Project },
69
69
  typeOf: client.factory.actionType.RefundAction,
70
- agent: { typeOf: seller.typeOf, id: seller.id },
70
+ agent: { typeOf: seller.typeOf, id: String(seller.id) },
71
71
  recipient: { typeOf: client.factory.personType.Person, name: 'サンプル決済者名称', id: 'xxx' },
72
72
  object: [{
73
73
  typeOf: client.factory.service.paymentService.PaymentServiceType.CreditCard,
@@ -92,7 +92,7 @@ async function main() {
92
92
  toLocation: toLocation,
93
93
  object: { pendingTransaction: { typeOf: client.factory.assetTransactionType.MoneyTransfer, transactionNumber: '' } }
94
94
  },
95
- seller: { typeOf: seller.typeOf, id: seller.id }
95
+ seller: { typeOf: seller.typeOf, id: String(seller.id) }
96
96
  },
97
97
  purpose: { typeOf: transaction.typeOf, id: transaction.id }
98
98
  });
@@ -100,7 +100,7 @@ async function main() {
100
100
  toLocation: toLocation,
101
101
  object: { pendingTransaction: { typeOf: client.factory.assetTransactionType.MoneyTransfer, transactionNumber: '' } }
102
102
  },
103
- seller: { typeOf: seller.typeOf, id: seller.id }
103
+ seller: { typeOf: seller.typeOf, id: String(seller.id) }
104
104
  },
105
105
  purpose: { typeOf: transaction.typeOf, id: transaction.id }
106
106
  });
package/lib/bundle.js CHANGED
@@ -3052,9 +3052,19 @@ exports.OrganizationType = void 0;
3052
3052
  */
3053
3053
  var OrganizationType;
3054
3054
  (function (OrganizationType) {
3055
+ /**
3056
+ * 販売組織
3057
+ */
3055
3058
  OrganizationType["Corporation"] = "Corporation";
3056
- OrganizationType["MovieTheater"] = "MovieTheater";
3059
+ // 不要なので廃止(2022-05-30~)
3060
+ // MovieTheater = 'MovieTheater',
3061
+ /**
3062
+ * 顧客組織
3063
+ */
3057
3064
  OrganizationType["Organization"] = "Organization";
3065
+ /**
3066
+ * プロジェクト
3067
+ */
3058
3068
  OrganizationType["Project"] = "Project";
3059
3069
  })(OrganizationType = exports.OrganizationType || (exports.OrganizationType = {}));
3060
3070
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cinerino/sdk",
3
- "version": "3.88.0",
3
+ "version": "3.89.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.88.0",
100
+ "@cinerino/api-abstract-client": "3.89.0",
101
101
  "debug": "^3.2.6",
102
102
  "http-status": "^1.4.2",
103
103
  "idtoken-verifier": "^2.0.3",