@purpleschool/gptbot-tools 0.4.17-stage-2 → 0.4.17

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.
@@ -46,6 +46,8 @@ export declare namespace GetImageEditorModelByUuidCommand {
46
46
  pricingRules: {
47
47
  condition: {
48
48
  withoutSub?: boolean | undefined;
49
+ resolution?: string | undefined;
50
+ perAttachedImage?: boolean | undefined;
49
51
  };
50
52
  value: number;
51
53
  }[];
@@ -90,6 +92,8 @@ export declare namespace GetImageEditorModelByUuidCommand {
90
92
  pricingRules: {
91
93
  condition: {
92
94
  withoutSub?: boolean | undefined;
95
+ resolution?: string | undefined;
96
+ perAttachedImage?: boolean | undefined;
93
97
  };
94
98
  value: number;
95
99
  }[];
@@ -101,6 +101,8 @@ export declare const ImageEditorConfigSchema: z.ZodObject<{
101
101
  pricingRules: z.ZodArray<z.ZodObject<{
102
102
  condition: z.ZodObject<{
103
103
  withoutSub: z.ZodOptional<z.ZodBoolean>;
104
+ resolution: z.ZodOptional<z.ZodString>;
105
+ perAttachedImage: z.ZodOptional<z.ZodBoolean>;
104
106
  }, z.core.$strip>;
105
107
  value: z.ZodNumber;
106
108
  }, z.core.$strip>>;
@@ -18,11 +18,15 @@ export declare const ImageEditorModelParamsSchema: z.ZodObject<{
18
18
  export type ImageEditorModelParams = z.infer<typeof ImageEditorModelParamsSchema>;
19
19
  export declare const ImageEditorModelPricingRuleConditionSchema: z.ZodObject<{
20
20
  withoutSub: z.ZodOptional<z.ZodBoolean>;
21
+ resolution: z.ZodOptional<z.ZodString>;
22
+ perAttachedImage: z.ZodOptional<z.ZodBoolean>;
21
23
  }, z.core.$strip>;
22
24
  export type ImageEditorModelPricingRuleCondition = z.infer<typeof ImageEditorModelPricingRuleConditionSchema>;
23
25
  export declare const ImageEditorModelPricingRulesSchema: z.ZodArray<z.ZodObject<{
24
26
  condition: z.ZodObject<{
25
27
  withoutSub: z.ZodOptional<z.ZodBoolean>;
28
+ resolution: z.ZodOptional<z.ZodString>;
29
+ perAttachedImage: z.ZodOptional<z.ZodBoolean>;
26
30
  }, z.core.$strip>;
27
31
  value: z.ZodNumber;
28
32
  }, z.core.$strip>>;
@@ -66,6 +70,8 @@ export declare const ImageEditorModelSchema: z.ZodObject<{
66
70
  pricingRules: z.ZodArray<z.ZodObject<{
67
71
  condition: z.ZodObject<{
68
72
  withoutSub: z.ZodOptional<z.ZodBoolean>;
73
+ resolution: z.ZodOptional<z.ZodString>;
74
+ perAttachedImage: z.ZodOptional<z.ZodBoolean>;
69
75
  }, z.core.$strip>;
70
76
  value: z.ZodNumber;
71
77
  }, z.core.$strip>>;
@@ -22,6 +22,8 @@ exports.ImageEditorModelParamsSchema = zod_1.z.object({
22
22
  });
23
23
  exports.ImageEditorModelPricingRuleConditionSchema = zod_1.z.object({
24
24
  withoutSub: zod_1.z.boolean().optional(),
25
+ resolution: zod_1.z.string().optional(),
26
+ perAttachedImage: zod_1.z.boolean().optional(),
25
27
  });
26
28
  exports.ImageEditorModelPricingRulesSchema = zod_1.z.array(zod_1.z.object({
27
29
  condition: exports.ImageEditorModelPricingRuleConditionSchema,
@@ -46,6 +46,8 @@ export declare namespace GetImageEditorConfigQuery {
46
46
  pricingRules: {
47
47
  condition: {
48
48
  withoutSub?: boolean | undefined;
49
+ resolution?: string | undefined;
50
+ perAttachedImage?: boolean | undefined;
49
51
  };
50
52
  value: number;
51
53
  }[];
@@ -127,6 +129,8 @@ export declare namespace GetImageEditorConfigQuery {
127
129
  pricingRules: {
128
130
  condition: {
129
131
  withoutSub?: boolean | undefined;
132
+ resolution?: string | undefined;
133
+ perAttachedImage?: boolean | undefined;
130
134
  };
131
135
  value: number;
132
136
  }[];
@@ -255,6 +255,8 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
255
255
  pricingRules: z.ZodArray<z.ZodObject<{
256
256
  condition: z.ZodObject<{
257
257
  withoutSub: z.ZodOptional<z.ZodBoolean>;
258
+ resolution: z.ZodOptional<z.ZodString>;
259
+ perAttachedImage: z.ZodOptional<z.ZodBoolean>;
258
260
  }, z.core.$strip>;
259
261
  value: z.ZodNumber;
260
262
  }, z.core.$strip>>;
@@ -457,6 +457,8 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
457
457
  pricingRules: z.ZodArray<z.ZodObject<{
458
458
  condition: z.ZodObject<{
459
459
  withoutSub: z.ZodOptional<z.ZodBoolean>;
460
+ resolution: z.ZodOptional<z.ZodString>;
461
+ perAttachedImage: z.ZodOptional<z.ZodBoolean>;
460
462
  }, z.core.$strip>;
461
463
  value: z.ZodNumber;
462
464
  }, z.core.$strip>>;
@@ -1971,6 +1973,8 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
1971
1973
  pricingRules: z.ZodArray<z.ZodObject<{
1972
1974
  condition: z.ZodObject<{
1973
1975
  withoutSub: z.ZodOptional<z.ZodBoolean>;
1976
+ resolution: z.ZodOptional<z.ZodString>;
1977
+ perAttachedImage: z.ZodOptional<z.ZodBoolean>;
1974
1978
  }, z.core.$strip>;
1975
1979
  value: z.ZodNumber;
1976
1980
  }, z.core.$strip>>;
@@ -262,6 +262,8 @@ export declare namespace GetGlobalToolsConfigQuery {
262
262
  pricingRules: {
263
263
  condition: {
264
264
  withoutSub?: boolean | undefined;
265
+ resolution?: string | undefined;
266
+ perAttachedImage?: boolean | undefined;
265
267
  };
266
268
  value: number;
267
269
  }[];
@@ -1586,6 +1588,8 @@ export declare namespace GetGlobalToolsConfigQuery {
1586
1588
  pricingRules: {
1587
1589
  condition: {
1588
1590
  withoutSub?: boolean | undefined;
1591
+ resolution?: string | undefined;
1592
+ perAttachedImage?: boolean | undefined;
1589
1593
  };
1590
1594
  value: number;
1591
1595
  }[];
@@ -449,6 +449,8 @@ export declare namespace GetToolsWithConfigsQuery {
449
449
  pricingRules: {
450
450
  condition: {
451
451
  withoutSub?: boolean | undefined;
452
+ resolution?: string | undefined;
453
+ perAttachedImage?: boolean | undefined;
452
454
  };
453
455
  value: number;
454
456
  }[];
@@ -1947,6 +1949,8 @@ export declare namespace GetToolsWithConfigsQuery {
1947
1949
  pricingRules: {
1948
1950
  condition: {
1949
1951
  withoutSub?: boolean | undefined;
1952
+ resolution?: string | undefined;
1953
+ perAttachedImage?: boolean | undefined;
1950
1954
  };
1951
1955
  value: number;
1952
1956
  }[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot-tools",
3
- "version": "0.4.17-stage-2",
3
+ "version": "0.4.17",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "files": [