@purpleschool/gptbot 0.20.22 → 0.20.23

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.
@@ -3,6 +3,7 @@ import { z } from 'zod';
3
3
  export declare namespace FindPagesByCriteriaCommand {
4
4
  const RequestSchema: z.ZodObject<{
5
5
  title: z.ZodOptional<z.ZodString>;
6
+ alias: z.ZodOptional<z.ZodString>;
6
7
  type: z.ZodOptional<z.ZodEnum<typeof PageType>>;
7
8
  toolId: z.ZodOptional<z.ZodUUID>;
8
9
  toolModelId: z.ZodOptional<z.ZodUUID>;
@@ -8,6 +8,7 @@ var FindPagesByCriteriaCommand;
8
8
  (function (FindPagesByCriteriaCommand) {
9
9
  FindPagesByCriteriaCommand.RequestSchema = zod_1.z.object({
10
10
  title: zod_1.z.string().optional(),
11
+ alias: zod_1.z.string().optional(),
11
12
  type: zod_1.z.enum(constants_1.PageType).optional(),
12
13
  toolId: zod_1.z.uuid().optional(),
13
14
  toolModelId: zod_1.z.uuid().optional(),
@@ -5,18 +5,24 @@ export declare const PAYMENT_INCIDENT_ADMIN_ROUTES: {
5
5
  readonly providerCheck: (id: string) => string;
6
6
  };
7
7
  export declare const PaymentIncidentStageSchema: z.ZodEnum<{
8
+ cancelled_existing: "cancelled_existing";
8
9
  cancelling_new: "cancelling_new";
9
10
  cancelling_old: "cancelling_old";
10
11
  creating_new: "creating_new";
11
12
  failed: "failed";
12
13
  finalizing: "finalizing";
14
+ finalizing_existing: "finalizing_existing";
13
15
  manual_review: "manual_review";
14
16
  prepared: "prepared";
17
+ reading_existing: "reading_existing";
15
18
  reconciling: "reconciling";
19
+ restoring_existing: "restoring_existing";
16
20
  succeeded: "succeeded";
21
+ updating_existing: "updating_existing";
17
22
  }>;
18
23
  export declare const PaymentIncidentReasonSchema: z.ZodEnum<{
19
24
  compensation_after_start: "compensation_after_start";
25
+ existing_schedule_changed: "existing_schedule_changed";
20
26
  multiple_exact_matches: "multiple_exact_matches";
21
27
  no_exact_match: "no_exact_match";
22
28
  }>;
@@ -30,15 +36,20 @@ export declare const PaymentIncidentListQuerySchema: z.ZodObject<{
30
36
  operationId: z.ZodOptional<z.ZodUUID>;
31
37
  userId: z.ZodOptional<z.ZodUUID>;
32
38
  stage: z.ZodOptional<z.ZodEnum<{
39
+ cancelled_existing: "cancelled_existing";
33
40
  cancelling_new: "cancelling_new";
34
41
  cancelling_old: "cancelling_old";
35
42
  creating_new: "creating_new";
36
43
  failed: "failed";
37
44
  finalizing: "finalizing";
45
+ finalizing_existing: "finalizing_existing";
38
46
  manual_review: "manual_review";
39
47
  prepared: "prepared";
48
+ reading_existing: "reading_existing";
40
49
  reconciling: "reconciling";
50
+ restoring_existing: "restoring_existing";
41
51
  succeeded: "succeeded";
52
+ updating_existing: "updating_existing";
42
53
  }>>;
43
54
  status: z.ZodOptional<z.ZodEnum<{
44
55
  failed: "failed";
@@ -64,15 +75,20 @@ export declare const PaymentIncidentSummarySchema: z.ZodObject<{
64
75
  succeeded: "succeeded";
65
76
  }>;
66
77
  stage: z.ZodEnum<{
78
+ cancelled_existing: "cancelled_existing";
67
79
  cancelling_new: "cancelling_new";
68
80
  cancelling_old: "cancelling_old";
69
81
  creating_new: "creating_new";
70
82
  failed: "failed";
71
83
  finalizing: "finalizing";
84
+ finalizing_existing: "finalizing_existing";
72
85
  manual_review: "manual_review";
73
86
  prepared: "prepared";
87
+ reading_existing: "reading_existing";
74
88
  reconciling: "reconciling";
89
+ restoring_existing: "restoring_existing";
75
90
  succeeded: "succeeded";
91
+ updating_existing: "updating_existing";
76
92
  }>;
77
93
  amount: z.ZodNullable<z.ZodNumber>;
78
94
  currency: z.ZodNullable<z.ZodString>;
@@ -84,6 +100,7 @@ export declare const PaymentIncidentSummarySchema: z.ZodObject<{
84
100
  blocked: z.ZodBoolean;
85
101
  manualReviewReason: z.ZodNullable<z.ZodEnum<{
86
102
  compensation_after_start: "compensation_after_start";
103
+ existing_schedule_changed: "existing_schedule_changed";
87
104
  multiple_exact_matches: "multiple_exact_matches";
88
105
  no_exact_match: "no_exact_match";
89
106
  }>>;
@@ -105,15 +122,20 @@ export declare const PaymentIncidentListResponseSchema: z.ZodObject<{
105
122
  succeeded: "succeeded";
106
123
  }>;
107
124
  stage: z.ZodEnum<{
125
+ cancelled_existing: "cancelled_existing";
108
126
  cancelling_new: "cancelling_new";
109
127
  cancelling_old: "cancelling_old";
110
128
  creating_new: "creating_new";
111
129
  failed: "failed";
112
130
  finalizing: "finalizing";
131
+ finalizing_existing: "finalizing_existing";
113
132
  manual_review: "manual_review";
114
133
  prepared: "prepared";
134
+ reading_existing: "reading_existing";
115
135
  reconciling: "reconciling";
136
+ restoring_existing: "restoring_existing";
116
137
  succeeded: "succeeded";
138
+ updating_existing: "updating_existing";
117
139
  }>;
118
140
  amount: z.ZodNullable<z.ZodNumber>;
119
141
  currency: z.ZodNullable<z.ZodString>;
@@ -125,6 +147,7 @@ export declare const PaymentIncidentListResponseSchema: z.ZodObject<{
125
147
  blocked: z.ZodBoolean;
126
148
  manualReviewReason: z.ZodNullable<z.ZodEnum<{
127
149
  compensation_after_start: "compensation_after_start";
150
+ existing_schedule_changed: "existing_schedule_changed";
128
151
  multiple_exact_matches: "multiple_exact_matches";
129
152
  no_exact_match: "no_exact_match";
130
153
  }>>;
@@ -149,15 +172,20 @@ export declare const PaymentIncidentDetailsSchema: z.ZodObject<{
149
172
  succeeded: "succeeded";
150
173
  }>;
151
174
  stage: z.ZodEnum<{
175
+ cancelled_existing: "cancelled_existing";
152
176
  cancelling_new: "cancelling_new";
153
177
  cancelling_old: "cancelling_old";
154
178
  creating_new: "creating_new";
155
179
  failed: "failed";
156
180
  finalizing: "finalizing";
181
+ finalizing_existing: "finalizing_existing";
157
182
  manual_review: "manual_review";
158
183
  prepared: "prepared";
184
+ reading_existing: "reading_existing";
159
185
  reconciling: "reconciling";
186
+ restoring_existing: "restoring_existing";
160
187
  succeeded: "succeeded";
188
+ updating_existing: "updating_existing";
161
189
  }>;
162
190
  amount: z.ZodNullable<z.ZodNumber>;
163
191
  currency: z.ZodNullable<z.ZodString>;
@@ -169,6 +197,7 @@ export declare const PaymentIncidentDetailsSchema: z.ZodObject<{
169
197
  blocked: z.ZodBoolean;
170
198
  manualReviewReason: z.ZodNullable<z.ZodEnum<{
171
199
  compensation_after_start: "compensation_after_start";
200
+ existing_schedule_changed: "existing_schedule_changed";
172
201
  multiple_exact_matches: "multiple_exact_matches";
173
202
  no_exact_match: "no_exact_match";
174
203
  }>>;
@@ -237,15 +266,20 @@ export declare const PaymentIncidentDetailsResponseSchema: z.ZodObject<{
237
266
  succeeded: "succeeded";
238
267
  }>;
239
268
  stage: z.ZodEnum<{
269
+ cancelled_existing: "cancelled_existing";
240
270
  cancelling_new: "cancelling_new";
241
271
  cancelling_old: "cancelling_old";
242
272
  creating_new: "creating_new";
243
273
  failed: "failed";
244
274
  finalizing: "finalizing";
275
+ finalizing_existing: "finalizing_existing";
245
276
  manual_review: "manual_review";
246
277
  prepared: "prepared";
278
+ reading_existing: "reading_existing";
247
279
  reconciling: "reconciling";
280
+ restoring_existing: "restoring_existing";
248
281
  succeeded: "succeeded";
282
+ updating_existing: "updating_existing";
249
283
  }>;
250
284
  amount: z.ZodNullable<z.ZodNumber>;
251
285
  currency: z.ZodNullable<z.ZodString>;
@@ -257,6 +291,7 @@ export declare const PaymentIncidentDetailsResponseSchema: z.ZodObject<{
257
291
  blocked: z.ZodBoolean;
258
292
  manualReviewReason: z.ZodNullable<z.ZodEnum<{
259
293
  compensation_after_start: "compensation_after_start";
294
+ existing_schedule_changed: "existing_schedule_changed";
260
295
  multiple_exact_matches: "multiple_exact_matches";
261
296
  no_exact_match: "no_exact_match";
262
297
  }>>;
@@ -9,6 +9,11 @@ exports.PAYMENT_INCIDENT_ADMIN_ROUTES = {
9
9
  };
10
10
  exports.PaymentIncidentStageSchema = zod_1.z.enum([
11
11
  'prepared',
12
+ 'reading_existing',
13
+ 'updating_existing',
14
+ 'finalizing_existing',
15
+ 'restoring_existing',
16
+ 'cancelled_existing',
12
17
  'cancelling_old',
13
18
  'creating_new',
14
19
  'finalizing',
@@ -19,6 +24,7 @@ exports.PaymentIncidentStageSchema = zod_1.z.enum([
19
24
  'failed',
20
25
  ]);
21
26
  exports.PaymentIncidentReasonSchema = zod_1.z.enum([
27
+ 'existing_schedule_changed',
22
28
  'no_exact_match',
23
29
  'multiple_exact_matches',
24
30
  'compensation_after_start',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.20.22",
3
+ "version": "0.20.23",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",