@propper-ai/cli 0.3.2 → 0.4.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.
@@ -172,7 +172,7 @@ async function request(entry, req, ctx) {
172
172
  // src/generated/manifest.json
173
173
  var manifest_default = {
174
174
  version: "1",
175
- generatedFrom: "Sign API, Propper Gen API, Propper Locker API",
175
+ generatedFrom: "Sign API, Propper Gen API, Propper Locker API, Propper Click API",
176
176
  apiBaseUrl: "https://api.propper.ai",
177
177
  apis: [
178
178
  {
@@ -189,9 +189,2274 @@ var manifest_default = {
189
189
  name: "locker",
190
190
  title: "Propper Locker API",
191
191
  baseUrl: "https://api.propper.ai"
192
+ },
193
+ {
194
+ name: "click",
195
+ title: "Propper Click API",
196
+ baseUrl: "https://api.propper.ai"
192
197
  }
193
198
  ],
194
199
  operations: [
200
+ {
201
+ api: "click",
202
+ operationId: "acceptConsent",
203
+ topic: "acceptance",
204
+ command: "accept",
205
+ method: "POST",
206
+ path: "/v1/click/accept",
207
+ summary: "Accept consent",
208
+ description: "Record consent acceptance with idempotent writes and Pub/Sub integration",
209
+ pathParams: [],
210
+ queryParams: [],
211
+ hasBody: true,
212
+ bodyFields: [
213
+ {
214
+ name: "templateVersionId",
215
+ flag: "--template-version-id",
216
+ type: "string",
217
+ required: true,
218
+ description: "Template version UUID"
219
+ },
220
+ {
221
+ name: "deploymentId",
222
+ flag: "--deployment-id",
223
+ type: "string",
224
+ required: true,
225
+ description: "Deployment ID that served the consent form"
226
+ },
227
+ {
228
+ name: "checksum",
229
+ flag: "--checksum",
230
+ type: "string",
231
+ required: true,
232
+ description: "Template version checksum (SHA-256 hash)"
233
+ },
234
+ {
235
+ name: "consentMethod",
236
+ flag: "--consent-method",
237
+ type: "string",
238
+ required: true,
239
+ description: "Consent method used for acceptance"
240
+ },
241
+ {
242
+ name: "sessionId",
243
+ flag: "--session-id",
244
+ type: "string",
245
+ required: false,
246
+ description: "Optional session ID"
247
+ },
248
+ {
249
+ name: "userId",
250
+ flag: "--user-id",
251
+ type: "string",
252
+ required: false,
253
+ description: "Optional user ID"
254
+ },
255
+ {
256
+ name: "email",
257
+ flag: "--email",
258
+ type: "string",
259
+ required: false,
260
+ description: "Optional email address"
261
+ },
262
+ {
263
+ name: "variant",
264
+ flag: "--variant",
265
+ type: "string",
266
+ required: false,
267
+ description: "Optional variant identifier"
268
+ },
269
+ {
270
+ name: "capturedHtml",
271
+ flag: "--captured-html",
272
+ type: "string",
273
+ required: false,
274
+ description: "Captured HTML from SDK for evidence generation"
275
+ }
276
+ ],
277
+ produces: "json",
278
+ consumes: "json"
279
+ },
280
+ {
281
+ api: "click",
282
+ operationId: "getEvidenceBundle",
283
+ topic: "acceptances",
284
+ command: "evidence",
285
+ method: "GET",
286
+ path: "/v1/click/acceptances/{id}/evidence",
287
+ pathParams: [
288
+ {
289
+ name: "id",
290
+ in: "path",
291
+ flag: "--id",
292
+ required: true
293
+ }
294
+ ],
295
+ queryParams: [],
296
+ hasBody: false,
297
+ bodyFields: [],
298
+ produces: "json",
299
+ consumes: "none"
300
+ },
301
+ {
302
+ api: "click",
303
+ operationId: "getAcceptance",
304
+ topic: "acceptances",
305
+ command: "get",
306
+ method: "GET",
307
+ path: "/v1/click/acceptances/{id}",
308
+ pathParams: [
309
+ {
310
+ name: "id",
311
+ in: "path",
312
+ flag: "--id",
313
+ required: true
314
+ }
315
+ ],
316
+ queryParams: [
317
+ {
318
+ name: "includeEvidence",
319
+ in: "query",
320
+ flag: "--include-evidence",
321
+ required: true
322
+ },
323
+ {
324
+ name: "includeReceipt",
325
+ in: "query",
326
+ flag: "--include-receipt",
327
+ required: true
328
+ }
329
+ ],
330
+ hasBody: false,
331
+ bodyFields: [],
332
+ produces: "json",
333
+ consumes: "none"
334
+ },
335
+ {
336
+ api: "click",
337
+ operationId: "getReceipt",
338
+ topic: "acceptances",
339
+ command: "get-receipt",
340
+ method: "GET",
341
+ path: "/v1/click/receipts/{receiptId}",
342
+ pathParams: [
343
+ {
344
+ name: "receiptId",
345
+ in: "path",
346
+ flag: "--receipt-id",
347
+ required: true
348
+ }
349
+ ],
350
+ queryParams: [],
351
+ hasBody: false,
352
+ bodyFields: [],
353
+ produces: "json",
354
+ consumes: "none"
355
+ },
356
+ {
357
+ api: "click",
358
+ operationId: "getAcceptances",
359
+ topic: "acceptances",
360
+ command: "list",
361
+ method: "GET",
362
+ path: "/v1/click/acceptances",
363
+ pathParams: [],
364
+ queryParams: [],
365
+ hasBody: false,
366
+ bodyFields: [],
367
+ produces: "json",
368
+ consumes: "none"
369
+ },
370
+ {
371
+ api: "click",
372
+ operationId: "getScreenshot",
373
+ topic: "acceptances",
374
+ command: "screenshot",
375
+ method: "GET",
376
+ path: "/v1/click/acceptances/{id}/screenshot",
377
+ pathParams: [
378
+ {
379
+ name: "id",
380
+ in: "path",
381
+ flag: "--id",
382
+ required: true
383
+ }
384
+ ],
385
+ queryParams: [],
386
+ hasBody: false,
387
+ bodyFields: [],
388
+ produces: "json",
389
+ consumes: "none"
390
+ },
391
+ {
392
+ api: "click",
393
+ operationId: "getRetentionStatus",
394
+ topic: "acceptances",
395
+ command: "status",
396
+ method: "GET",
397
+ path: "/v1/click/evidence/retention/status",
398
+ pathParams: [],
399
+ queryParams: [],
400
+ hasBody: false,
401
+ bodyFields: [],
402
+ produces: "json",
403
+ consumes: "none"
404
+ },
405
+ {
406
+ api: "click",
407
+ operationId: "getAcceptanceAnalytics",
408
+ topic: "analytics",
409
+ command: "acceptance",
410
+ method: "GET",
411
+ path: "/v1/click/analytics/acceptance",
412
+ summary: "Get acceptance analytics",
413
+ pathParams: [],
414
+ queryParams: [
415
+ {
416
+ name: "templateId",
417
+ in: "query",
418
+ flag: "--template-id",
419
+ required: true
420
+ },
421
+ {
422
+ name: "from",
423
+ in: "query",
424
+ flag: "--from",
425
+ required: true
426
+ },
427
+ {
428
+ name: "to",
429
+ in: "query",
430
+ flag: "--to",
431
+ required: true
432
+ },
433
+ {
434
+ name: "groupBy",
435
+ in: "query",
436
+ flag: "--group-by",
437
+ required: true
438
+ },
439
+ {
440
+ name: "timeRange",
441
+ in: "query",
442
+ flag: "--time-range",
443
+ required: true
444
+ }
445
+ ],
446
+ hasBody: false,
447
+ bodyFields: [],
448
+ produces: "json",
449
+ consumes: "none"
450
+ },
451
+ {
452
+ api: "click",
453
+ operationId: "getDashboardMetrics",
454
+ topic: "analytics",
455
+ command: "dashboard",
456
+ method: "GET",
457
+ path: "/v1/click/analytics/dashboard",
458
+ summary: "Get dashboard analytics and metrics",
459
+ pathParams: [],
460
+ queryParams: [],
461
+ hasBody: false,
462
+ bodyFields: [],
463
+ produces: "json",
464
+ consumes: "none"
465
+ },
466
+ {
467
+ api: "click",
468
+ operationId: "completeSession",
469
+ topic: "click",
470
+ command: "complete",
471
+ method: "POST",
472
+ path: "/v1/click/sessions/{id}/complete",
473
+ summary: "Complete a click session",
474
+ pathParams: [
475
+ {
476
+ name: "id",
477
+ in: "path",
478
+ flag: "--id",
479
+ required: true,
480
+ description: "Session ID"
481
+ }
482
+ ],
483
+ queryParams: [],
484
+ hasBody: false,
485
+ bodyFields: [],
486
+ produces: "json",
487
+ consumes: "none"
488
+ },
489
+ {
490
+ api: "click",
491
+ operationId: "updateUserConsentState",
492
+ topic: "click",
493
+ command: "create",
494
+ method: "POST",
495
+ path: "/v1/click/consent/{userRef}",
496
+ summary: "Update user consent state",
497
+ pathParams: [
498
+ {
499
+ name: "userRef",
500
+ in: "path",
501
+ flag: "--user-ref",
502
+ required: true,
503
+ description: "User reference"
504
+ }
505
+ ],
506
+ queryParams: [],
507
+ hasBody: false,
508
+ bodyFields: [],
509
+ produces: "json",
510
+ consumes: "none"
511
+ },
512
+ {
513
+ api: "click",
514
+ operationId: "getSession",
515
+ topic: "click",
516
+ command: "get",
517
+ method: "GET",
518
+ path: "/v1/click/sessions/{id}",
519
+ summary: "Get a click session",
520
+ pathParams: [
521
+ {
522
+ name: "id",
523
+ in: "path",
524
+ flag: "--id",
525
+ required: true,
526
+ description: "Session ID"
527
+ }
528
+ ],
529
+ queryParams: [],
530
+ hasBody: false,
531
+ bodyFields: [],
532
+ produces: "json",
533
+ consumes: "none"
534
+ },
535
+ {
536
+ api: "click",
537
+ operationId: "getClickEvidenceBundle",
538
+ topic: "click",
539
+ command: "get-click-evidence-bundle",
540
+ method: "GET",
541
+ path: "/v1/click/evidence/{sessionId}",
542
+ summary: "Get evidence bundle for a session",
543
+ pathParams: [
544
+ {
545
+ name: "sessionId",
546
+ in: "path",
547
+ flag: "--session-id",
548
+ required: true,
549
+ description: "Session ID"
550
+ }
551
+ ],
552
+ queryParams: [],
553
+ hasBody: false,
554
+ bodyFields: [],
555
+ produces: "json",
556
+ consumes: "none"
557
+ },
558
+ {
559
+ api: "click",
560
+ operationId: "getUserConsentState",
561
+ topic: "click",
562
+ command: "get-user-consent-state",
563
+ method: "GET",
564
+ path: "/v1/click/consent/{userRef}",
565
+ summary: "Get user consent state",
566
+ pathParams: [
567
+ {
568
+ name: "userRef",
569
+ in: "path",
570
+ flag: "--user-ref",
571
+ required: true,
572
+ description: "User reference"
573
+ }
574
+ ],
575
+ queryParams: [],
576
+ hasBody: false,
577
+ bodyFields: [],
578
+ produces: "json",
579
+ consumes: "none"
580
+ },
581
+ {
582
+ api: "click",
583
+ operationId: "createSession",
584
+ topic: "click",
585
+ command: "sessions",
586
+ method: "POST",
587
+ path: "/v1/click/sessions",
588
+ summary: "Create a click session",
589
+ pathParams: [],
590
+ queryParams: [],
591
+ hasBody: false,
592
+ bodyFields: [],
593
+ produces: "json",
594
+ consumes: "none"
595
+ },
596
+ {
597
+ api: "click",
598
+ operationId: "getClickDefaults",
599
+ topic: "config",
600
+ command: "click-defaults",
601
+ method: "GET",
602
+ path: "/v1/click/config/click-defaults",
603
+ summary: "Get Click default settings",
604
+ description: "Retrieve platform-wide default settings for Click experiences",
605
+ pathParams: [],
606
+ queryParams: [],
607
+ hasBody: false,
608
+ bodyFields: [],
609
+ produces: "json",
610
+ consumes: "none"
611
+ },
612
+ {
613
+ api: "click",
614
+ operationId: "updateClickDefaults",
615
+ topic: "config",
616
+ command: "update-click-defaults",
617
+ method: "PUT",
618
+ path: "/v1/click/config/click-defaults",
619
+ summary: "Update Click default settings",
620
+ description: "Update platform-wide default settings for Click experiences (admin only)",
621
+ pathParams: [],
622
+ queryParams: [],
623
+ hasBody: true,
624
+ bodyFields: [
625
+ {
626
+ name: "defaultConsentMethod",
627
+ flag: "--default-consent-method",
628
+ type: "string",
629
+ required: true,
630
+ description: "Default consent method"
631
+ },
632
+ {
633
+ name: "displayMode",
634
+ flag: "--display-mode",
635
+ type: "string",
636
+ required: true,
637
+ description: "Display mode for Click experiences"
638
+ },
639
+ {
640
+ name: "requireIdentity",
641
+ flag: "--require-identity",
642
+ type: "boolean",
643
+ required: true,
644
+ description: "Whether to require identity verification"
645
+ },
646
+ {
647
+ name: "acceptButtonText",
648
+ flag: "--accept-button-text",
649
+ type: "string",
650
+ required: true,
651
+ description: "Text for accept button"
652
+ },
653
+ {
654
+ name: "declineButtonText",
655
+ flag: "--decline-button-text",
656
+ type: "string",
657
+ required: true,
658
+ description: "Text for decline button"
659
+ },
660
+ {
661
+ name: "scrollPercentage",
662
+ flag: "--scroll-percentage",
663
+ type: "number",
664
+ required: true,
665
+ description: "Required scroll percentage before enabling accept"
666
+ },
667
+ {
668
+ name: "timeout",
669
+ flag: "--timeout",
670
+ type: "number",
671
+ required: true,
672
+ description: "Session timeout in seconds"
673
+ },
674
+ {
675
+ name: "showProgressBar",
676
+ flag: "--show-progress-bar",
677
+ type: "boolean",
678
+ required: true,
679
+ description: "Whether to show progress bar"
680
+ },
681
+ {
682
+ name: "enableAnalytics",
683
+ flag: "--enable-analytics",
684
+ type: "boolean",
685
+ required: true,
686
+ description: "Whether to enable analytics tracking"
687
+ }
688
+ ],
689
+ produces: "json",
690
+ consumes: "json"
691
+ },
692
+ {
693
+ api: "click",
694
+ operationId: "findActiveByDomain",
695
+ topic: "deployments",
696
+ command: "active",
697
+ method: "GET",
698
+ path: "/v1/click/deployments/domain/{domain}/active",
699
+ summary: "Get active deployments for a domain",
700
+ pathParams: [
701
+ {
702
+ name: "domain",
703
+ in: "path",
704
+ flag: "--domain",
705
+ required: true,
706
+ description: "Domain"
707
+ }
708
+ ],
709
+ queryParams: [
710
+ {
711
+ name: "environment",
712
+ in: "query",
713
+ flag: "--environment",
714
+ required: false,
715
+ description: "Filter by environment"
716
+ }
717
+ ],
718
+ hasBody: false,
719
+ bodyFields: [],
720
+ produces: "json",
721
+ consumes: "none"
722
+ },
723
+ {
724
+ api: "click",
725
+ operationId: "createDeployment",
726
+ topic: "deployments",
727
+ command: "create",
728
+ method: "POST",
729
+ path: "/v1/click/deployments",
730
+ summary: "Create a new deployment",
731
+ pathParams: [],
732
+ queryParams: [],
733
+ hasBody: true,
734
+ bodyFields: [
735
+ {
736
+ name: "domain",
737
+ flag: "--domain",
738
+ type: "string",
739
+ required: true,
740
+ description: "Domain where template will be deployed"
741
+ },
742
+ {
743
+ name: "templateVersionId",
744
+ flag: "--template-version-id",
745
+ type: "string",
746
+ required: true,
747
+ description: "Template version ID to deploy"
748
+ },
749
+ {
750
+ name: "environment",
751
+ flag: "--environment",
752
+ type: "string",
753
+ required: false,
754
+ description: "Deployment environment"
755
+ },
756
+ {
757
+ name: "path",
758
+ flag: "--path",
759
+ type: "string",
760
+ required: false,
761
+ description: "URL path where template will be active"
762
+ },
763
+ {
764
+ name: "variant",
765
+ flag: "--variant",
766
+ type: "string",
767
+ required: false,
768
+ description: "A/B test variant identifier"
769
+ },
770
+ {
771
+ name: "active",
772
+ flag: "--active",
773
+ type: "boolean",
774
+ required: false,
775
+ description: "Whether deployment is active"
776
+ },
777
+ {
778
+ name: "priority",
779
+ flag: "--priority",
780
+ type: "number",
781
+ required: false,
782
+ description: "Deployment priority (higher numbers take precedence)"
783
+ },
784
+ {
785
+ name: "startAt",
786
+ flag: "--start-at",
787
+ type: "string",
788
+ required: false,
789
+ description: "When deployment becomes active (ISO 8601 date)"
790
+ },
791
+ {
792
+ name: "endAt",
793
+ flag: "--end-at",
794
+ type: "string",
795
+ required: false,
796
+ description: "When deployment expires (ISO 8601 date)"
797
+ }
798
+ ],
799
+ produces: "json",
800
+ consumes: "json"
801
+ },
802
+ {
803
+ api: "click",
804
+ operationId: "deactivateByPath",
805
+ topic: "deployments",
806
+ command: "deactivate",
807
+ method: "POST",
808
+ path: "/v1/click/deployments/domain/{domain}/deactivate",
809
+ summary: "Deactivate deployments by path",
810
+ pathParams: [
811
+ {
812
+ name: "domain",
813
+ in: "path",
814
+ flag: "--domain",
815
+ required: true,
816
+ description: "Domain"
817
+ }
818
+ ],
819
+ queryParams: [
820
+ {
821
+ name: "environment",
822
+ in: "query",
823
+ flag: "--environment",
824
+ required: true,
825
+ description: "Environment"
826
+ },
827
+ {
828
+ name: "path",
829
+ in: "query",
830
+ flag: "--path",
831
+ required: true,
832
+ description: "Path to deactivate"
833
+ }
834
+ ],
835
+ hasBody: false,
836
+ bodyFields: [],
837
+ produces: "json",
838
+ consumes: "none"
839
+ },
840
+ {
841
+ api: "click",
842
+ operationId: "removeDeployment",
843
+ topic: "deployments",
844
+ command: "delete",
845
+ method: "DELETE",
846
+ path: "/v1/click/deployments/{id}",
847
+ summary: "Delete a deployment",
848
+ pathParams: [
849
+ {
850
+ name: "id",
851
+ in: "path",
852
+ flag: "--id",
853
+ required: true,
854
+ description: "Deployment ID"
855
+ }
856
+ ],
857
+ queryParams: [],
858
+ hasBody: false,
859
+ bodyFields: [],
860
+ produces: "json",
861
+ consumes: "none"
862
+ },
863
+ {
864
+ api: "click",
865
+ operationId: "findOneDeployment",
866
+ topic: "deployments",
867
+ command: "get",
868
+ method: "GET",
869
+ path: "/v1/click/deployments/{id}",
870
+ summary: "Get a specific deployment",
871
+ pathParams: [
872
+ {
873
+ name: "id",
874
+ in: "path",
875
+ flag: "--id",
876
+ required: true,
877
+ description: "Deployment ID"
878
+ }
879
+ ],
880
+ queryParams: [
881
+ {
882
+ name: "includeSite",
883
+ in: "query",
884
+ flag: "--include-site",
885
+ required: false,
886
+ description: "Include site details"
887
+ },
888
+ {
889
+ name: "includeTemplateVersion",
890
+ in: "query",
891
+ flag: "--include-template-version",
892
+ required: false,
893
+ description: "Include template version details"
894
+ }
895
+ ],
896
+ hasBody: false,
897
+ bodyFields: [],
898
+ produces: "json",
899
+ consumes: "none"
900
+ },
901
+ {
902
+ api: "click",
903
+ operationId: "findAllDeployments",
904
+ topic: "deployments",
905
+ command: "list",
906
+ method: "GET",
907
+ path: "/v1/click/deployments",
908
+ summary: "List all deployments",
909
+ pathParams: [],
910
+ queryParams: [
911
+ {
912
+ name: "siteId",
913
+ in: "query",
914
+ flag: "--site-id",
915
+ required: false,
916
+ description: "Filter by site ID"
917
+ },
918
+ {
919
+ name: "environment",
920
+ in: "query",
921
+ flag: "--environment",
922
+ required: false,
923
+ description: "Filter by environment"
924
+ },
925
+ {
926
+ name: "active",
927
+ in: "query",
928
+ flag: "--active",
929
+ required: false,
930
+ description: "Filter by active status"
931
+ },
932
+ {
933
+ name: "includeSite",
934
+ in: "query",
935
+ flag: "--include-site",
936
+ required: false,
937
+ description: "Include site details"
938
+ },
939
+ {
940
+ name: "includeTemplateVersion",
941
+ in: "query",
942
+ flag: "--include-template-version",
943
+ required: false,
944
+ description: "Include template version details"
945
+ }
946
+ ],
947
+ hasBody: false,
948
+ bodyFields: [],
949
+ produces: "json",
950
+ consumes: "none"
951
+ },
952
+ {
953
+ api: "click",
954
+ operationId: "updateDeployment",
955
+ topic: "deployments",
956
+ command: "update",
957
+ method: "PATCH",
958
+ path: "/v1/click/deployments/{id}",
959
+ summary: "Update a deployment",
960
+ pathParams: [
961
+ {
962
+ name: "id",
963
+ in: "path",
964
+ flag: "--id",
965
+ required: true,
966
+ description: "Deployment ID"
967
+ }
968
+ ],
969
+ queryParams: [],
970
+ hasBody: true,
971
+ bodyFields: [
972
+ {
973
+ name: "domain",
974
+ flag: "--domain",
975
+ type: "string",
976
+ required: false,
977
+ description: "Domain where template will be deployed"
978
+ },
979
+ {
980
+ name: "templateVersionId",
981
+ flag: "--template-version-id",
982
+ type: "string",
983
+ required: false,
984
+ description: "Template version ID to deploy"
985
+ },
986
+ {
987
+ name: "environment",
988
+ flag: "--environment",
989
+ type: "string",
990
+ required: false,
991
+ description: "Deployment environment"
992
+ },
993
+ {
994
+ name: "path",
995
+ flag: "--path",
996
+ type: "string",
997
+ required: false,
998
+ description: "URL path where template will be active"
999
+ },
1000
+ {
1001
+ name: "variant",
1002
+ flag: "--variant",
1003
+ type: "string",
1004
+ required: false,
1005
+ description: "A/B test variant identifier"
1006
+ },
1007
+ {
1008
+ name: "active",
1009
+ flag: "--active",
1010
+ type: "boolean",
1011
+ required: false,
1012
+ description: "Whether deployment is active"
1013
+ },
1014
+ {
1015
+ name: "priority",
1016
+ flag: "--priority",
1017
+ type: "number",
1018
+ required: false,
1019
+ description: "Deployment priority (higher numbers take precedence)"
1020
+ },
1021
+ {
1022
+ name: "startAt",
1023
+ flag: "--start-at",
1024
+ type: "string",
1025
+ required: false,
1026
+ description: "When deployment becomes active (ISO 8601 date)"
1027
+ },
1028
+ {
1029
+ name: "endAt",
1030
+ flag: "--end-at",
1031
+ type: "string",
1032
+ required: false,
1033
+ description: "When deployment expires (ISO 8601 date)"
1034
+ }
1035
+ ],
1036
+ produces: "json",
1037
+ consumes: "json"
1038
+ },
1039
+ {
1040
+ api: "click",
1041
+ operationId: "verifyOTP",
1042
+ topic: "identity",
1043
+ command: "otp",
1044
+ method: "POST",
1045
+ path: "/v1/click/identity/verify/{sessionId}/otp",
1046
+ pathParams: [
1047
+ {
1048
+ name: "sessionId",
1049
+ in: "path",
1050
+ flag: "--session-id",
1051
+ required: true
1052
+ }
1053
+ ],
1054
+ queryParams: [],
1055
+ hasBody: true,
1056
+ bodyFields: [],
1057
+ produces: "json",
1058
+ consumes: "json"
1059
+ },
1060
+ {
1061
+ api: "click",
1062
+ operationId: "startVerification",
1063
+ topic: "identity",
1064
+ command: "start",
1065
+ method: "POST",
1066
+ path: "/v1/click/identity/verify/start",
1067
+ pathParams: [],
1068
+ queryParams: [],
1069
+ hasBody: true,
1070
+ bodyFields: [],
1071
+ produces: "json",
1072
+ consumes: "json"
1073
+ },
1074
+ {
1075
+ api: "click",
1076
+ operationId: "checkStatus",
1077
+ topic: "identity",
1078
+ command: "status",
1079
+ method: "POST",
1080
+ path: "/v1/click/identity/verify/{sessionId}/status",
1081
+ pathParams: [
1082
+ {
1083
+ name: "sessionId",
1084
+ in: "path",
1085
+ flag: "--session-id",
1086
+ required: true
1087
+ }
1088
+ ],
1089
+ queryParams: [],
1090
+ hasBody: false,
1091
+ bodyFields: [],
1092
+ produces: "json",
1093
+ consumes: "none"
1094
+ },
1095
+ {
1096
+ api: "click",
1097
+ operationId: "getSettings",
1098
+ topic: "organization",
1099
+ command: "settings",
1100
+ method: "GET",
1101
+ path: "/v1/click/organization/settings",
1102
+ summary: "Get organization settings",
1103
+ description: "Retrieve organization settings including retention policies, PII mode, webhook configuration, and default policy flags",
1104
+ pathParams: [],
1105
+ queryParams: [],
1106
+ hasBody: false,
1107
+ bodyFields: [],
1108
+ produces: "json",
1109
+ consumes: "none"
1110
+ },
1111
+ {
1112
+ api: "click",
1113
+ operationId: "updateSettings",
1114
+ topic: "organization",
1115
+ command: "update-settings",
1116
+ method: "PATCH",
1117
+ path: "/v1/click/organization/settings",
1118
+ summary: "Update organization settings",
1119
+ description: "Update organization settings such as retention policies, PII mode, webhook configuration, and default policy flags",
1120
+ pathParams: [],
1121
+ queryParams: [],
1122
+ hasBody: true,
1123
+ bodyFields: [
1124
+ {
1125
+ name: "name",
1126
+ flag: "--name",
1127
+ type: "string",
1128
+ required: false,
1129
+ description: "Organization name"
1130
+ },
1131
+ {
1132
+ name: "defaultRetentionDays",
1133
+ flag: "--default-retention-days",
1134
+ type: "number",
1135
+ required: false,
1136
+ description: "Default evidence retention period in days"
1137
+ },
1138
+ {
1139
+ name: "piiMode",
1140
+ flag: "--pii-mode",
1141
+ type: "string",
1142
+ required: false,
1143
+ description: "PII collection mode"
1144
+ },
1145
+ {
1146
+ name: "webhookUrl",
1147
+ flag: "--webhook-url",
1148
+ type: "string",
1149
+ required: false,
1150
+ description: "Webhook URL for notifications"
1151
+ },
1152
+ {
1153
+ name: "webhookSecret",
1154
+ flag: "--webhook-secret",
1155
+ type: "string",
1156
+ required: false,
1157
+ description: "Webhook signing secret"
1158
+ },
1159
+ {
1160
+ name: "webhookEnabled",
1161
+ flag: "--webhook-enabled",
1162
+ type: "boolean",
1163
+ required: false,
1164
+ description: "Whether webhooks are enabled"
1165
+ }
1166
+ ],
1167
+ produces: "json",
1168
+ consumes: "json"
1169
+ },
1170
+ {
1171
+ api: "click",
1172
+ operationId: "downloadOriginalDocx",
1173
+ topic: "render",
1174
+ command: "download",
1175
+ method: "GET",
1176
+ path: "/v1/click/render/template-versions/{versionId}/download",
1177
+ summary: "Download Original DOCX Template",
1178
+ description: "Download the original DOCX file for a template version",
1179
+ pathParams: [
1180
+ {
1181
+ name: "versionId",
1182
+ in: "path",
1183
+ flag: "--version-id",
1184
+ required: true
1185
+ }
1186
+ ],
1187
+ queryParams: [],
1188
+ hasBody: false,
1189
+ bodyFields: [],
1190
+ produces: "binary",
1191
+ consumes: "none"
1192
+ },
1193
+ {
1194
+ api: "click",
1195
+ operationId: "renderByDeploymentId",
1196
+ topic: "render",
1197
+ command: "get",
1198
+ method: "GET",
1199
+ path: "/v1/click/render/deployment/{id}",
1200
+ summary: "Render Experience JSON by Deployment ID",
1201
+ description: "Returns Experience JSON for a specific deployment ID with optional locale override",
1202
+ pathParams: [
1203
+ {
1204
+ name: "id",
1205
+ in: "path",
1206
+ flag: "--id",
1207
+ required: true,
1208
+ description: "Deployment ID"
1209
+ }
1210
+ ],
1211
+ queryParams: [
1212
+ {
1213
+ name: "locale",
1214
+ in: "query",
1215
+ flag: "--locale",
1216
+ required: false,
1217
+ description: "Locale for template resolution (overrides deployment default)"
1218
+ }
1219
+ ],
1220
+ hasBody: false,
1221
+ bodyFields: [],
1222
+ produces: "json",
1223
+ consumes: "none"
1224
+ },
1225
+ {
1226
+ api: "click",
1227
+ operationId: "renderExperience",
1228
+ topic: "render",
1229
+ command: "list",
1230
+ method: "GET",
1231
+ path: "/v1/click/render",
1232
+ summary: "Render Experience JSON",
1233
+ description: "Returns Experience JSON with template content and metadata for the specified route",
1234
+ pathParams: [],
1235
+ queryParams: [
1236
+ {
1237
+ name: "domain",
1238
+ in: "query",
1239
+ flag: "--domain",
1240
+ required: true,
1241
+ description: "Domain to resolve template for"
1242
+ },
1243
+ {
1244
+ name: "path",
1245
+ in: "query",
1246
+ flag: "--path",
1247
+ required: true,
1248
+ description: "Path to resolve template for"
1249
+ },
1250
+ {
1251
+ name: "variant",
1252
+ in: "query",
1253
+ flag: "--variant",
1254
+ required: false,
1255
+ description: "A/B testing variant identifier"
1256
+ },
1257
+ {
1258
+ name: "environment",
1259
+ in: "query",
1260
+ flag: "--environment",
1261
+ required: false,
1262
+ description: "Deployment environment"
1263
+ }
1264
+ ],
1265
+ hasBody: false,
1266
+ bodyFields: [],
1267
+ produces: "json",
1268
+ consumes: "none"
1269
+ },
1270
+ {
1271
+ api: "click",
1272
+ operationId: "archiveVersion",
1273
+ topic: "templates",
1274
+ command: "archive",
1275
+ method: "POST",
1276
+ path: "/v1/click/templates/{templateId}/versions/{versionId}/archive",
1277
+ summary: "Archive a template version",
1278
+ pathParams: [
1279
+ {
1280
+ name: "templateId",
1281
+ in: "path",
1282
+ flag: "--template-id",
1283
+ required: true,
1284
+ description: "Template ID"
1285
+ },
1286
+ {
1287
+ name: "versionId",
1288
+ in: "path",
1289
+ flag: "--version-id",
1290
+ required: true,
1291
+ description: "Version ID"
1292
+ }
1293
+ ],
1294
+ queryParams: [],
1295
+ hasBody: false,
1296
+ bodyFields: [],
1297
+ produces: "json",
1298
+ consumes: "none"
1299
+ },
1300
+ {
1301
+ api: "click",
1302
+ operationId: "getTemplateConfiguration",
1303
+ topic: "templates",
1304
+ command: "configuration",
1305
+ method: "GET",
1306
+ path: "/v1/click/templates/{id}/configuration",
1307
+ summary: "Get template configuration",
1308
+ description: "Returns template configuration including type config and policy flags",
1309
+ pathParams: [
1310
+ {
1311
+ name: "id",
1312
+ in: "path",
1313
+ flag: "--id",
1314
+ required: true,
1315
+ description: "Template ID"
1316
+ }
1317
+ ],
1318
+ queryParams: [],
1319
+ hasBody: false,
1320
+ bodyFields: [],
1321
+ produces: "json",
1322
+ consumes: "none"
1323
+ },
1324
+ {
1325
+ api: "click",
1326
+ operationId: "createTemplate",
1327
+ topic: "templates",
1328
+ command: "create",
1329
+ method: "POST",
1330
+ path: "/v1/click/templates",
1331
+ summary: "Create a new template",
1332
+ pathParams: [],
1333
+ queryParams: [],
1334
+ hasBody: true,
1335
+ bodyFields: [
1336
+ {
1337
+ name: "name",
1338
+ flag: "--name",
1339
+ type: "string",
1340
+ required: true,
1341
+ description: "Template name"
1342
+ },
1343
+ {
1344
+ name: "slug",
1345
+ flag: "--slug",
1346
+ type: "string",
1347
+ required: true,
1348
+ description: "Template slug (URL-friendly identifier)"
1349
+ },
1350
+ {
1351
+ name: "type",
1352
+ flag: "--type",
1353
+ type: "string",
1354
+ required: false,
1355
+ description: "Template type"
1356
+ },
1357
+ {
1358
+ name: "retentionDays",
1359
+ flag: "--retention-days",
1360
+ type: "number",
1361
+ required: false,
1362
+ description: "Data retention period in days"
1363
+ },
1364
+ {
1365
+ name: "consentVersion",
1366
+ flag: "--consent-version",
1367
+ type: "string",
1368
+ required: false,
1369
+ description: "Consent version"
1370
+ },
1371
+ {
1372
+ name: "description",
1373
+ flag: "--description",
1374
+ type: "string",
1375
+ required: false,
1376
+ description: "Template description"
1377
+ }
1378
+ ],
1379
+ produces: "json",
1380
+ consumes: "json"
1381
+ },
1382
+ {
1383
+ api: "click",
1384
+ operationId: "createVersion",
1385
+ topic: "templates",
1386
+ command: "create-version",
1387
+ method: "POST",
1388
+ path: "/v1/click/templates/{templateId}/versions",
1389
+ summary: "Create a new template version",
1390
+ pathParams: [
1391
+ {
1392
+ name: "templateId",
1393
+ in: "path",
1394
+ flag: "--template-id",
1395
+ required: true,
1396
+ description: "Template ID"
1397
+ }
1398
+ ],
1399
+ queryParams: [],
1400
+ hasBody: true,
1401
+ bodyFields: [
1402
+ {
1403
+ name: "version",
1404
+ flag: "--body-version",
1405
+ type: "string",
1406
+ required: false,
1407
+ description: "Semantic version number"
1408
+ },
1409
+ {
1410
+ name: "title",
1411
+ flag: "--title",
1412
+ type: "string",
1413
+ required: true,
1414
+ description: "Version title"
1415
+ },
1416
+ {
1417
+ name: "content",
1418
+ flag: "--content",
1419
+ type: "string",
1420
+ required: true,
1421
+ description: "Template content"
1422
+ },
1423
+ {
1424
+ name: "locale",
1425
+ flag: "--locale",
1426
+ type: "string",
1427
+ required: false,
1428
+ description: "Content locale"
1429
+ },
1430
+ {
1431
+ name: "format",
1432
+ flag: "--format",
1433
+ type: "string",
1434
+ required: false,
1435
+ description: "Content format"
1436
+ },
1437
+ {
1438
+ name: "published",
1439
+ flag: "--published",
1440
+ type: "boolean",
1441
+ required: false,
1442
+ description: "Whether to publish immediately"
1443
+ }
1444
+ ],
1445
+ fileField: "content",
1446
+ produces: "json",
1447
+ consumes: "json"
1448
+ },
1449
+ {
1450
+ api: "click",
1451
+ operationId: "removeTemplate",
1452
+ topic: "templates",
1453
+ command: "delete",
1454
+ method: "DELETE",
1455
+ path: "/v1/click/templates/{id}",
1456
+ summary: "Delete a template",
1457
+ pathParams: [
1458
+ {
1459
+ name: "id",
1460
+ in: "path",
1461
+ flag: "--id",
1462
+ required: true,
1463
+ description: "Template ID"
1464
+ }
1465
+ ],
1466
+ queryParams: [],
1467
+ hasBody: false,
1468
+ bodyFields: [],
1469
+ produces: "json",
1470
+ consumes: "none"
1471
+ },
1472
+ {
1473
+ api: "click",
1474
+ operationId: "findOneVersion",
1475
+ topic: "templates",
1476
+ command: "find-one-version",
1477
+ method: "GET",
1478
+ path: "/v1/click/templates/{templateId}/versions/{versionId}",
1479
+ summary: "Get a specific template version",
1480
+ pathParams: [
1481
+ {
1482
+ name: "templateId",
1483
+ in: "path",
1484
+ flag: "--template-id",
1485
+ required: true,
1486
+ description: "Template ID"
1487
+ },
1488
+ {
1489
+ name: "versionId",
1490
+ in: "path",
1491
+ flag: "--version-id",
1492
+ required: true,
1493
+ description: "Version ID"
1494
+ }
1495
+ ],
1496
+ queryParams: [
1497
+ {
1498
+ name: "includeTemplate",
1499
+ in: "query",
1500
+ flag: "--include-template",
1501
+ required: false
1502
+ },
1503
+ {
1504
+ name: "includeDeployments",
1505
+ in: "query",
1506
+ flag: "--include-deployments",
1507
+ required: false
1508
+ }
1509
+ ],
1510
+ hasBody: false,
1511
+ bodyFields: [],
1512
+ produces: "json",
1513
+ consumes: "none"
1514
+ },
1515
+ {
1516
+ api: "click",
1517
+ operationId: "findOneTemplate",
1518
+ topic: "templates",
1519
+ command: "get",
1520
+ method: "GET",
1521
+ path: "/v1/click/templates/{id}",
1522
+ summary: "Get a specific template",
1523
+ pathParams: [
1524
+ {
1525
+ name: "id",
1526
+ in: "path",
1527
+ flag: "--id",
1528
+ required: true,
1529
+ description: "Template ID"
1530
+ }
1531
+ ],
1532
+ queryParams: [
1533
+ {
1534
+ name: "includeVersions",
1535
+ in: "query",
1536
+ flag: "--include-versions",
1537
+ required: false
1538
+ }
1539
+ ],
1540
+ hasBody: false,
1541
+ bodyFields: [],
1542
+ produces: "json",
1543
+ consumes: "none"
1544
+ },
1545
+ {
1546
+ api: "click",
1547
+ operationId: "findAllTemplates",
1548
+ topic: "templates",
1549
+ command: "list",
1550
+ method: "GET",
1551
+ path: "/v1/click/templates",
1552
+ summary: "List all templates",
1553
+ pathParams: [],
1554
+ queryParams: [
1555
+ {
1556
+ name: "includeVersions",
1557
+ in: "query",
1558
+ flag: "--include-versions",
1559
+ required: false
1560
+ }
1561
+ ],
1562
+ hasBody: false,
1563
+ bodyFields: [],
1564
+ produces: "json",
1565
+ consumes: "none"
1566
+ },
1567
+ {
1568
+ api: "click",
1569
+ operationId: "applyPolicyFlags",
1570
+ topic: "templates",
1571
+ command: "policy-flags",
1572
+ method: "POST",
1573
+ path: "/v1/click/templates/{id}/policy-flags",
1574
+ summary: "Apply policy flags to template",
1575
+ description: "Updates template policy flags with validation",
1576
+ pathParams: [
1577
+ {
1578
+ name: "id",
1579
+ in: "path",
1580
+ flag: "--id",
1581
+ required: true,
1582
+ description: "Template ID"
1583
+ }
1584
+ ],
1585
+ queryParams: [],
1586
+ hasBody: false,
1587
+ bodyFields: [],
1588
+ produces: "json",
1589
+ consumes: "none"
1590
+ },
1591
+ {
1592
+ api: "click",
1593
+ operationId: "publishVersion",
1594
+ topic: "templates",
1595
+ command: "publish",
1596
+ method: "POST",
1597
+ path: "/v1/click/templates/{templateId}/versions/{versionId}/publish",
1598
+ summary: "Publish or unpublish a template version",
1599
+ pathParams: [
1600
+ {
1601
+ name: "templateId",
1602
+ in: "path",
1603
+ flag: "--template-id",
1604
+ required: true,
1605
+ description: "Template ID"
1606
+ },
1607
+ {
1608
+ name: "versionId",
1609
+ in: "path",
1610
+ flag: "--version-id",
1611
+ required: true,
1612
+ description: "Version ID"
1613
+ }
1614
+ ],
1615
+ queryParams: [],
1616
+ hasBody: true,
1617
+ bodyFields: [
1618
+ {
1619
+ name: "published",
1620
+ flag: "--published",
1621
+ type: "boolean",
1622
+ required: false,
1623
+ description: "Whether to publish the version"
1624
+ }
1625
+ ],
1626
+ produces: "json",
1627
+ consumes: "json"
1628
+ },
1629
+ {
1630
+ api: "click",
1631
+ operationId: "findPublishedVersions",
1632
+ topic: "templates",
1633
+ command: "published",
1634
+ method: "GET",
1635
+ path: "/v1/click/templates/{templateId}/versions/published",
1636
+ summary: "List published versions for a template",
1637
+ pathParams: [
1638
+ {
1639
+ name: "templateId",
1640
+ in: "path",
1641
+ flag: "--template-id",
1642
+ required: true,
1643
+ description: "Template ID"
1644
+ }
1645
+ ],
1646
+ queryParams: [],
1647
+ hasBody: false,
1648
+ bodyFields: [],
1649
+ produces: "json",
1650
+ consumes: "none"
1651
+ },
1652
+ {
1653
+ api: "click",
1654
+ operationId: "getTemplateStats",
1655
+ topic: "templates",
1656
+ command: "stats",
1657
+ method: "GET",
1658
+ path: "/v1/click/templates/{id}/stats",
1659
+ summary: "Get template statistics",
1660
+ pathParams: [
1661
+ {
1662
+ name: "id",
1663
+ in: "path",
1664
+ flag: "--id",
1665
+ required: true,
1666
+ description: "Template ID"
1667
+ }
1668
+ ],
1669
+ queryParams: [],
1670
+ hasBody: false,
1671
+ bodyFields: [],
1672
+ produces: "json",
1673
+ consumes: "none"
1674
+ },
1675
+ {
1676
+ api: "click",
1677
+ operationId: "getTemplateTypes",
1678
+ topic: "templates",
1679
+ command: "types",
1680
+ method: "GET",
1681
+ path: "/v1/click/templates/types",
1682
+ summary: "Get available template types",
1683
+ description: "Returns all available template types with their configurations",
1684
+ pathParams: [],
1685
+ queryParams: [],
1686
+ hasBody: false,
1687
+ bodyFields: [],
1688
+ produces: "json",
1689
+ consumes: "none"
1690
+ },
1691
+ {
1692
+ api: "click",
1693
+ operationId: "updateTemplate",
1694
+ topic: "templates",
1695
+ command: "update",
1696
+ method: "PATCH",
1697
+ path: "/v1/click/templates/{id}",
1698
+ summary: "Update a template",
1699
+ pathParams: [
1700
+ {
1701
+ name: "id",
1702
+ in: "path",
1703
+ flag: "--id",
1704
+ required: true,
1705
+ description: "Template ID"
1706
+ }
1707
+ ],
1708
+ queryParams: [],
1709
+ hasBody: true,
1710
+ bodyFields: [
1711
+ {
1712
+ name: "name",
1713
+ flag: "--name",
1714
+ type: "string",
1715
+ required: false,
1716
+ description: "Template name"
1717
+ },
1718
+ {
1719
+ name: "slug",
1720
+ flag: "--slug",
1721
+ type: "string",
1722
+ required: false,
1723
+ description: "Template slug (URL-friendly identifier)"
1724
+ },
1725
+ {
1726
+ name: "type",
1727
+ flag: "--type",
1728
+ type: "string",
1729
+ required: false,
1730
+ description: "Template type"
1731
+ },
1732
+ {
1733
+ name: "retentionDays",
1734
+ flag: "--retention-days",
1735
+ type: "number",
1736
+ required: false,
1737
+ description: "Data retention period in days"
1738
+ },
1739
+ {
1740
+ name: "consentVersion",
1741
+ flag: "--consent-version",
1742
+ type: "string",
1743
+ required: false,
1744
+ description: "Consent version"
1745
+ },
1746
+ {
1747
+ name: "description",
1748
+ flag: "--description",
1749
+ type: "string",
1750
+ required: false,
1751
+ description: "Template description"
1752
+ }
1753
+ ],
1754
+ produces: "json",
1755
+ consumes: "json"
1756
+ },
1757
+ {
1758
+ api: "click",
1759
+ operationId: "updateVersion",
1760
+ topic: "templates",
1761
+ command: "update-version",
1762
+ method: "PATCH",
1763
+ path: "/v1/click/templates/{templateId}/versions/{versionId}",
1764
+ summary: "Update a template version",
1765
+ pathParams: [
1766
+ {
1767
+ name: "templateId",
1768
+ in: "path",
1769
+ flag: "--template-id",
1770
+ required: true,
1771
+ description: "Template ID"
1772
+ },
1773
+ {
1774
+ name: "versionId",
1775
+ in: "path",
1776
+ flag: "--version-id",
1777
+ required: true,
1778
+ description: "Version ID"
1779
+ }
1780
+ ],
1781
+ queryParams: [],
1782
+ hasBody: true,
1783
+ bodyFields: [
1784
+ {
1785
+ name: "version",
1786
+ flag: "--body-version",
1787
+ type: "string",
1788
+ required: false,
1789
+ description: "Semantic version number"
1790
+ },
1791
+ {
1792
+ name: "title",
1793
+ flag: "--title",
1794
+ type: "string",
1795
+ required: false,
1796
+ description: "Version title"
1797
+ },
1798
+ {
1799
+ name: "content",
1800
+ flag: "--content",
1801
+ type: "string",
1802
+ required: false,
1803
+ description: "Template content"
1804
+ },
1805
+ {
1806
+ name: "locale",
1807
+ flag: "--locale",
1808
+ type: "string",
1809
+ required: false,
1810
+ description: "Content locale"
1811
+ },
1812
+ {
1813
+ name: "format",
1814
+ flag: "--format",
1815
+ type: "string",
1816
+ required: false,
1817
+ description: "Content format"
1818
+ },
1819
+ {
1820
+ name: "published",
1821
+ flag: "--published",
1822
+ type: "boolean",
1823
+ required: false,
1824
+ description: "Whether to publish immediately"
1825
+ }
1826
+ ],
1827
+ fileField: "content",
1828
+ produces: "json",
1829
+ consumes: "json"
1830
+ },
1831
+ {
1832
+ api: "click",
1833
+ operationId: "validateContent",
1834
+ topic: "templates",
1835
+ command: "validate-content",
1836
+ method: "POST",
1837
+ path: "/v1/click/templates/validate-content",
1838
+ summary: "Validate template content",
1839
+ description: "Validates template content against type-specific rules. `type` is REQUIRED and identifies which validation ruleset to apply.",
1840
+ pathParams: [],
1841
+ queryParams: [],
1842
+ hasBody: true,
1843
+ bodyFields: [
1844
+ {
1845
+ name: "type",
1846
+ flag: "--type",
1847
+ type: "string",
1848
+ required: true,
1849
+ description: "Template type to validate against"
1850
+ },
1851
+ {
1852
+ name: "content",
1853
+ flag: "--content",
1854
+ type: "string",
1855
+ required: true,
1856
+ description: "The template content to validate"
1857
+ },
1858
+ {
1859
+ name: "format",
1860
+ flag: "--format",
1861
+ type: "string",
1862
+ required: false,
1863
+ description: "Content format (defaults to `html`)"
1864
+ }
1865
+ ],
1866
+ fileField: "content",
1867
+ produces: "json",
1868
+ consumes: "json"
1869
+ },
1870
+ {
1871
+ api: "click",
1872
+ operationId: "getVerificationRequirements",
1873
+ topic: "templates",
1874
+ command: "verification-requirements",
1875
+ method: "GET",
1876
+ path: "/v1/click/templates/{id}/verification-requirements",
1877
+ summary: "Get template verification requirements",
1878
+ description: "Returns what verification methods are required for this template",
1879
+ pathParams: [
1880
+ {
1881
+ name: "id",
1882
+ in: "path",
1883
+ flag: "--id",
1884
+ required: true,
1885
+ description: "Template ID"
1886
+ }
1887
+ ],
1888
+ queryParams: [],
1889
+ hasBody: false,
1890
+ bodyFields: [],
1891
+ produces: "json",
1892
+ consumes: "none"
1893
+ },
1894
+ {
1895
+ api: "click",
1896
+ operationId: "findAllVersions",
1897
+ topic: "templates",
1898
+ command: "versions",
1899
+ method: "GET",
1900
+ path: "/v1/click/templates/{templateId}/versions",
1901
+ summary: "List all versions for a template",
1902
+ pathParams: [
1903
+ {
1904
+ name: "templateId",
1905
+ in: "path",
1906
+ flag: "--template-id",
1907
+ required: true,
1908
+ description: "Template ID"
1909
+ }
1910
+ ],
1911
+ queryParams: [
1912
+ {
1913
+ name: "includeTemplate",
1914
+ in: "query",
1915
+ flag: "--include-template",
1916
+ required: false
1917
+ },
1918
+ {
1919
+ name: "includeDeployments",
1920
+ in: "query",
1921
+ flag: "--include-deployments",
1922
+ required: false
1923
+ }
1924
+ ],
1925
+ hasBody: false,
1926
+ bodyFields: [],
1927
+ produces: "json",
1928
+ consumes: "none"
1929
+ },
1930
+ {
1931
+ api: "click",
1932
+ operationId: "acceptInvitation",
1933
+ topic: "users",
1934
+ command: "accept-invitation",
1935
+ method: "POST",
1936
+ path: "/v1/click/users/accept-invitation",
1937
+ summary: "Accept organization invitation",
1938
+ pathParams: [],
1939
+ queryParams: [],
1940
+ hasBody: true,
1941
+ bodyFields: [
1942
+ {
1943
+ name: "token",
1944
+ flag: "--body-token",
1945
+ type: "string",
1946
+ required: true,
1947
+ description: "Invitation token"
1948
+ },
1949
+ {
1950
+ name: "name",
1951
+ flag: "--name",
1952
+ type: "string",
1953
+ required: true,
1954
+ description: "User full name"
1955
+ },
1956
+ {
1957
+ name: "password",
1958
+ flag: "--password",
1959
+ type: "string",
1960
+ required: false,
1961
+ description: "User password (if not using SSO)"
1962
+ }
1963
+ ],
1964
+ produces: "json",
1965
+ consumes: "json"
1966
+ },
1967
+ {
1968
+ api: "click",
1969
+ operationId: "revokePersonalApiKey",
1970
+ topic: "users",
1971
+ command: "api-key",
1972
+ method: "DELETE",
1973
+ path: "/v1/click/users/{userId}/api-key",
1974
+ summary: "Revoke personal API key for user",
1975
+ pathParams: [
1976
+ {
1977
+ name: "userId",
1978
+ in: "path",
1979
+ flag: "--user-id",
1980
+ required: true,
1981
+ description: "User ID"
1982
+ }
1983
+ ],
1984
+ queryParams: [],
1985
+ hasBody: false,
1986
+ bodyFields: [],
1987
+ produces: "json",
1988
+ consumes: "none"
1989
+ },
1990
+ {
1991
+ api: "click",
1992
+ operationId: "cancelInvitation",
1993
+ topic: "users",
1994
+ command: "cancel-invitation",
1995
+ method: "DELETE",
1996
+ path: "/v1/click/users/organization/invitations/{invitationId}",
1997
+ summary: "Cancel pending invitation",
1998
+ pathParams: [
1999
+ {
2000
+ name: "invitationId",
2001
+ in: "path",
2002
+ flag: "--invitation-id",
2003
+ required: true,
2004
+ description: "Invitation ID to cancel"
2005
+ }
2006
+ ],
2007
+ queryParams: [],
2008
+ hasBody: false,
2009
+ bodyFields: [],
2010
+ produces: "json",
2011
+ consumes: "none"
2012
+ },
2013
+ {
2014
+ api: "click",
2015
+ operationId: "getUserCapabilities",
2016
+ topic: "users",
2017
+ command: "capabilities",
2018
+ method: "GET",
2019
+ path: "/v1/click/users/organization/members/{userId}/capabilities",
2020
+ summary: "Get user capabilities in organization",
2021
+ pathParams: [
2022
+ {
2023
+ name: "userId",
2024
+ in: "path",
2025
+ flag: "--user-id",
2026
+ required: true,
2027
+ description: "User ID"
2028
+ }
2029
+ ],
2030
+ queryParams: [],
2031
+ hasBody: false,
2032
+ bodyFields: [],
2033
+ produces: "json",
2034
+ consumes: "none"
2035
+ },
2036
+ {
2037
+ api: "click",
2038
+ operationId: "removeMember",
2039
+ topic: "users",
2040
+ command: "delete",
2041
+ method: "DELETE",
2042
+ path: "/v1/click/users/organization/members/{userId}",
2043
+ summary: "Remove user from organization",
2044
+ pathParams: [
2045
+ {
2046
+ name: "userId",
2047
+ in: "path",
2048
+ flag: "--user-id",
2049
+ required: true,
2050
+ description: "User ID to remove"
2051
+ }
2052
+ ],
2053
+ queryParams: [],
2054
+ hasBody: false,
2055
+ bodyFields: [],
2056
+ produces: "json",
2057
+ consumes: "none"
2058
+ },
2059
+ {
2060
+ api: "click",
2061
+ operationId: "generatePersonalApiKey",
2062
+ topic: "users",
2063
+ command: "generate",
2064
+ method: "POST",
2065
+ path: "/v1/click/users/{userId}/api-key/generate",
2066
+ summary: "Generate personal API key for user",
2067
+ pathParams: [
2068
+ {
2069
+ name: "userId",
2070
+ in: "path",
2071
+ flag: "--user-id",
2072
+ required: true,
2073
+ description: "User ID"
2074
+ }
2075
+ ],
2076
+ queryParams: [],
2077
+ hasBody: false,
2078
+ bodyFields: [],
2079
+ produces: "json",
2080
+ consumes: "none"
2081
+ },
2082
+ {
2083
+ api: "click",
2084
+ operationId: "inviteUser",
2085
+ topic: "users",
2086
+ command: "invite",
2087
+ method: "POST",
2088
+ path: "/v1/click/users/organization/invite",
2089
+ summary: "Invite a user to the organization",
2090
+ pathParams: [],
2091
+ queryParams: [],
2092
+ hasBody: true,
2093
+ bodyFields: [
2094
+ {
2095
+ name: "email",
2096
+ flag: "--email",
2097
+ type: "string",
2098
+ required: true,
2099
+ description: "Email address to invite"
2100
+ },
2101
+ {
2102
+ name: "role",
2103
+ flag: "--role",
2104
+ type: "string",
2105
+ required: true,
2106
+ description: "Role to assign to the invited user"
2107
+ },
2108
+ {
2109
+ name: "expiresAt",
2110
+ flag: "--expires-at",
2111
+ type: "string",
2112
+ required: false,
2113
+ description: "Expiration date for time-bounded access"
2114
+ }
2115
+ ],
2116
+ produces: "json",
2117
+ consumes: "json"
2118
+ },
2119
+ {
2120
+ api: "click",
2121
+ operationId: "getOrganizationMembers",
2122
+ topic: "users",
2123
+ command: "members",
2124
+ method: "GET",
2125
+ path: "/v1/click/users/organization/members",
2126
+ summary: "Get organization members and invitations",
2127
+ pathParams: [],
2128
+ queryParams: [],
2129
+ hasBody: false,
2130
+ bodyFields: [],
2131
+ produces: "json",
2132
+ consumes: "none"
2133
+ },
2134
+ {
2135
+ api: "click",
2136
+ operationId: "getRoles",
2137
+ topic: "users",
2138
+ command: "roles",
2139
+ method: "GET",
2140
+ path: "/v1/click/users/roles",
2141
+ summary: "Get available RBAC roles and their capabilities",
2142
+ pathParams: [],
2143
+ queryParams: [],
2144
+ hasBody: false,
2145
+ bodyFields: [],
2146
+ produces: "json",
2147
+ consumes: "none"
2148
+ },
2149
+ {
2150
+ api: "click",
2151
+ operationId: "getUserSettings",
2152
+ topic: "users",
2153
+ command: "settings",
2154
+ method: "GET",
2155
+ path: "/v1/click/users/{userId}/settings",
2156
+ summary: "Get user settings",
2157
+ pathParams: [
2158
+ {
2159
+ name: "userId",
2160
+ in: "path",
2161
+ flag: "--user-id",
2162
+ required: true,
2163
+ description: "User ID"
2164
+ }
2165
+ ],
2166
+ queryParams: [],
2167
+ hasBody: false,
2168
+ bodyFields: [],
2169
+ produces: "json",
2170
+ consumes: "none"
2171
+ },
2172
+ {
2173
+ api: "click",
2174
+ operationId: "updateMembership",
2175
+ topic: "users",
2176
+ command: "update",
2177
+ method: "PUT",
2178
+ path: "/v1/click/users/organization/members/{userId}",
2179
+ summary: "Update organization membership",
2180
+ pathParams: [
2181
+ {
2182
+ name: "userId",
2183
+ in: "path",
2184
+ flag: "--user-id",
2185
+ required: true,
2186
+ description: "User ID to update"
2187
+ }
2188
+ ],
2189
+ queryParams: [],
2190
+ hasBody: true,
2191
+ bodyFields: [
2192
+ {
2193
+ name: "role",
2194
+ flag: "--role",
2195
+ type: "string",
2196
+ required: false,
2197
+ description: "New role for the user"
2198
+ },
2199
+ {
2200
+ name: "status",
2201
+ flag: "--status",
2202
+ type: "string",
2203
+ required: false,
2204
+ description: "New membership status"
2205
+ },
2206
+ {
2207
+ name: "expiresAt",
2208
+ flag: "--expires-at",
2209
+ type: "string",
2210
+ required: false,
2211
+ description: "New expiration date"
2212
+ }
2213
+ ],
2214
+ produces: "json",
2215
+ consumes: "json"
2216
+ },
2217
+ {
2218
+ api: "click",
2219
+ operationId: "updateUserSettings",
2220
+ topic: "users",
2221
+ command: "update-user-settings",
2222
+ method: "PUT",
2223
+ path: "/v1/click/users/{userId}/settings",
2224
+ summary: "Update user settings",
2225
+ pathParams: [
2226
+ {
2227
+ name: "userId",
2228
+ in: "path",
2229
+ flag: "--user-id",
2230
+ required: true,
2231
+ description: "User ID"
2232
+ }
2233
+ ],
2234
+ queryParams: [],
2235
+ hasBody: true,
2236
+ bodyFields: [
2237
+ {
2238
+ name: "timezone",
2239
+ flag: "--timezone",
2240
+ type: "string",
2241
+ required: false,
2242
+ description: "User timezone"
2243
+ },
2244
+ {
2245
+ name: "language",
2246
+ flag: "--language",
2247
+ type: "string",
2248
+ required: false,
2249
+ description: "User language preference"
2250
+ },
2251
+ {
2252
+ name: "theme",
2253
+ flag: "--theme",
2254
+ type: "string",
2255
+ required: false,
2256
+ description: "UI theme preference"
2257
+ },
2258
+ {
2259
+ name: "defaultDashboardView",
2260
+ flag: "--default-dashboard-view",
2261
+ type: "string",
2262
+ required: false,
2263
+ description: "Default dashboard view"
2264
+ },
2265
+ {
2266
+ name: "itemsPerPage",
2267
+ flag: "--items-per-page",
2268
+ type: "number",
2269
+ required: false,
2270
+ description: "Items per page in lists"
2271
+ },
2272
+ {
2273
+ name: "twoFactorEnabled",
2274
+ flag: "--two-factor-enabled",
2275
+ type: "boolean",
2276
+ required: false,
2277
+ description: "Whether two-factor authentication is enabled"
2278
+ },
2279
+ {
2280
+ name: "sessionTimeout",
2281
+ flag: "--session-timeout",
2282
+ type: "number",
2283
+ required: false,
2284
+ description: "Session timeout in minutes"
2285
+ }
2286
+ ],
2287
+ produces: "json",
2288
+ consumes: "json"
2289
+ },
2290
+ {
2291
+ api: "click",
2292
+ operationId: "generateCertificate",
2293
+ topic: "validation",
2294
+ command: "certificate",
2295
+ method: "POST",
2296
+ path: "/v1/click/validate/certificate",
2297
+ summary: "Generate verification certificate",
2298
+ description: "Generate a printable verification certificate from validation results",
2299
+ pathParams: [],
2300
+ queryParams: [],
2301
+ hasBody: false,
2302
+ bodyFields: [],
2303
+ produces: "json",
2304
+ consumes: "none"
2305
+ },
2306
+ {
2307
+ api: "click",
2308
+ operationId: "downloadCertificate",
2309
+ topic: "validation",
2310
+ command: "download",
2311
+ method: "GET",
2312
+ path: "/v1/click/validate/certificate/{certificateId}/download",
2313
+ summary: "Download verification certificate as PDF",
2314
+ description: "Download a verification certificate in PDF format",
2315
+ pathParams: [
2316
+ {
2317
+ name: "certificateId",
2318
+ in: "path",
2319
+ flag: "--certificate-id",
2320
+ required: true
2321
+ }
2322
+ ],
2323
+ queryParams: [],
2324
+ hasBody: false,
2325
+ bodyFields: [],
2326
+ produces: "json",
2327
+ consumes: "none"
2328
+ },
2329
+ {
2330
+ api: "click",
2331
+ operationId: "getCertificate",
2332
+ topic: "validation",
2333
+ command: "get",
2334
+ method: "GET",
2335
+ path: "/v1/click/validate/certificate/{certificateId}",
2336
+ summary: "Retrieve verification certificate",
2337
+ description: "Get a previously generated verification certificate by ID",
2338
+ pathParams: [
2339
+ {
2340
+ name: "certificateId",
2341
+ in: "path",
2342
+ flag: "--certificate-id",
2343
+ required: true
2344
+ }
2345
+ ],
2346
+ queryParams: [],
2347
+ hasBody: false,
2348
+ bodyFields: [],
2349
+ produces: "json",
2350
+ consumes: "none"
2351
+ },
2352
+ {
2353
+ api: "click",
2354
+ operationId: "validateReceiptJson",
2355
+ topic: "validation",
2356
+ command: "receipt",
2357
+ method: "POST",
2358
+ path: "/v1/click/validate/receipt",
2359
+ summary: "Validate a cryptographic receipt",
2360
+ description: "Upload and verify the authenticity of a cryptographic receipt JSON file",
2361
+ pathParams: [],
2362
+ queryParams: [],
2363
+ hasBody: false,
2364
+ bodyFields: [],
2365
+ produces: "json",
2366
+ consumes: "none"
2367
+ },
2368
+ {
2369
+ api: "click",
2370
+ operationId: "validateReceiptFile",
2371
+ topic: "validation",
2372
+ command: "upload",
2373
+ method: "POST",
2374
+ path: "/v1/click/validate/receipt/upload",
2375
+ summary: "Validate a receipt file upload",
2376
+ description: "Upload a receipt.json file for verification",
2377
+ pathParams: [],
2378
+ queryParams: [],
2379
+ hasBody: false,
2380
+ bodyFields: [],
2381
+ produces: "json",
2382
+ consumes: "none"
2383
+ },
2384
+ {
2385
+ api: "click",
2386
+ operationId: "validateAndCertify",
2387
+ topic: "validation",
2388
+ command: "validate-and-certify",
2389
+ method: "POST",
2390
+ path: "/v1/click/validate/validate-and-certify",
2391
+ summary: "Validate receipt and generate certificate in one step",
2392
+ description: "Convenience endpoint that validates a receipt and generates a certificate",
2393
+ pathParams: [],
2394
+ queryParams: [],
2395
+ hasBody: false,
2396
+ bodyFields: [],
2397
+ produces: "json",
2398
+ consumes: "none"
2399
+ },
2400
+ {
2401
+ api: "click",
2402
+ operationId: "sendEmailVerification",
2403
+ topic: "verification",
2404
+ command: "send",
2405
+ method: "POST",
2406
+ path: "/v1/click/verification/email/send",
2407
+ summary: "Send email verification code",
2408
+ pathParams: [],
2409
+ queryParams: [],
2410
+ hasBody: false,
2411
+ bodyFields: [],
2412
+ produces: "json",
2413
+ consumes: "none"
2414
+ },
2415
+ {
2416
+ api: "click",
2417
+ operationId: "sendSMSVerification",
2418
+ topic: "verification",
2419
+ command: "send-smsverification",
2420
+ method: "POST",
2421
+ path: "/v1/click/verification/sms/send",
2422
+ summary: "Send SMS verification code",
2423
+ pathParams: [],
2424
+ queryParams: [],
2425
+ hasBody: false,
2426
+ bodyFields: [],
2427
+ produces: "json",
2428
+ consumes: "none"
2429
+ },
2430
+ {
2431
+ api: "click",
2432
+ operationId: "verifyEmailCode",
2433
+ topic: "verification",
2434
+ command: "verify",
2435
+ method: "POST",
2436
+ path: "/v1/click/verification/email/verify",
2437
+ summary: "Verify email code",
2438
+ pathParams: [],
2439
+ queryParams: [],
2440
+ hasBody: false,
2441
+ bodyFields: [],
2442
+ produces: "json",
2443
+ consumes: "none"
2444
+ },
2445
+ {
2446
+ api: "click",
2447
+ operationId: "verifySMSCode",
2448
+ topic: "verification",
2449
+ command: "verify-smscode",
2450
+ method: "POST",
2451
+ path: "/v1/click/verification/sms/verify",
2452
+ summary: "Verify SMS code",
2453
+ pathParams: [],
2454
+ queryParams: [],
2455
+ hasBody: false,
2456
+ bodyFields: [],
2457
+ produces: "json",
2458
+ consumes: "none"
2459
+ },
195
2460
  {
196
2461
  api: "docgen",
197
2462
  operationId: "listPendingApprovals",
@@ -2590,6 +4855,143 @@ function callOperation(api, operationId, req, ctx) {
2590
4855
  return request(entry, req, ctx);
2591
4856
  }
2592
4857
  var operations = {
4858
+ "click": {
4859
+ /** Accept consent (POST /v1/click/accept) */
4860
+ "acceptConsent": (req, ctx) => callOperation("click", "acceptConsent", req, ctx),
4861
+ "getEvidenceBundle": (req, ctx) => callOperation("click", "getEvidenceBundle", req, ctx),
4862
+ "getAcceptance": (req, ctx) => callOperation("click", "getAcceptance", req, ctx),
4863
+ "getReceipt": (req, ctx) => callOperation("click", "getReceipt", req, ctx),
4864
+ "getAcceptances": (req, ctx) => callOperation("click", "getAcceptances", req, ctx),
4865
+ "getScreenshot": (req, ctx) => callOperation("click", "getScreenshot", req, ctx),
4866
+ "getRetentionStatus": (req, ctx) => callOperation("click", "getRetentionStatus", req, ctx),
4867
+ /** Get acceptance analytics (GET /v1/click/analytics/acceptance) */
4868
+ "getAcceptanceAnalytics": (req, ctx) => callOperation("click", "getAcceptanceAnalytics", req, ctx),
4869
+ /** Get dashboard analytics and metrics (GET /v1/click/analytics/dashboard) */
4870
+ "getDashboardMetrics": (req, ctx) => callOperation("click", "getDashboardMetrics", req, ctx),
4871
+ /** Complete a click session (POST /v1/click/sessions/{id}/complete) */
4872
+ "completeSession": (req, ctx) => callOperation("click", "completeSession", req, ctx),
4873
+ /** Update user consent state (POST /v1/click/consent/{userRef}) */
4874
+ "updateUserConsentState": (req, ctx) => callOperation("click", "updateUserConsentState", req, ctx),
4875
+ /** Get a click session (GET /v1/click/sessions/{id}) */
4876
+ "getSession": (req, ctx) => callOperation("click", "getSession", req, ctx),
4877
+ /** Get evidence bundle for a session (GET /v1/click/evidence/{sessionId}) */
4878
+ "getClickEvidenceBundle": (req, ctx) => callOperation("click", "getClickEvidenceBundle", req, ctx),
4879
+ /** Get user consent state (GET /v1/click/consent/{userRef}) */
4880
+ "getUserConsentState": (req, ctx) => callOperation("click", "getUserConsentState", req, ctx),
4881
+ /** Create a click session (POST /v1/click/sessions) */
4882
+ "createSession": (req, ctx) => callOperation("click", "createSession", req, ctx),
4883
+ /** Get Click default settings (GET /v1/click/config/click-defaults) */
4884
+ "getClickDefaults": (req, ctx) => callOperation("click", "getClickDefaults", req, ctx),
4885
+ /** Update Click default settings (PUT /v1/click/config/click-defaults) */
4886
+ "updateClickDefaults": (req, ctx) => callOperation("click", "updateClickDefaults", req, ctx),
4887
+ /** Get active deployments for a domain (GET /v1/click/deployments/domain/{domain}/active) */
4888
+ "findActiveByDomain": (req, ctx) => callOperation("click", "findActiveByDomain", req, ctx),
4889
+ /** Create a new deployment (POST /v1/click/deployments) */
4890
+ "createDeployment": (req, ctx) => callOperation("click", "createDeployment", req, ctx),
4891
+ /** Deactivate deployments by path (POST /v1/click/deployments/domain/{domain}/deactivate) */
4892
+ "deactivateByPath": (req, ctx) => callOperation("click", "deactivateByPath", req, ctx),
4893
+ /** Delete a deployment (DELETE /v1/click/deployments/{id}) */
4894
+ "removeDeployment": (req, ctx) => callOperation("click", "removeDeployment", req, ctx),
4895
+ /** Get a specific deployment (GET /v1/click/deployments/{id}) */
4896
+ "findOneDeployment": (req, ctx) => callOperation("click", "findOneDeployment", req, ctx),
4897
+ /** List all deployments (GET /v1/click/deployments) */
4898
+ "findAllDeployments": (req, ctx) => callOperation("click", "findAllDeployments", req, ctx),
4899
+ /** Update a deployment (PATCH /v1/click/deployments/{id}) */
4900
+ "updateDeployment": (req, ctx) => callOperation("click", "updateDeployment", req, ctx),
4901
+ "verifyOTP": (req, ctx) => callOperation("click", "verifyOTP", req, ctx),
4902
+ "startVerification": (req, ctx) => callOperation("click", "startVerification", req, ctx),
4903
+ "checkStatus": (req, ctx) => callOperation("click", "checkStatus", req, ctx),
4904
+ /** Get organization settings (GET /v1/click/organization/settings) */
4905
+ "getSettings": (req, ctx) => callOperation("click", "getSettings", req, ctx),
4906
+ /** Update organization settings (PATCH /v1/click/organization/settings) */
4907
+ "updateSettings": (req, ctx) => callOperation("click", "updateSettings", req, ctx),
4908
+ /** Download Original DOCX Template (GET /v1/click/render/template-versions/{versionId}/download) */
4909
+ "downloadOriginalDocx": (req, ctx) => callOperation("click", "downloadOriginalDocx", req, ctx),
4910
+ /** Render Experience JSON by Deployment ID (GET /v1/click/render/deployment/{id}) */
4911
+ "renderByDeploymentId": (req, ctx) => callOperation("click", "renderByDeploymentId", req, ctx),
4912
+ /** Render Experience JSON (GET /v1/click/render) */
4913
+ "renderExperience": (req, ctx) => callOperation("click", "renderExperience", req, ctx),
4914
+ /** Archive a template version (POST /v1/click/templates/{templateId}/versions/{versionId}/archive) */
4915
+ "archiveVersion": (req, ctx) => callOperation("click", "archiveVersion", req, ctx),
4916
+ /** Get template configuration (GET /v1/click/templates/{id}/configuration) */
4917
+ "getTemplateConfiguration": (req, ctx) => callOperation("click", "getTemplateConfiguration", req, ctx),
4918
+ /** Create a new template (POST /v1/click/templates) */
4919
+ "createTemplate": (req, ctx) => callOperation("click", "createTemplate", req, ctx),
4920
+ /** Create a new template version (POST /v1/click/templates/{templateId}/versions) */
4921
+ "createVersion": (req, ctx) => callOperation("click", "createVersion", req, ctx),
4922
+ /** Delete a template (DELETE /v1/click/templates/{id}) */
4923
+ "removeTemplate": (req, ctx) => callOperation("click", "removeTemplate", req, ctx),
4924
+ /** Get a specific template version (GET /v1/click/templates/{templateId}/versions/{versionId}) */
4925
+ "findOneVersion": (req, ctx) => callOperation("click", "findOneVersion", req, ctx),
4926
+ /** Get a specific template (GET /v1/click/templates/{id}) */
4927
+ "findOneTemplate": (req, ctx) => callOperation("click", "findOneTemplate", req, ctx),
4928
+ /** List all templates (GET /v1/click/templates) */
4929
+ "findAllTemplates": (req, ctx) => callOperation("click", "findAllTemplates", req, ctx),
4930
+ /** Apply policy flags to template (POST /v1/click/templates/{id}/policy-flags) */
4931
+ "applyPolicyFlags": (req, ctx) => callOperation("click", "applyPolicyFlags", req, ctx),
4932
+ /** Publish or unpublish a template version (POST /v1/click/templates/{templateId}/versions/{versionId}/publish) */
4933
+ "publishVersion": (req, ctx) => callOperation("click", "publishVersion", req, ctx),
4934
+ /** List published versions for a template (GET /v1/click/templates/{templateId}/versions/published) */
4935
+ "findPublishedVersions": (req, ctx) => callOperation("click", "findPublishedVersions", req, ctx),
4936
+ /** Get template statistics (GET /v1/click/templates/{id}/stats) */
4937
+ "getTemplateStats": (req, ctx) => callOperation("click", "getTemplateStats", req, ctx),
4938
+ /** Get available template types (GET /v1/click/templates/types) */
4939
+ "getTemplateTypes": (req, ctx) => callOperation("click", "getTemplateTypes", req, ctx),
4940
+ /** Update a template (PATCH /v1/click/templates/{id}) */
4941
+ "updateTemplate": (req, ctx) => callOperation("click", "updateTemplate", req, ctx),
4942
+ /** Update a template version (PATCH /v1/click/templates/{templateId}/versions/{versionId}) */
4943
+ "updateVersion": (req, ctx) => callOperation("click", "updateVersion", req, ctx),
4944
+ /** Validate template content (POST /v1/click/templates/validate-content) */
4945
+ "validateContent": (req, ctx) => callOperation("click", "validateContent", req, ctx),
4946
+ /** Get template verification requirements (GET /v1/click/templates/{id}/verification-requirements) */
4947
+ "getVerificationRequirements": (req, ctx) => callOperation("click", "getVerificationRequirements", req, ctx),
4948
+ /** List all versions for a template (GET /v1/click/templates/{templateId}/versions) */
4949
+ "findAllVersions": (req, ctx) => callOperation("click", "findAllVersions", req, ctx),
4950
+ /** Accept organization invitation (POST /v1/click/users/accept-invitation) */
4951
+ "acceptInvitation": (req, ctx) => callOperation("click", "acceptInvitation", req, ctx),
4952
+ /** Revoke personal API key for user (DELETE /v1/click/users/{userId}/api-key) */
4953
+ "revokePersonalApiKey": (req, ctx) => callOperation("click", "revokePersonalApiKey", req, ctx),
4954
+ /** Cancel pending invitation (DELETE /v1/click/users/organization/invitations/{invitationId}) */
4955
+ "cancelInvitation": (req, ctx) => callOperation("click", "cancelInvitation", req, ctx),
4956
+ /** Get user capabilities in organization (GET /v1/click/users/organization/members/{userId}/capabilities) */
4957
+ "getUserCapabilities": (req, ctx) => callOperation("click", "getUserCapabilities", req, ctx),
4958
+ /** Remove user from organization (DELETE /v1/click/users/organization/members/{userId}) */
4959
+ "removeMember": (req, ctx) => callOperation("click", "removeMember", req, ctx),
4960
+ /** Generate personal API key for user (POST /v1/click/users/{userId}/api-key/generate) */
4961
+ "generatePersonalApiKey": (req, ctx) => callOperation("click", "generatePersonalApiKey", req, ctx),
4962
+ /** Invite a user to the organization (POST /v1/click/users/organization/invite) */
4963
+ "inviteUser": (req, ctx) => callOperation("click", "inviteUser", req, ctx),
4964
+ /** Get organization members and invitations (GET /v1/click/users/organization/members) */
4965
+ "getOrganizationMembers": (req, ctx) => callOperation("click", "getOrganizationMembers", req, ctx),
4966
+ /** Get available RBAC roles and their capabilities (GET /v1/click/users/roles) */
4967
+ "getRoles": (req, ctx) => callOperation("click", "getRoles", req, ctx),
4968
+ /** Get user settings (GET /v1/click/users/{userId}/settings) */
4969
+ "getUserSettings": (req, ctx) => callOperation("click", "getUserSettings", req, ctx),
4970
+ /** Update organization membership (PUT /v1/click/users/organization/members/{userId}) */
4971
+ "updateMembership": (req, ctx) => callOperation("click", "updateMembership", req, ctx),
4972
+ /** Update user settings (PUT /v1/click/users/{userId}/settings) */
4973
+ "updateUserSettings": (req, ctx) => callOperation("click", "updateUserSettings", req, ctx),
4974
+ /** Generate verification certificate (POST /v1/click/validate/certificate) */
4975
+ "generateCertificate": (req, ctx) => callOperation("click", "generateCertificate", req, ctx),
4976
+ /** Download verification certificate as PDF (GET /v1/click/validate/certificate/{certificateId}/download) */
4977
+ "downloadCertificate": (req, ctx) => callOperation("click", "downloadCertificate", req, ctx),
4978
+ /** Retrieve verification certificate (GET /v1/click/validate/certificate/{certificateId}) */
4979
+ "getCertificate": (req, ctx) => callOperation("click", "getCertificate", req, ctx),
4980
+ /** Validate a cryptographic receipt (POST /v1/click/validate/receipt) */
4981
+ "validateReceiptJson": (req, ctx) => callOperation("click", "validateReceiptJson", req, ctx),
4982
+ /** Validate a receipt file upload (POST /v1/click/validate/receipt/upload) */
4983
+ "validateReceiptFile": (req, ctx) => callOperation("click", "validateReceiptFile", req, ctx),
4984
+ /** Validate receipt and generate certificate in one step (POST /v1/click/validate/validate-and-certify) */
4985
+ "validateAndCertify": (req, ctx) => callOperation("click", "validateAndCertify", req, ctx),
4986
+ /** Send email verification code (POST /v1/click/verification/email/send) */
4987
+ "sendEmailVerification": (req, ctx) => callOperation("click", "sendEmailVerification", req, ctx),
4988
+ /** Send SMS verification code (POST /v1/click/verification/sms/send) */
4989
+ "sendSMSVerification": (req, ctx) => callOperation("click", "sendSMSVerification", req, ctx),
4990
+ /** Verify email code (POST /v1/click/verification/email/verify) */
4991
+ "verifyEmailCode": (req, ctx) => callOperation("click", "verifyEmailCode", req, ctx),
4992
+ /** Verify SMS code (POST /v1/click/verification/sms/verify) */
4993
+ "verifySMSCode": (req, ctx) => callOperation("click", "verifySMSCode", req, ctx)
4994
+ },
2593
4995
  "docgen": {
2594
4996
  /** List pending approvals (GET /v1/docgen/approvals/pending) */
2595
4997
  "listPendingApprovals": (req, ctx) => callOperation("docgen", "listPendingApprovals", req, ctx),
@@ -2762,4 +5164,4 @@ export {
2762
5164
  callOperation,
2763
5165
  operations
2764
5166
  };
2765
- //# sourceMappingURL=chunk-CBIH6V3I.js.map
5167
+ //# sourceMappingURL=chunk-XSRXBEWN.js.map