@talkplay/shared-types 1.0.4 → 1.0.6

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
@@ -120,12 +120,14 @@ declare const LegalTermTypesEnum: {
120
120
  readonly PLATFORM_USE: "PLATFORM_USE";
121
121
  readonly COOKIES_POLICY: "COOKIES_POLICY";
122
122
  readonly PRIVACY_POLICY: "PRIVACY_POLICY";
123
+ readonly CANCELLATION_POLICY: "CANCELLATION_POLICY";
123
124
  };
124
125
  type LegalTermTypesEnum = Enum<typeof LegalTermTypesEnum>;
125
126
  declare const LegalTermTypesTranslationsEnum: {
126
127
  readonly PLATFORM_USE: "Termos de Uso";
127
128
  readonly COOKIES_POLICY: "Política de Cookies";
128
129
  readonly PRIVACY_POLICY: "Política de Privacidade";
130
+ readonly CANCELLATION_POLICY: "Política de Cancelamento e Reembolso";
129
131
  };
130
132
  type LegalTermTypesTranslationsEnum = Enum<typeof LegalTermTypesTranslationsEnum>;
131
133
 
@@ -572,7 +574,10 @@ type CreateLegalTermPayload = {
572
574
  type CreateLegalTermAgreementPayload = {
573
575
  ipAddress: string;
574
576
  userAgent: string;
575
- termId: string;
577
+ terms: {
578
+ platformUseTermId: string;
579
+ cancellationTermId: string;
580
+ };
576
581
  };
577
582
  type CreateLegalTermResponse = LegalTermEntity;
578
583
 
package/dist/index.d.ts CHANGED
@@ -120,12 +120,14 @@ declare const LegalTermTypesEnum: {
120
120
  readonly PLATFORM_USE: "PLATFORM_USE";
121
121
  readonly COOKIES_POLICY: "COOKIES_POLICY";
122
122
  readonly PRIVACY_POLICY: "PRIVACY_POLICY";
123
+ readonly CANCELLATION_POLICY: "CANCELLATION_POLICY";
123
124
  };
124
125
  type LegalTermTypesEnum = Enum<typeof LegalTermTypesEnum>;
125
126
  declare const LegalTermTypesTranslationsEnum: {
126
127
  readonly PLATFORM_USE: "Termos de Uso";
127
128
  readonly COOKIES_POLICY: "Política de Cookies";
128
129
  readonly PRIVACY_POLICY: "Política de Privacidade";
130
+ readonly CANCELLATION_POLICY: "Política de Cancelamento e Reembolso";
129
131
  };
130
132
  type LegalTermTypesTranslationsEnum = Enum<typeof LegalTermTypesTranslationsEnum>;
131
133
 
@@ -572,7 +574,10 @@ type CreateLegalTermPayload = {
572
574
  type CreateLegalTermAgreementPayload = {
573
575
  ipAddress: string;
574
576
  userAgent: string;
575
- termId: string;
577
+ terms: {
578
+ platformUseTermId: string;
579
+ cancellationTermId: string;
580
+ };
576
581
  };
577
582
  type CreateLegalTermResponse = LegalTermEntity;
578
583
 
package/dist/index.js CHANGED
@@ -164,12 +164,14 @@ var ProgramScriptElementTypesEnum = {
164
164
  var LegalTermTypesEnum = {
165
165
  PLATFORM_USE: "PLATFORM_USE",
166
166
  COOKIES_POLICY: "COOKIES_POLICY",
167
- PRIVACY_POLICY: "PRIVACY_POLICY"
167
+ PRIVACY_POLICY: "PRIVACY_POLICY",
168
+ CANCELLATION_POLICY: "CANCELLATION_POLICY"
168
169
  };
169
170
  var LegalTermTypesTranslationsEnum = {
170
171
  PLATFORM_USE: "Termos de Uso",
171
172
  COOKIES_POLICY: "Pol\xEDtica de Cookies",
172
- PRIVACY_POLICY: "Pol\xEDtica de Privacidade"
173
+ PRIVACY_POLICY: "Pol\xEDtica de Privacidade",
174
+ CANCELLATION_POLICY: "Pol\xEDtica de Cancelamento e Reembolso"
173
175
  };
174
176
 
175
177
  // src/enums/media/audio-bitrates.enum.ts
package/dist/index.mjs CHANGED
@@ -117,12 +117,14 @@ var ProgramScriptElementTypesEnum = {
117
117
  var LegalTermTypesEnum = {
118
118
  PLATFORM_USE: "PLATFORM_USE",
119
119
  COOKIES_POLICY: "COOKIES_POLICY",
120
- PRIVACY_POLICY: "PRIVACY_POLICY"
120
+ PRIVACY_POLICY: "PRIVACY_POLICY",
121
+ CANCELLATION_POLICY: "CANCELLATION_POLICY"
121
122
  };
122
123
  var LegalTermTypesTranslationsEnum = {
123
124
  PLATFORM_USE: "Termos de Uso",
124
125
  COOKIES_POLICY: "Pol\xEDtica de Cookies",
125
- PRIVACY_POLICY: "Pol\xEDtica de Privacidade"
126
+ PRIVACY_POLICY: "Pol\xEDtica de Privacidade",
127
+ CANCELLATION_POLICY: "Pol\xEDtica de Cancelamento e Reembolso"
126
128
  };
127
129
 
128
130
  // src/enums/media/audio-bitrates.enum.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talkplay/shared-types",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",