@codeqr/ts 0.1.2 → 0.2.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.
@@ -127,47 +127,46 @@ export namespace EventListResponse {
127
127
 
128
128
  export interface Link {
129
129
  /**
130
- * O ID único do link curto.
130
+ * The unique ID of the short link.
131
131
  */
132
132
  id: string;
133
133
 
134
134
  /**
135
- * A URL de destino do Android para o link curto para segmentação de dispositivos
136
- * Android.
135
+ * The Android destination URL for the short link for Android device targeting.
137
136
  */
138
137
  android: string | null;
139
138
 
140
139
  /**
141
- * O número de cliques no link curto.
140
+ * The number of clicks on the short link.
142
141
  */
143
142
  clicks: number;
144
143
 
145
144
  /**
146
- * Os comentários para o link curto.
145
+ * The comments for the short link.
147
146
  */
148
147
  comments: string | null;
149
148
 
150
149
  createdAt: string;
151
150
 
152
151
  /**
153
- * A descrição do link curto gerada via `api.codeqr.io/metatags`. Será usada para
154
- * Visualização de link personalizado se `proxy` for verdadeiro.
152
+ * The description of the short link generated via `api.codeqr.io/metatags`. Will
153
+ * be used for custom link preview if `proxy` is true.
155
154
  */
156
155
  description: string | null;
157
156
 
158
157
  /**
159
- * O domínio do link curto. Se não for fornecido, o domínio principal do projeto
160
- * será usado (ou `codeqr.link` se o projeto não tiver domínios).
158
+ * The domain of the short link. If not provided, the main domain of the project
159
+ * will be used (or `codeqr.link` if the project has no domains).
161
160
  */
162
161
  domain: string;
163
162
 
164
163
  /**
165
- * A URL para redirecionar quando o link curto expirar.
164
+ * The URL to redirect to when the short link expires.
166
165
  */
167
166
  expiredUrl: string | null;
168
167
 
169
168
  /**
170
- * Este é o ID do link no seu banco de dados.
169
+ * This is the ID of the link in your database.
171
170
  */
172
171
  externalId: string | null;
173
172
 
@@ -177,24 +176,24 @@ export namespace EventListResponse {
177
176
  filled: boolean;
178
177
 
179
178
  /**
180
- * Se o link curto é flexível.
179
+ * Whether the short link is flexible.
181
180
  */
182
181
  flexible: boolean;
183
182
 
184
183
  /**
185
- * Informações de segmentação geográfica para o link curto no formato JSON
186
- * `{[PAÍS]: https://exemplo.com }`. Saiba mais: https://codeqr.link/geo
184
+ * Geographic targeting information for the short link in JSON format
185
+ * `{[COUNTRY]: https://example.com }`. Learn more: https://codeqr.link/geo
187
186
  */
188
187
  geo: { [key: string]: string } | null;
189
188
 
190
189
  /**
191
- * A imagem do link curto gerada via `api.codeqr.io/metatags`. Será usada para
192
- * Visualização de link personalizado se `proxy` for verdadeiro.
190
+ * The image of the short link generated via `api.codeqr.io/metatags`. Will be used
191
+ * for custom link preview if `proxy` is true.
193
192
  */
194
193
  image: string | null;
195
194
 
196
195
  /**
197
- * A URL de destino do iOS para o link curto para segmentação de dispositivos iOS.
196
+ * The iOS destination URL for the short link for iOS device targeting.
198
197
  */
199
198
  ios: string | null;
200
199
 
@@ -204,35 +203,35 @@ export namespace EventListResponse {
204
203
  isFormMandatory: boolean;
205
204
 
206
205
  /**
207
- * O slug do link curto. Se não for fornecido, um slug aleatório de 7 caracteres
208
- * será gerado.
206
+ * The slug of the short link. If not provided, a random 7-character slug will be
207
+ * generated.
209
208
  */
210
209
  key: string;
211
210
 
212
211
  lastClicked: string;
213
212
 
214
213
  /**
215
- * O número de leads gerados pelo link curto.
214
+ * The number of leads generated by the short link.
216
215
  */
217
216
  leads: number;
218
217
 
219
218
  /**
220
- * O token de notificação do link curto.
219
+ * The notification token of the short link.
221
220
  */
222
221
  notificationToken: string | null;
223
222
 
224
223
  /**
225
- * A senha necessária para acessar a URL de destino do link curto.
224
+ * The password required to access the short link destination URL.
226
225
  */
227
226
  password: string | null;
228
227
 
229
228
  /**
230
- * Se o link curto tem pré-redirecionamento.
229
+ * Whether the short link has pre-redirection.
231
230
  */
232
231
  preRedirection: boolean;
233
232
 
234
233
  /**
235
- * O ID do projeto do link curto.
234
+ * The ID of the project of the short link.
236
235
  */
237
236
  projectId: string;
238
237
 
@@ -242,24 +241,24 @@ export namespace EventListResponse {
242
241
  saleAmount: number;
243
242
 
244
243
  /**
245
- * O número de vendas geradas pelo link curto.
244
+ * The number of sales generated by the short link.
246
245
  */
247
246
  sales: number;
248
247
 
249
248
  /**
250
- * @deprecated [DESCONTINUADO (use `tags` em vez disso)]: O ID único da tag
251
- * atribuída ao link curto.
249
+ * @deprecated [DEPRECATED (use `tags` instead)]: The unique ID of the tag assigned
250
+ * to the short link.
252
251
  */
253
252
  tagId: string | null;
254
253
 
255
254
  /**
256
- * As tags atribuídas ao link curto.
255
+ * The tags assigned to the short link.
257
256
  */
258
257
  tags: Array<TagsAPI.Tag> | null;
259
258
 
260
259
  /**
261
- * O título do link curto gerado via `api.codeqr.io/metatags`. Será usado para
262
- * Visualização de link personalizado se `proxy` for verdadeiro.
260
+ * The title of the short link generated via `api.codeqr.io/metatags`. Will be used
261
+ * for custom link preview if `proxy` is true.
263
262
  */
264
263
  title: string | null;
265
264
 
@@ -268,32 +267,32 @@ export namespace EventListResponse {
268
267
  userId: string | null;
269
268
 
270
269
  /**
271
- * A campanha UTM do link curto.
270
+ * The UTM campaign of the short link.
272
271
  */
273
272
  utm_campaign: string | null;
274
273
 
275
274
  /**
276
- * O conteúdo UTM do link curto.
275
+ * The UTM content of the short link.
277
276
  */
278
277
  utm_content: string | null;
279
278
 
280
279
  /**
281
- * O meio UTM do link curto.
280
+ * The UTM medium of the short link.
282
281
  */
283
282
  utm_medium: string | null;
284
283
 
285
284
  /**
286
- * A fonte UTM do link curto.
285
+ * The UTM source of the short link.
287
286
  */
288
287
  utm_source: string | null;
289
288
 
290
289
  /**
291
- * O termo UTM do link curto.
290
+ * The UTM term of the short link.
292
291
  */
293
292
  utm_term: string | null;
294
293
 
295
294
  /**
296
- * O vídeo do link curto.
295
+ * The video of the short link.
297
296
  */
298
297
  video: string | null;
299
298
 
@@ -318,7 +317,7 @@ export namespace EventListResponse {
318
317
  publicStats?: boolean;
319
318
 
320
319
  /**
321
- * A URL completa do código QR para o link curto (por exemplo,
320
+ * The complete QR code URL for the short link (for example,
322
321
  * `https://api.codeqr.io/qr?url=https://codeqr.link/try`).
323
322
  */
324
323
  qrCode?: string;
@@ -326,7 +325,7 @@ export namespace EventListResponse {
326
325
  rewrite?: boolean;
327
326
 
328
327
  /**
329
- * A URL completa do link curto, incluindo o protocolo https (por exemplo,
328
+ * The complete URL of the short link, including the https protocol (for example,
330
329
  * `https://codeqr.link/try`).
331
330
  */
332
331
  shortLink?: string;
@@ -632,24 +631,24 @@ export namespace EventListResponse {
632
631
  export namespace Customer {
633
632
  export interface Link {
634
633
  /**
635
- * O ID único do link curto.
634
+ * The unique ID of the short link.
636
635
  */
637
636
  id: string;
638
637
 
639
638
  /**
640
- * O domínio do link curto. Se não for fornecido, o domínio principal do projeto
641
- * será usado (ou `codeqr.link` se o projeto não tiver domínios).
639
+ * The domain of the short link. If not provided, the main domain of the project
640
+ * will be used (or `codeqr.link` if the project has no domains).
642
641
  */
643
642
  domain: string;
644
643
 
645
644
  /**
646
- * O slug do link curto. Se não for fornecido, um slug aleatório de 7 caracteres
647
- * será gerado.
645
+ * The slug of the short link. If not provided, a random 7-character slug will be
646
+ * generated.
648
647
  */
649
648
  key: string;
650
649
 
651
650
  /**
652
- * A URL completa do link curto, incluindo o protocolo https (por exemplo,
651
+ * The complete URL of the short link, including the https protocol (for example,
653
652
  * `https://codeqr.link/try`).
654
653
  */
655
654
  shortLink?: string;
@@ -658,47 +657,46 @@ export namespace EventListResponse {
658
657
 
659
658
  export interface Link {
660
659
  /**
661
- * O ID único do link curto.
660
+ * The unique ID of the short link.
662
661
  */
663
662
  id: string;
664
663
 
665
664
  /**
666
- * A URL de destino do Android para o link curto para segmentação de dispositivos
667
- * Android.
665
+ * The Android destination URL for the short link for Android device targeting.
668
666
  */
669
667
  android: string | null;
670
668
 
671
669
  /**
672
- * O número de cliques no link curto.
670
+ * The number of clicks on the short link.
673
671
  */
674
672
  clicks: number;
675
673
 
676
674
  /**
677
- * Os comentários para o link curto.
675
+ * The comments for the short link.
678
676
  */
679
677
  comments: string | null;
680
678
 
681
679
  createdAt: string;
682
680
 
683
681
  /**
684
- * A descrição do link curto gerada via `api.codeqr.io/metatags`. Será usada para
685
- * Visualização de link personalizado se `proxy` for verdadeiro.
682
+ * The description of the short link generated via `api.codeqr.io/metatags`. Will
683
+ * be used for custom link preview if `proxy` is true.
686
684
  */
687
685
  description: string | null;
688
686
 
689
687
  /**
690
- * O domínio do link curto. Se não for fornecido, o domínio principal do projeto
691
- * será usado (ou `codeqr.link` se o projeto não tiver domínios).
688
+ * The domain of the short link. If not provided, the main domain of the project
689
+ * will be used (or `codeqr.link` if the project has no domains).
692
690
  */
693
691
  domain: string;
694
692
 
695
693
  /**
696
- * A URL para redirecionar quando o link curto expirar.
694
+ * The URL to redirect to when the short link expires.
697
695
  */
698
696
  expiredUrl: string | null;
699
697
 
700
698
  /**
701
- * Este é o ID do link no seu banco de dados.
699
+ * This is the ID of the link in your database.
702
700
  */
703
701
  externalId: string | null;
704
702
 
@@ -708,24 +706,24 @@ export namespace EventListResponse {
708
706
  filled: boolean;
709
707
 
710
708
  /**
711
- * Se o link curto é flexível.
709
+ * Whether the short link is flexible.
712
710
  */
713
711
  flexible: boolean;
714
712
 
715
713
  /**
716
- * Informações de segmentação geográfica para o link curto no formato JSON
717
- * `{[PAÍS]: https://exemplo.com }`. Saiba mais: https://codeqr.link/geo
714
+ * Geographic targeting information for the short link in JSON format
715
+ * `{[COUNTRY]: https://example.com }`. Learn more: https://codeqr.link/geo
718
716
  */
719
717
  geo: { [key: string]: string } | null;
720
718
 
721
719
  /**
722
- * A imagem do link curto gerada via `api.codeqr.io/metatags`. Será usada para
723
- * Visualização de link personalizado se `proxy` for verdadeiro.
720
+ * The image of the short link generated via `api.codeqr.io/metatags`. Will be used
721
+ * for custom link preview if `proxy` is true.
724
722
  */
725
723
  image: string | null;
726
724
 
727
725
  /**
728
- * A URL de destino do iOS para o link curto para segmentação de dispositivos iOS.
726
+ * The iOS destination URL for the short link for iOS device targeting.
729
727
  */
730
728
  ios: string | null;
731
729
 
@@ -735,35 +733,35 @@ export namespace EventListResponse {
735
733
  isFormMandatory: boolean;
736
734
 
737
735
  /**
738
- * O slug do link curto. Se não for fornecido, um slug aleatório de 7 caracteres
739
- * será gerado.
736
+ * The slug of the short link. If not provided, a random 7-character slug will be
737
+ * generated.
740
738
  */
741
739
  key: string;
742
740
 
743
741
  lastClicked: string;
744
742
 
745
743
  /**
746
- * O número de leads gerados pelo link curto.
744
+ * The number of leads generated by the short link.
747
745
  */
748
746
  leads: number;
749
747
 
750
748
  /**
751
- * O token de notificação do link curto.
749
+ * The notification token of the short link.
752
750
  */
753
751
  notificationToken: string | null;
754
752
 
755
753
  /**
756
- * A senha necessária para acessar a URL de destino do link curto.
754
+ * The password required to access the short link destination URL.
757
755
  */
758
756
  password: string | null;
759
757
 
760
758
  /**
761
- * Se o link curto tem pré-redirecionamento.
759
+ * Whether the short link has pre-redirection.
762
760
  */
763
761
  preRedirection: boolean;
764
762
 
765
763
  /**
766
- * O ID do projeto do link curto.
764
+ * The ID of the project of the short link.
767
765
  */
768
766
  projectId: string;
769
767
 
@@ -773,24 +771,24 @@ export namespace EventListResponse {
773
771
  saleAmount: number;
774
772
 
775
773
  /**
776
- * O número de vendas geradas pelo link curto.
774
+ * The number of sales generated by the short link.
777
775
  */
778
776
  sales: number;
779
777
 
780
778
  /**
781
- * @deprecated [DESCONTINUADO (use `tags` em vez disso)]: O ID único da tag
782
- * atribuída ao link curto.
779
+ * @deprecated [DEPRECATED (use `tags` instead)]: The unique ID of the tag assigned
780
+ * to the short link.
783
781
  */
784
782
  tagId: string | null;
785
783
 
786
784
  /**
787
- * As tags atribuídas ao link curto.
785
+ * The tags assigned to the short link.
788
786
  */
789
787
  tags: Array<TagsAPI.Tag> | null;
790
788
 
791
789
  /**
792
- * O título do link curto gerado via `api.codeqr.io/metatags`. Será usado para
793
- * Visualização de link personalizado se `proxy` for verdadeiro.
790
+ * The title of the short link generated via `api.codeqr.io/metatags`. Will be used
791
+ * for custom link preview if `proxy` is true.
794
792
  */
795
793
  title: string | null;
796
794
 
@@ -799,32 +797,32 @@ export namespace EventListResponse {
799
797
  userId: string | null;
800
798
 
801
799
  /**
802
- * A campanha UTM do link curto.
800
+ * The UTM campaign of the short link.
803
801
  */
804
802
  utm_campaign: string | null;
805
803
 
806
804
  /**
807
- * O conteúdo UTM do link curto.
805
+ * The UTM content of the short link.
808
806
  */
809
807
  utm_content: string | null;
810
808
 
811
809
  /**
812
- * O meio UTM do link curto.
810
+ * The UTM medium of the short link.
813
811
  */
814
812
  utm_medium: string | null;
815
813
 
816
814
  /**
817
- * A fonte UTM do link curto.
815
+ * The UTM source of the short link.
818
816
  */
819
817
  utm_source: string | null;
820
818
 
821
819
  /**
822
- * O termo UTM do link curto.
820
+ * The UTM term of the short link.
823
821
  */
824
822
  utm_term: string | null;
825
823
 
826
824
  /**
827
- * O vídeo do link curto.
825
+ * The video of the short link.
828
826
  */
829
827
  video: string | null;
830
828
 
@@ -849,7 +847,7 @@ export namespace EventListResponse {
849
847
  publicStats?: boolean;
850
848
 
851
849
  /**
852
- * A URL completa do código QR para o link curto (por exemplo,
850
+ * The complete QR code URL for the short link (for example,
853
851
  * `https://api.codeqr.io/qr?url=https://codeqr.link/try`).
854
852
  */
855
853
  qrCode?: string;
@@ -857,7 +855,7 @@ export namespace EventListResponse {
857
855
  rewrite?: boolean;
858
856
 
859
857
  /**
860
- * A URL completa do link curto, incluindo o protocolo https (por exemplo,
858
+ * The complete URL of the short link, including the https protocol (for example,
861
859
  * `https://codeqr.link/try`).
862
860
  */
863
861
  shortLink?: string;