@talkplay/shared-types 1.0.50 → 1.0.53

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/index.d.mts CHANGED
@@ -112,6 +112,7 @@ declare const S3DirectoriesEnum: {
112
112
  type S3DirectoriesEnum = Enum<typeof S3DirectoriesEnum>;
113
113
 
114
114
  declare const ChargeTypesEnum: {
115
+ readonly PROGRAM_CREATION: "PROGRAM_CREATION";
115
116
  readonly MONTHLY_ACCESS: "MONTHLY_ACCESS";
116
117
  readonly PENALTY: "PENALTY";
117
118
  };
@@ -1155,13 +1156,13 @@ type UpsertSystemModulePayload = {
1155
1156
  };
1156
1157
  type UpsertSystemModuleResponse = SystemModuleEntity;
1157
1158
 
1158
- type ListProgramsParams = {
1159
+ type ListProgramsParams = PaginationParams & {
1159
1160
  radioId?: string;
1160
1161
  name?: string;
1161
1162
  castersIds?: string[];
1162
1163
  };
1163
1164
 
1164
- type UpsertProgramPayload = Required<Omit<ProgramEntity, "radio" | "casters"> & {
1165
+ type UpsertProgramPayload = Required<Omit<ProgramEntity, keyof BaseEntity | "radio" | "casters"> & {
1165
1166
  castersIds: string[];
1166
1167
  }>;
1167
1168
 
package/dist/index.d.ts CHANGED
@@ -112,6 +112,7 @@ declare const S3DirectoriesEnum: {
112
112
  type S3DirectoriesEnum = Enum<typeof S3DirectoriesEnum>;
113
113
 
114
114
  declare const ChargeTypesEnum: {
115
+ readonly PROGRAM_CREATION: "PROGRAM_CREATION";
115
116
  readonly MONTHLY_ACCESS: "MONTHLY_ACCESS";
116
117
  readonly PENALTY: "PENALTY";
117
118
  };
@@ -1155,13 +1156,13 @@ type UpsertSystemModulePayload = {
1155
1156
  };
1156
1157
  type UpsertSystemModuleResponse = SystemModuleEntity;
1157
1158
 
1158
- type ListProgramsParams = {
1159
+ type ListProgramsParams = PaginationParams & {
1159
1160
  radioId?: string;
1160
1161
  name?: string;
1161
1162
  castersIds?: string[];
1162
1163
  };
1163
1164
 
1164
- type UpsertProgramPayload = Required<Omit<ProgramEntity, "radio" | "casters"> & {
1165
+ type UpsertProgramPayload = Required<Omit<ProgramEntity, keyof BaseEntity | "radio" | "casters"> & {
1165
1166
  castersIds: string[];
1166
1167
  }>;
1167
1168
 
package/dist/index.js CHANGED
@@ -95,6 +95,7 @@ var S3DirectoriesEnum = {
95
95
 
96
96
  // src/enums/billing/charge-types.enum.ts
97
97
  var ChargeTypesEnum = {
98
+ PROGRAM_CREATION: "PROGRAM_CREATION",
98
99
  MONTHLY_ACCESS: "MONTHLY_ACCESS",
99
100
  PENALTY: "PENALTY"
100
101
  };
package/dist/index.mjs CHANGED
@@ -15,6 +15,7 @@ var S3DirectoriesEnum = {
15
15
 
16
16
  // src/enums/billing/charge-types.enum.ts
17
17
  var ChargeTypesEnum = {
18
+ PROGRAM_CREATION: "PROGRAM_CREATION",
18
19
  MONTHLY_ACCESS: "MONTHLY_ACCESS",
19
20
  PENALTY: "PENALTY"
20
21
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talkplay/shared-types",
3
- "version": "1.0.50",
3
+ "version": "1.0.53",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",