@navservice/assinatura 1.44.0 → 1.46.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/build/es/index.js
CHANGED
|
@@ -19080,7 +19080,7 @@ const contexto_assinatura = new class {
|
|
|
19080
19080
|
s.loading = true;
|
|
19081
19081
|
});
|
|
19082
19082
|
const response = await src_utils.api.servidor_pricipal.post({
|
|
19083
|
-
baseURLKey: "
|
|
19083
|
+
baseURLKey: "PUBLIC_BASE_URL_SERVICE_ASSINATURA",
|
|
19084
19084
|
url: shared_types.Controller.Assinatura.Criar.route,
|
|
19085
19085
|
data: props
|
|
19086
19086
|
});
|
|
@@ -19102,7 +19102,7 @@ const contexto_assinatura = new class {
|
|
|
19102
19102
|
});
|
|
19103
19103
|
const url = shared_types.Controller.Assinatura.BuscarPeloId.route.replace(":id", props.data.assinatura.usuario_id);
|
|
19104
19104
|
const response = await src_utils.api.servidor_pricipal.get({
|
|
19105
|
-
baseURLKey: "
|
|
19105
|
+
baseURLKey: "PUBLIC_BASE_URL_SERVICE_ASSINATURA",
|
|
19106
19106
|
url: url
|
|
19107
19107
|
});
|
|
19108
19108
|
const data = response?.data?.results ?? null;
|
|
@@ -19122,7 +19122,7 @@ const contexto_assinatura = new class {
|
|
|
19122
19122
|
s.loading = true;
|
|
19123
19123
|
});
|
|
19124
19124
|
const response = await src_utils.api.servidor_pricipal.get({
|
|
19125
|
-
baseURLKey: "
|
|
19125
|
+
baseURLKey: "PUBLIC_BASE_URL_SERVICE_ASSINATURA",
|
|
19126
19126
|
url: shared_types.Controller.Assinatura.BuscarPeloFiltro.route,
|
|
19127
19127
|
params: props.filtros.assinatura
|
|
19128
19128
|
});
|
|
@@ -19145,7 +19145,7 @@ const contexto_assinatura = new class {
|
|
|
19145
19145
|
});
|
|
19146
19146
|
const url = shared_types.Controller.Assinatura.AtualizarPeloId.route.replace(":id", props.data.assinatura.usuario_id);
|
|
19147
19147
|
const response = await src_utils.api.servidor_pricipal.patch({
|
|
19148
|
-
baseURLKey: "
|
|
19148
|
+
baseURLKey: "PUBLIC_BASE_URL_SERVICE_ASSINATURA",
|
|
19149
19149
|
url,
|
|
19150
19150
|
data: props
|
|
19151
19151
|
});
|
|
@@ -19167,7 +19167,7 @@ const contexto_assinatura = new class {
|
|
|
19167
19167
|
});
|
|
19168
19168
|
const url = shared_types.Controller.Assinatura.DeletarPeloId.route.replace(":id", props.data._id);
|
|
19169
19169
|
const response = await src_utils.api.servidor_pricipal["delete"]({
|
|
19170
|
-
baseURLKey: "
|
|
19170
|
+
baseURLKey: "PUBLIC_BASE_URL_SERVICE_ASSINATURA",
|
|
19171
19171
|
url: url
|
|
19172
19172
|
});
|
|
19173
19173
|
return response?.data?.results ?? null;
|
|
@@ -19183,7 +19183,7 @@ const contexto_assinatura = new class {
|
|
|
19183
19183
|
false == s.loading && (s.loading = true);
|
|
19184
19184
|
});
|
|
19185
19185
|
const response = await src_utils.api.servidor_pricipal.get({
|
|
19186
|
-
baseURLKey: "
|
|
19186
|
+
baseURLKey: "PUBLIC_BASE_URL_SERVICE_ASSINATURA",
|
|
19187
19187
|
url: shared_types.Controller.Assinatura.BuscarProdutoStripe.route
|
|
19188
19188
|
});
|
|
19189
19189
|
const data = response?.data?.results?.data;
|
|
@@ -19221,7 +19221,7 @@ const contexto_assinatura = new class {
|
|
|
19221
19221
|
s.loading = true;
|
|
19222
19222
|
});
|
|
19223
19223
|
const response = await src_utils.api.servidor_pricipal.post({
|
|
19224
|
-
baseURLKey: "
|
|
19224
|
+
baseURLKey: "PUBLIC_BASE_URL_SERVICE_ASSINATURA",
|
|
19225
19225
|
url: shared_types.Controller.Assinatura.CriarCheckoutSession.route,
|
|
19226
19226
|
data: props
|
|
19227
19227
|
});
|
|
@@ -19242,7 +19242,7 @@ const contexto_assinatura = new class {
|
|
|
19242
19242
|
s.gerenciar.loading = true;
|
|
19243
19243
|
});
|
|
19244
19244
|
const response = await src_utils.api.servidor_pricipal.post({
|
|
19245
|
-
baseURLKey: "
|
|
19245
|
+
baseURLKey: "PUBLIC_BASE_URL_SERVICE_ASSINATURA",
|
|
19246
19246
|
url: shared_types.Controller.Assinatura.Gerenciar.route,
|
|
19247
19247
|
data: props
|
|
19248
19248
|
});
|
|
@@ -14,15 +14,16 @@ declare namespace t {
|
|
|
14
14
|
namespace Geral {
|
|
15
15
|
export import Response = TypeResponse;
|
|
16
16
|
interface Env {
|
|
17
|
-
JSON_WEB_TOKEN_AUTH_USER?: string;
|
|
18
17
|
STRIPE_PRICES_ID_SERVICE_ASSINATURA?: string;
|
|
19
18
|
STRIPE_PRICES_ID_SERVICE_USUARIO?: string;
|
|
20
19
|
STRIPE_PRICES_ID_SERVICE_PAGES_AI?: string;
|
|
21
20
|
STRIPE_SECRET_KEY?: string;
|
|
22
21
|
STRIPE_SECRET_KEY_WEBHOOKS_RESPONSE?: string;
|
|
23
|
-
PUBLIC_BASE_URL_BACKEND_ASSINATURA?: string;
|
|
24
|
-
PUBLIC_BASE_URL_FRTONEND_PRINCIPAL?: string;
|
|
25
22
|
RESEND_API_KEY?: string;
|
|
23
|
+
JSON_WEB_TOKEN_AUTH_USER?: string;
|
|
24
|
+
PUBLIC_BASE_URL_SERVICE_ASSINATURA?: string;
|
|
25
|
+
PUBLIC_GOOGLE_CLIENT_ID_AUTH0?: string;
|
|
26
|
+
PUBLIC_BASE_URL_SERVICE_USUARIO?: string;
|
|
26
27
|
CORS_ORIGIN?: string;
|
|
27
28
|
DB_SERVICE_ASSINATURA?: D1Database;
|
|
28
29
|
ASSETS?: Fetcher;
|