@readyfor/api-client-readyfor 1.163.0 → 1.164.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/dist/components.d.ts +4 -4
- package/dist/components.js +2 -2
- package/dist/components.mjs +2 -2
- package/dist/schemaType.d.ts +28 -15
- package/package.json +3 -3
package/dist/components.d.ts
CHANGED
|
@@ -2140,8 +2140,8 @@ export declare const PostEngagementSettingsPasswordUnprocessableEntityErrors: z.
|
|
|
2140
2140
|
}, z.core.$strip>;
|
|
2141
2141
|
export declare const PatchEngagementSettingsEmailNotificationsRequest_PerFundraisingUserConfig: z.ZodObject<{
|
|
2142
2142
|
id: z.ZodNumber;
|
|
2143
|
-
receiveAnnouncementNotification: z.
|
|
2144
|
-
receiveMessageNotification: z.
|
|
2143
|
+
receiveAnnouncementNotification: z.ZodBoolean;
|
|
2144
|
+
receiveMessageNotification: z.ZodBoolean;
|
|
2145
2145
|
}, z.core.$strip>;
|
|
2146
2146
|
export declare const Engagement_Settings_EmailNotifications_PerFundraisingUserConfig: z.ZodObject<{
|
|
2147
2147
|
id: z.ZodNumber;
|
|
@@ -4683,8 +4683,8 @@ export declare const PatchEngagementSettingsEmailNotificationsRequest: z.ZodObje
|
|
|
4683
4683
|
receiveProjectWatchListNotification: z.ZodBoolean;
|
|
4684
4684
|
perFundraisingUserConfigs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4685
4685
|
id: z.ZodNumber;
|
|
4686
|
-
receiveAnnouncementNotification: z.
|
|
4687
|
-
receiveMessageNotification: z.
|
|
4686
|
+
receiveAnnouncementNotification: z.ZodBoolean;
|
|
4687
|
+
receiveMessageNotification: z.ZodBoolean;
|
|
4688
4688
|
}, z.core.$strip>>>;
|
|
4689
4689
|
}, z.core.$strip>;
|
|
4690
4690
|
export declare const Engagement_Settings_EmailNotificationsForbidden: z.ZodObject<{
|
package/dist/components.js
CHANGED
|
@@ -1621,8 +1621,8 @@ const PostEngagementSettingsPasswordUnprocessableEntityErrors = zod.z.object({
|
|
|
1621
1621
|
});
|
|
1622
1622
|
const PatchEngagementSettingsEmailNotificationsRequest_PerFundraisingUserConfig = zod.z.object({
|
|
1623
1623
|
id: zod.z.number(),
|
|
1624
|
-
receiveAnnouncementNotification: zod.z.
|
|
1625
|
-
receiveMessageNotification: zod.z.
|
|
1624
|
+
receiveAnnouncementNotification: zod.z.boolean(),
|
|
1625
|
+
receiveMessageNotification: zod.z.boolean()
|
|
1626
1626
|
});
|
|
1627
1627
|
const Engagement_Settings_EmailNotifications_PerFundraisingUserConfig = zod.z.object({
|
|
1628
1628
|
id: zod.z.number(),
|
package/dist/components.mjs
CHANGED
|
@@ -1620,8 +1620,8 @@ const PostEngagementSettingsPasswordUnprocessableEntityErrors = z.object({
|
|
|
1620
1620
|
});
|
|
1621
1621
|
const PatchEngagementSettingsEmailNotificationsRequest_PerFundraisingUserConfig = z.object({
|
|
1622
1622
|
id: z.number(),
|
|
1623
|
-
receiveAnnouncementNotification: z.
|
|
1624
|
-
receiveMessageNotification: z.
|
|
1623
|
+
receiveAnnouncementNotification: z.boolean(),
|
|
1624
|
+
receiveMessageNotification: z.boolean()
|
|
1625
1625
|
});
|
|
1626
1626
|
const Engagement_Settings_EmailNotifications_PerFundraisingUserConfig = z.object({
|
|
1627
1627
|
id: z.number(),
|
package/dist/schemaType.d.ts
CHANGED
|
@@ -4194,10 +4194,11 @@ export interface paths {
|
|
|
4194
4194
|
* @description メール通知設定を更新する。レスポンスは更新後の設定全体を返すため、
|
|
4195
4195
|
* 保存後に取得し直す必要はない。
|
|
4196
4196
|
*
|
|
4197
|
-
*
|
|
4198
|
-
*
|
|
4199
|
-
*
|
|
4200
|
-
*
|
|
4197
|
+
* 4 つのトグルは全て必須で、送った値でそのまま置き換える。
|
|
4198
|
+
* perFundraisingUserConfigs の各要素も全ての項目が必須で、
|
|
4199
|
+
* 送った実行者の設定を送った値でそのまま置き換える。
|
|
4200
|
+
* 送らなかった実行者の設定は変わらない。
|
|
4201
|
+
* 項目を省いて現在値のまま残すことはできない。
|
|
4201
4202
|
*
|
|
4202
4203
|
* receiveNotification が false のときは、他のフィールドの指定内容によらず
|
|
4203
4204
|
* 4 つのトグルと全ての perFundraisingUserConfigs が false になる。
|
|
@@ -12552,9 +12553,9 @@ export interface components {
|
|
|
12552
12553
|
};
|
|
12553
12554
|
/**
|
|
12554
12555
|
* PatchEngagementSettingsEmailNotificationsRequest
|
|
12555
|
-
* @description 4
|
|
12556
|
-
*
|
|
12557
|
-
*
|
|
12556
|
+
* @description 4 つのトグルは常に全て送り、送った値でそのまま置き換える。
|
|
12557
|
+
* perFundraisingUserConfigs は送った実行者の設定だけを置き換え、
|
|
12558
|
+
* 送らなかった実行者の設定は変わらない。
|
|
12558
12559
|
*
|
|
12559
12560
|
* @example {
|
|
12560
12561
|
* "receiveFavoriteTagNotification": true,
|
|
@@ -12595,11 +12596,12 @@ export interface components {
|
|
|
12595
12596
|
receiveEmailMagazine: boolean;
|
|
12596
12597
|
receiveFavoriteTagNotification: boolean;
|
|
12597
12598
|
receiveProjectWatchListNotification: boolean;
|
|
12598
|
-
/** @description
|
|
12599
|
+
/** @description 更新する実行者ごとの設定。送らなかった実行者の設定は変わらない */
|
|
12599
12600
|
perFundraisingUserConfigs?: components["schemas"]["PatchEngagementSettingsEmailNotificationsRequest_PerFundraisingUserConfig"][];
|
|
12600
12601
|
};
|
|
12601
12602
|
/**
|
|
12602
12603
|
* PatchEngagementSettingsEmailNotificationsRequest_PerFundraisingUserConfig
|
|
12604
|
+
* @description 実行者 1 人ぶんの通知設定。全ての項目を送り、送った値でそのまま置き換える
|
|
12603
12605
|
* @example {
|
|
12604
12606
|
* "receiveMessageNotification": true,
|
|
12605
12607
|
* "id": 1,
|
|
@@ -12612,8 +12614,8 @@ export interface components {
|
|
|
12612
12614
|
* @description 取得時に返した設定レコードの ID
|
|
12613
12615
|
*/
|
|
12614
12616
|
id: number;
|
|
12615
|
-
receiveAnnouncementNotification
|
|
12616
|
-
receiveMessageNotification
|
|
12617
|
+
receiveAnnouncementNotification: boolean;
|
|
12618
|
+
receiveMessageNotification: boolean;
|
|
12617
12619
|
};
|
|
12618
12620
|
/**
|
|
12619
12621
|
* PostEngagementSettingsPasswordUnprocessableEntity
|
|
@@ -24890,10 +24892,11 @@ export interface operations {
|
|
|
24890
24892
|
* @description メール通知設定を更新する。レスポンスは更新後の設定全体を返すため、
|
|
24891
24893
|
* 保存後に取得し直す必要はない。
|
|
24892
24894
|
*
|
|
24893
|
-
*
|
|
24894
|
-
*
|
|
24895
|
-
*
|
|
24896
|
-
*
|
|
24895
|
+
* 4 つのトグルは全て必須で、送った値でそのまま置き換える。
|
|
24896
|
+
* perFundraisingUserConfigs の各要素も全ての項目が必須で、
|
|
24897
|
+
* 送った実行者の設定を送った値でそのまま置き換える。
|
|
24898
|
+
* 送らなかった実行者の設定は変わらない。
|
|
24899
|
+
* 項目を省いて現在値のまま残すことはできない。
|
|
24897
24900
|
*
|
|
24898
24901
|
* receiveNotification が false のときは、他のフィールドの指定内容によらず
|
|
24899
24902
|
* 4 つのトグルと全ての perFundraisingUserConfigs が false になる。
|
|
@@ -24910,7 +24913,8 @@ export interface operations {
|
|
|
24910
24913
|
* "perFundraisingUserConfigs": [
|
|
24911
24914
|
* {
|
|
24912
24915
|
* "id": 12,
|
|
24913
|
-
* "receiveAnnouncementNotification": false
|
|
24916
|
+
* "receiveAnnouncementNotification": false,
|
|
24917
|
+
* "receiveMessageNotification": false
|
|
24914
24918
|
* }
|
|
24915
24919
|
* ]
|
|
24916
24920
|
* }
|
|
@@ -24925,6 +24929,15 @@ export interface operations {
|
|
|
24925
24929
|
"application/json": components["schemas"]["Engagement_Settings_EmailNotifications"];
|
|
24926
24930
|
};
|
|
24927
24931
|
};
|
|
24932
|
+
/**
|
|
24933
|
+
* @description 4 つのトグルのどれか、または perFundraisingUserConfigs の要素の項目が
|
|
24934
|
+
* 欠けている場合に返す。更新は行わない。
|
|
24935
|
+
*/
|
|
24936
|
+
400: {
|
|
24937
|
+
content: {
|
|
24938
|
+
"application/json": components["schemas"]["HttpErrorBadRequest"];
|
|
24939
|
+
};
|
|
24940
|
+
};
|
|
24928
24941
|
/**
|
|
24929
24942
|
* @description cookie セッションが無く、かつ subscriptionToken でも持ち主を特定できない場合に返す。
|
|
24930
24943
|
* 無効・期限切れの token を指定した場合を含む。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@readyfor/api-client-readyfor",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.164.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"swr": "2.5.1",
|
|
37
37
|
"use-sync-external-store": "1.7.0",
|
|
38
38
|
"zod": "^4.3.6",
|
|
39
|
-
"@readyfor/api-client-base": "1.
|
|
39
|
+
"@readyfor/api-client-base": "1.164.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"qs": "^6",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"swr": "^2.3.3",
|
|
45
45
|
"use-sync-external-store": "^1.2.2",
|
|
46
46
|
"zod": "^4",
|
|
47
|
-
"@readyfor/api-client-base": "1.
|
|
47
|
+
"@readyfor/api-client-base": "1.164.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependenciesMeta": {
|
|
50
50
|
"react": {
|