@shisyamo4131/air-guard-v2-schemas 2.3.7-dev.7 → 2.3.7-dev.9
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/package.json +1 -1
- package/src/Company.js +20 -1
package/package.json
CHANGED
package/src/Company.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Company Model
|
|
3
|
-
* @version 1.
|
|
3
|
+
* @version 1.3.0
|
|
4
4
|
* @author shisyamo4131
|
|
5
|
+
* @update 2025-12-01 Add Stripe integration fields (stripeCustomerId, subscription).
|
|
5
6
|
* @update 2025-11-27 Add bank information fields for billing.
|
|
6
7
|
* @update 2025-11-23 Set `usePrefix` to false.
|
|
7
8
|
*/
|
|
@@ -92,6 +93,24 @@ const classProps = {
|
|
|
92
93
|
},
|
|
93
94
|
},
|
|
94
95
|
}),
|
|
96
|
+
|
|
97
|
+
/** Stripe連携フィールド */
|
|
98
|
+
stripeCustomerId: defField("oneLine", {
|
|
99
|
+
label: "Stripe顧客ID",
|
|
100
|
+
hidden: true,
|
|
101
|
+
length: 100,
|
|
102
|
+
}),
|
|
103
|
+
|
|
104
|
+
subscription: defField("object", {
|
|
105
|
+
label: "サブスクリプション情報",
|
|
106
|
+
hidden: true,
|
|
107
|
+
default: () => ({
|
|
108
|
+
id: null,
|
|
109
|
+
status: null,
|
|
110
|
+
currentPeriodEnd: null,
|
|
111
|
+
employeeLimit: 10,
|
|
112
|
+
}),
|
|
113
|
+
}),
|
|
95
114
|
};
|
|
96
115
|
|
|
97
116
|
export default class Company extends FireModel {
|