@codeqr/ts 0.1.2 → 0.2.1

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.
@@ -84,81 +84,80 @@ export interface BulkCreateParams {
84
84
  export namespace BulkCreateParams {
85
85
  export interface Body {
86
86
  /**
87
- * A URL de destino do link curto.
87
+ * The destination URL of the short link.
88
88
  */
89
89
  url: string;
90
90
 
91
91
  /**
92
- * A URL de destino do Android para o link curto para segmentação de dispositivos
93
- * Android.
92
+ * The Android destination URL for the short link for Android device targeting.
94
93
  */
95
94
  android?: string | null;
96
95
 
97
96
  /**
98
- * Se o link curto está arquivado.
97
+ * Whether the short link is archived.
99
98
  */
100
99
  archived?: boolean;
101
100
 
102
101
  /**
103
- * Os comentários para o link curto.
102
+ * The comments for the short link.
104
103
  */
105
104
  comments?: string | null;
106
105
 
107
106
  /**
108
- * A descrição do link curto gerada via `api.codeqr.io/metatags`. Será usada para
109
- * Visualização de link personalizado se `proxy` for verdadeiro.
107
+ * The description of the short link generated via `api.codeqr.io/metatags`. Will
108
+ * be used for custom link preview if `proxy` is true.
110
109
  */
111
110
  description?: string | null;
112
111
 
113
112
  /**
114
- * Permitir que os mecanismos de busca indexem seu link curto. O padrão é `false`
115
- * se não for fornecido. Saiba mais: https://codeqr.link/noindex
113
+ * Allow search engines to index your short link. Default is `false` if not
114
+ * provided. Learn more: https://codeqr.link/noindex
116
115
  */
117
116
  doIndex?: boolean;
118
117
 
119
118
  /**
120
- * O domínio do link curto. Se não for fornecido, o domínio principal do projeto
121
- * será usado (ou `codeqr.link` se o projeto não tiver domínios).
119
+ * The domain of the short link. If not provided, the main domain of the project
120
+ * will be used (or `codeqr.link` if the project has no domains).
122
121
  */
123
122
  domain?: string;
124
123
 
125
124
  /**
126
- * A URL para redirecionar quando o link curto expirar.
125
+ * The URL to redirect to when the short link expires.
127
126
  */
128
127
  expiredUrl?: string | null;
129
128
 
130
129
  /**
131
- * A data e hora em que o link curto expirará no formato ISO-8601. Deve estar no
132
- * futuro.
130
+ * The date and time when the short link will expire in ISO-8601 format. Must be in
131
+ * the future.
133
132
  */
134
133
  expiresAt?: string | null;
135
134
 
136
135
  /**
137
- * Este é o ID do link no seu banco de dados. Se definido, pode ser usado para
138
- * identificar o link no futuro. Deve ser prefixado com `ext_` quando passado como
139
- * um parâmetro de consulta.
136
+ * This is the ID of the link in your database. If set, it can be used to identify
137
+ * the link in the future. Must be prefixed with `ext_` when passed as a query
138
+ * parameter.
140
139
  */
141
140
  externalId?: string | null;
142
141
 
143
142
  /**
144
- * Se o link curto é flexível.
143
+ * Whether the short link is flexible.
145
144
  */
146
145
  flexible?: boolean;
147
146
 
148
147
  /**
149
- * Informações de segmentação geográfica para o link curto no formato JSON
150
- * `{[PAÍS]: https://exemplo.com }`.
148
+ * Geographic targeting information for the short link in JSON format
149
+ * `{[COUNTRY]: https://example.com }`.
151
150
  */
152
151
  geo?: Body.Geo | null;
153
152
 
154
153
  /**
155
- * A imagem do link curto gerada via `api.codeqr.io/metatags`. Será usada para
156
- * Visualização de link personalizado se `proxy` for verdadeiro.
154
+ * The image of the short link generated via `api.codeqr.io/metatags`. Will be used
155
+ * for custom link preview if `proxy` is true.
157
156
  */
158
157
  image?: string | null;
159
158
 
160
159
  /**
161
- * A URL de destino do iOS para o link curto para segmentação de dispositivos iOS.
160
+ * The iOS destination URL for the short link for iOS device targeting.
162
161
  */
163
162
  ios?: string | null;
164
163
 
@@ -168,8 +167,8 @@ export namespace BulkCreateParams {
168
167
  isFormMandatory?: boolean;
169
168
 
170
169
  /**
171
- * O slug do link curto. Se não for fornecido, um slug aleatório de 7 caracteres
172
- * será gerado.
170
+ * The slug of the short link. If not provided, a random 7-character slug will be
171
+ * generated.
173
172
  */
174
173
  key?: string;
175
174
 
@@ -184,67 +183,66 @@ export namespace BulkCreateParams {
184
183
  pageUrl?: string | null;
185
184
 
186
185
  /**
187
- * A senha necessária para acessar a URL de destino do link curto.
186
+ * The password required to access the short link destination URL.
188
187
  */
189
188
  password?: string | null;
190
189
 
191
190
  /**
192
- * O prefixo do slug do link curto para chaves geradas aleatoriamente (por exemplo,
193
- * se o prefixo for `/c/`, as chaves geradas estarão no formato `/c/:key`). Será
194
- * ignorado se `key` for fornecido.
191
+ * The prefix of the short link slug for randomly generated keys (for example, if
192
+ * the prefix is `/c/`, the generated keys will be in the format `/c/:key`). Will
193
+ * be ignored if `key` is provided.
195
194
  */
196
195
  prefix?: string;
197
196
 
198
197
  /**
199
- * Se o link curto tem pré-redirecionamento.
198
+ * Whether the short link has pre-redirection.
200
199
  */
201
200
  preRedirection?: boolean;
202
201
 
203
202
  /**
204
- * Se o link curto usa o recurso de Visualização de link personalizado.
203
+ * Whether the short link uses the custom link preview feature.
205
204
  */
206
205
  proxy?: boolean;
207
206
 
208
207
  /**
209
- * Se as estatísticas do link curto são publicamente acessíveis.
208
+ * Whether the short link statistics are publicly accessible.
210
209
  */
211
210
  publicStats?: boolean;
212
211
 
213
212
  /**
214
- * Se o link curto usa camuflagem de link.
213
+ * Whether the short link uses link cloaking.
215
214
  */
216
215
  rewrite?: boolean;
217
216
 
218
217
  /**
219
- * @deprecated O ID único da tag atribuída ao link curto. Este campo está obsoleto
220
- * – use `tagIds` em vez disso.
218
+ * @deprecated The unique ID of the tag assigned to the short link. This field is
219
+ * deprecated – use `tagIds` instead.
221
220
  */
222
221
  tagId?: string | null;
223
222
 
224
223
  /**
225
- * Os IDs únicos das tags atribuídas ao link curto.
224
+ * The unique IDs of the tags assigned to the short link.
226
225
  */
227
226
  tagIds?: string | Array<string>;
228
227
 
229
228
  /**
230
- * O nome único das tags atribuídas ao link curto (não diferencia maiúsculas de
231
- * minúsculas).
229
+ * The unique name of the tags assigned to the short link (case insensitive).
232
230
  */
233
231
  tagNames?: string | Array<string>;
234
232
 
235
233
  /**
236
- * O título do link curto gerado via `api.codeqr.io/metatags`. Será usado para
237
- * Visualização de link personalizado se `proxy` for verdadeiro.
234
+ * The title of the short link generated via `api.codeqr.io/metatags`. Will be used
235
+ * for custom link preview if `proxy` is true.
238
236
  */
239
237
  title?: string | null;
240
238
 
241
239
  /**
242
- * Se deve rastrear conversões para o link curto.
240
+ * Whether to track conversions for the short link.
243
241
  */
244
242
  trackConversion?: boolean;
245
243
 
246
244
  /**
247
- * O vídeo do link curto.
245
+ * The video of the short link.
248
246
  */
249
247
  video?: string | null;
250
248
 
@@ -257,8 +255,8 @@ export namespace BulkCreateParams {
257
255
 
258
256
  export namespace Body {
259
257
  /**
260
- * Informações de segmentação geográfica para o link curto no formato JSON
261
- * `{[PAÍS]: https://exemplo.com }`.
258
+ * Geographic targeting information for the short link in JSON format
259
+ * `{[COUNTRY]: https://example.com }`.
262
260
  */
263
261
  export interface Geo {
264
262
  AD?: string;