@quantcdn/pulumi-quant 5.4.0 → 5.5.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.
Files changed (129) hide show
  1. package/aiAgent.d.ts +155 -0
  2. package/aiAgent.js +94 -0
  3. package/aiAgent.js.map +1 -0
  4. package/aiGovernance.d.ts +77 -0
  5. package/aiGovernance.js +75 -0
  6. package/aiGovernance.js.map +1 -0
  7. package/aiSkill.d.ts +101 -0
  8. package/aiSkill.js +85 -0
  9. package/aiSkill.js.map +1 -0
  10. package/aiVectorCollection.d.ts +107 -0
  11. package/aiVectorCollection.js +68 -0
  12. package/aiVectorCollection.js.map +1 -0
  13. package/aiVectorDocument.d.ts +73 -0
  14. package/aiVectorDocument.js +70 -0
  15. package/aiVectorDocument.js.map +1 -0
  16. package/application.d.ts +189 -0
  17. package/application.js +85 -0
  18. package/application.js.map +1 -0
  19. package/config/index.d.ts +1 -0
  20. package/config/index.js +21 -0
  21. package/config/index.js.map +1 -0
  22. package/config/vars.d.ts +36 -0
  23. package/config/vars.js +61 -0
  24. package/config/vars.js.map +1 -0
  25. package/{crawler.ts → crawler.d.ts} +45 -139
  26. package/crawler.js +116 -0
  27. package/crawler.js.map +1 -0
  28. package/crawlerSchedule.d.ts +156 -0
  29. package/crawlerSchedule.js +74 -0
  30. package/crawlerSchedule.js.map +1 -0
  31. package/cronJob.d.ts +102 -0
  32. package/cronJob.js +73 -0
  33. package/cronJob.js.map +1 -0
  34. package/{domain.ts → domain.d.ts} +10 -56
  35. package/domain.js +62 -0
  36. package/domain.js.map +1 -0
  37. package/environment.d.ts +313 -0
  38. package/environment.js +110 -0
  39. package/environment.js.map +1 -0
  40. package/getProject.d.ts +34 -0
  41. package/getProject.js +24 -0
  42. package/getProject.js.map +1 -0
  43. package/getProjects.d.ts +14 -0
  44. package/getProjects.js +18 -0
  45. package/getProjects.js.map +1 -0
  46. package/header.d.ts +60 -0
  47. package/header.js +59 -0
  48. package/header.js.map +1 -0
  49. package/index.d.ts +88 -0
  50. package/index.js +158 -0
  51. package/index.js.map +1 -0
  52. package/{kvItem.ts → kvItem.d.ts} +11 -62
  53. package/kvItem.js +67 -0
  54. package/kvItem.js.map +1 -0
  55. package/kvStore.d.ts +75 -0
  56. package/kvStore.js +55 -0
  57. package/kvStore.js.map +1 -0
  58. package/package.json +32 -30
  59. package/project.d.ts +175 -0
  60. package/project.js +73 -0
  61. package/project.js.map +1 -0
  62. package/{provider.ts → provider.d.ts} +12 -51
  63. package/provider.js +63 -0
  64. package/provider.js.map +1 -0
  65. package/{ruleAuth.ts → ruleAuth.d.ts} +31 -128
  66. package/ruleAuth.js +113 -0
  67. package/ruleAuth.js.map +1 -0
  68. package/{ruleBotChallenge.ts → ruleBotChallenge.d.ts} +32 -128
  69. package/ruleBotChallenge.js +112 -0
  70. package/ruleBotChallenge.js.map +1 -0
  71. package/{ruleContentFilter.ts → ruleContentFilter.d.ts} +30 -122
  72. package/ruleContentFilter.js +108 -0
  73. package/ruleContentFilter.js.map +1 -0
  74. package/{ruleCustomResponse.ts → ruleCustomResponse.d.ts} +33 -131
  75. package/ruleCustomResponse.js +114 -0
  76. package/ruleCustomResponse.js.map +1 -0
  77. package/{ruleFunction.ts → ruleFunction.d.ts} +30 -122
  78. package/ruleFunction.js +108 -0
  79. package/ruleFunction.js.map +1 -0
  80. package/{ruleHeaders.ts → ruleHeaders.d.ts} +38 -124
  81. package/ruleHeaders.js +108 -0
  82. package/ruleHeaders.js.map +1 -0
  83. package/{ruleProxy.ts → ruleProxy.d.ts} +62 -196
  84. package/ruleProxy.js +156 -0
  85. package/ruleProxy.js.map +1 -0
  86. package/{ruleRedirect.ts → ruleRedirect.d.ts} +31 -125
  87. package/ruleRedirect.js +110 -0
  88. package/ruleRedirect.js.map +1 -0
  89. package/{ruleServeStatic.ts → ruleServeStatic.d.ts} +30 -122
  90. package/ruleServeStatic.js +108 -0
  91. package/ruleServeStatic.js.map +1 -0
  92. package/{slackBot.ts → slackBot.d.ts} +14 -71
  93. package/slackBot.js +73 -0
  94. package/slackBot.js.map +1 -0
  95. package/types/index.d.ts +3 -0
  96. package/types/index.js +11 -0
  97. package/types/index.js.map +1 -0
  98. package/types/{input.ts → input.d.ts} +6 -78
  99. package/{config/index.ts → types/input.js} +3 -3
  100. package/types/input.js.map +1 -0
  101. package/types/{output.ts → output.d.ts} +6 -81
  102. package/types/output.js +5 -0
  103. package/types/output.js.map +1 -0
  104. package/utilities.d.ts +4 -0
  105. package/{utilities.ts → utilities.js} +23 -28
  106. package/utilities.js.map +1 -0
  107. package/volume.d.ts +130 -0
  108. package/volume.js +74 -0
  109. package/volume.js.map +1 -0
  110. package/.gitattributes +0 -1
  111. package/aiAgent.ts +0 -233
  112. package/aiGovernance.ts +0 -136
  113. package/aiSkill.ts +0 -170
  114. package/aiVectorCollection.ts +0 -159
  115. package/aiVectorDocument.ts +0 -127
  116. package/application.ts +0 -258
  117. package/config/vars.ts +0 -108
  118. package/crawlerSchedule.ts +0 -214
  119. package/cronJob.ts +0 -159
  120. package/environment.ts +0 -407
  121. package/getProject.ts +0 -54
  122. package/getProjects.ts +0 -29
  123. package/header.ts +0 -97
  124. package/index.ts +0 -231
  125. package/kvStore.ts +0 -114
  126. package/project.ts +0 -232
  127. package/tsconfig.json +0 -53
  128. package/types/index.ts +0 -13
  129. package/volume.ts +0 -188
@@ -1,10 +1,4 @@
1
- // *** WARNING: this file was generated by pulumi-language-nodejs. ***
2
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
-
4
- import * as pulumi from "@pulumi/pulumi";
5
- import * as inputs from "../types/input";
6
1
  import * as outputs from "../types/output";
7
-
8
2
  export interface AiAgentAgent {
9
3
  agentId: string;
10
4
  allowedCollections: string[];
@@ -37,10 +31,8 @@ export interface AiAgentAgent {
37
31
  temperature: number;
38
32
  updatedAt: string;
39
33
  }
40
-
41
34
  export interface AiGovernanceConfig {
42
35
  }
43
-
44
36
  export interface AiGovernanceSpendLimits {
45
37
  dailyBudgetCents: number;
46
38
  monthlyBudgetCents: number;
@@ -48,10 +40,8 @@ export interface AiGovernanceSpendLimits {
48
40
  perUserMonthlyBudgetCents: number;
49
41
  warningThresholdPercent: number;
50
42
  }
51
-
52
43
  export interface AiSkillFiles {
53
44
  }
54
-
55
45
  export interface AiSkillSkill {
56
46
  allowedTools: string[];
57
47
  content: string;
@@ -68,13 +58,10 @@ export interface AiSkillSkill {
68
58
  triggerCondition: string;
69
59
  updatedAt: string;
70
60
  }
71
-
72
61
  export interface AiSkillSkillFiles {
73
62
  }
74
-
75
63
  export interface AiSkillSkillSource {
76
64
  }
77
-
78
65
  export interface AiVectorCollectionCollection {
79
66
  collectionId: string;
80
67
  createdAt: string;
@@ -85,7 +72,6 @@ export interface AiVectorCollectionCollection {
85
72
  name: string;
86
73
  updatedAt: string;
87
74
  }
88
-
89
75
  export interface AiVectorDocumentDocument {
90
76
  /**
91
77
  * Document text content
@@ -97,14 +83,12 @@ export interface AiVectorDocumentDocument {
97
83
  key: string;
98
84
  metadata: outputs.AiVectorDocumentDocumentMetadata;
99
85
  }
100
-
101
86
  export interface AiVectorDocumentDocumentMetadata {
102
87
  section: string;
103
88
  sourceUrl: string;
104
89
  tags: string[];
105
90
  title: string;
106
91
  }
107
-
108
92
  export interface ApplicationComposeDefinition {
109
93
  /**
110
94
  * CPU architecture (X86_64 or ARM64)
@@ -140,7 +124,6 @@ export interface ApplicationComposeDefinition {
140
124
  */
141
125
  taskMemory: number;
142
126
  }
143
-
144
127
  export interface ApplicationComposeDefinitionContainer {
145
128
  commands: string[];
146
129
  /**
@@ -195,7 +178,6 @@ export interface ApplicationComposeDefinitionContainer {
195
178
  user: string;
196
179
  workingDirectory: string;
197
180
  }
198
-
199
181
  export interface ApplicationComposeDefinitionContainerDependsOn {
200
182
  /**
201
183
  * The condition to wait for on the dependency
@@ -206,7 +188,6 @@ export interface ApplicationComposeDefinitionContainerDependsOn {
206
188
  */
207
189
  containerName: string;
208
190
  }
209
-
210
191
  export interface ApplicationComposeDefinitionContainerEnvironment {
211
192
  /**
212
193
  * Environment variable name
@@ -217,7 +198,6 @@ export interface ApplicationComposeDefinitionContainerEnvironment {
217
198
  */
218
199
  value: string;
219
200
  }
220
-
221
201
  export interface ApplicationComposeDefinitionContainerHealthCheck {
222
202
  /**
223
203
  * The command to run to determine if the container is healthy
@@ -240,7 +220,6 @@ export interface ApplicationComposeDefinitionContainerHealthCheck {
240
220
  */
241
221
  timeout: number;
242
222
  }
243
-
244
223
  export interface ApplicationComposeDefinitionContainerImageReference {
245
224
  /**
246
225
  * The image identifier. For 'internal' type, this is the image tag. For 'external' type, this is the full image name.
@@ -251,7 +230,6 @@ export interface ApplicationComposeDefinitionContainerImageReference {
251
230
  */
252
231
  type: string;
253
232
  }
254
-
255
233
  export interface ApplicationComposeDefinitionContainerMountPoint {
256
234
  /**
257
235
  * The path inside the container where the volume is mounted
@@ -263,7 +241,6 @@ export interface ApplicationComposeDefinitionContainerMountPoint {
263
241
  */
264
242
  sourceVolume: string;
265
243
  }
266
-
267
244
  export interface ApplicationComposeDefinitionContainerOriginProtectionConfig {
268
245
  /**
269
246
  * Whether origin protection is enabled. Defaults to true if this config object is provided.
@@ -274,7 +251,6 @@ export interface ApplicationComposeDefinitionContainerOriginProtectionConfig {
274
251
  */
275
252
  ipAllows: string[];
276
253
  }
277
-
278
254
  export interface ApplicationComposeDefinitionContainerSecret {
279
255
  /**
280
256
  * The environment variable name to be set in the container
@@ -285,14 +261,12 @@ export interface ApplicationComposeDefinitionContainerSecret {
285
261
  */
286
262
  valueFrom: string;
287
263
  }
288
-
289
264
  export interface ApplicationComposeDefinitionSpotConfiguration {
290
265
  /**
291
266
  * Spot instance strategy. 'off' = On-Demand only (highest reliability, no savings). 'spot-only' = 100% Spot instances (~70% savings, default for non-prod). 'mixed-safe' = 50% Spot instances (~35% savings, requires multiple instances). 'mixed-aggressive' = 80% Spot instances (~56% savings, requires multiple instances).
292
267
  */
293
268
  strategy: string;
294
269
  }
295
-
296
270
  export interface ApplicationDatabase {
297
271
  /**
298
272
  * Database engine type (MySQL 8.4, Postgres)
@@ -327,7 +301,6 @@ export interface ApplicationDatabase {
327
301
  */
328
302
  storageGb: number;
329
303
  }
330
-
331
304
  export interface ApplicationDeploymentInformation {
332
305
  /**
333
306
  * Deployment creation timestamp
@@ -350,7 +323,6 @@ export interface ApplicationDeploymentInformation {
350
323
  */
351
324
  taskDefinitionArn: string;
352
325
  }
353
-
354
326
  export interface ApplicationEnvironment {
355
327
  /**
356
328
  * Environment variable name
@@ -361,7 +333,6 @@ export interface ApplicationEnvironment {
361
333
  */
362
334
  value: string;
363
335
  }
364
-
365
336
  export interface ApplicationFilesystem {
366
337
  /**
367
338
  * EFS filesystem ID
@@ -376,7 +347,6 @@ export interface ApplicationFilesystem {
376
347
  */
377
348
  required: boolean;
378
349
  }
379
-
380
350
  export interface ApplicationImageReference {
381
351
  /**
382
352
  * Image identifier
@@ -387,7 +357,6 @@ export interface ApplicationImageReference {
387
357
  */
388
358
  type: string;
389
359
  }
390
-
391
360
  export interface CrawlerAssets {
392
361
  /**
393
362
  * Network intercept configuration for asset collection
@@ -398,7 +367,6 @@ export interface CrawlerAssets {
398
367
  */
399
368
  parser: outputs.CrawlerAssetsParser;
400
369
  }
401
-
402
370
  export interface CrawlerAssetsNetworkIntercept {
403
371
  /**
404
372
  * Enable network intercept
@@ -413,14 +381,12 @@ export interface CrawlerAssetsNetworkIntercept {
413
381
  */
414
382
  timeout: number;
415
383
  }
416
-
417
384
  export interface CrawlerAssetsParser {
418
385
  /**
419
386
  * Enable parser
420
387
  */
421
388
  enabled: boolean;
422
389
  }
423
-
424
390
  export interface CrawlerSitemap {
425
391
  /**
426
392
  * Recursively follow sitemap links
@@ -431,7 +397,6 @@ export interface CrawlerSitemap {
431
397
  */
432
398
  url: string;
433
399
  }
434
-
435
400
  export interface DomainDnsGoLiveRecord {
436
401
  /**
437
402
  * Human-readable instructions for configuring this DNS record
@@ -450,7 +415,6 @@ export interface DomainDnsGoLiveRecord {
450
415
  */
451
416
  value: string;
452
417
  }
453
-
454
418
  export interface DomainDnsValidationRecord {
455
419
  /**
456
420
  * DNS record name (host/subdomain)
@@ -465,10 +429,8 @@ export interface DomainDnsValidationRecord {
465
429
  */
466
430
  value: string;
467
431
  }
468
-
469
432
  export interface EnvironmentAlbRouting {
470
433
  }
471
-
472
434
  export interface EnvironmentComposeDefinition {
473
435
  /**
474
436
  * CPU architecture (X86_64 or ARM64)
@@ -504,7 +466,6 @@ export interface EnvironmentComposeDefinition {
504
466
  */
505
467
  taskMemory: number;
506
468
  }
507
-
508
469
  export interface EnvironmentComposeDefinitionContainer {
509
470
  commands: string[];
510
471
  /**
@@ -559,7 +520,6 @@ export interface EnvironmentComposeDefinitionContainer {
559
520
  user: string;
560
521
  workingDirectory: string;
561
522
  }
562
-
563
523
  export interface EnvironmentComposeDefinitionContainerDependsOn {
564
524
  /**
565
525
  * The condition to wait for on the dependency
@@ -570,7 +530,6 @@ export interface EnvironmentComposeDefinitionContainerDependsOn {
570
530
  */
571
531
  containerName: string;
572
532
  }
573
-
574
533
  export interface EnvironmentComposeDefinitionContainerEnvironment {
575
534
  /**
576
535
  * Environment variable name
@@ -581,7 +540,6 @@ export interface EnvironmentComposeDefinitionContainerEnvironment {
581
540
  */
582
541
  value: string;
583
542
  }
584
-
585
543
  export interface EnvironmentComposeDefinitionContainerHealthCheck {
586
544
  /**
587
545
  * The command to run to determine if the container is healthy
@@ -604,7 +562,6 @@ export interface EnvironmentComposeDefinitionContainerHealthCheck {
604
562
  */
605
563
  timeout: number;
606
564
  }
607
-
608
565
  export interface EnvironmentComposeDefinitionContainerImageReference {
609
566
  /**
610
567
  * The image identifier. For 'internal' type, this is the image tag. For 'external' type, this is the full image name.
@@ -615,7 +572,6 @@ export interface EnvironmentComposeDefinitionContainerImageReference {
615
572
  */
616
573
  type: string;
617
574
  }
618
-
619
575
  export interface EnvironmentComposeDefinitionContainerMountPoint {
620
576
  /**
621
577
  * The path inside the container where the volume is mounted
@@ -627,7 +583,6 @@ export interface EnvironmentComposeDefinitionContainerMountPoint {
627
583
  */
628
584
  sourceVolume: string;
629
585
  }
630
-
631
586
  export interface EnvironmentComposeDefinitionContainerOriginProtectionConfig {
632
587
  /**
633
588
  * Whether origin protection is enabled. Defaults to true if this config object is provided.
@@ -638,7 +593,6 @@ export interface EnvironmentComposeDefinitionContainerOriginProtectionConfig {
638
593
  */
639
594
  ipAllows: string[];
640
595
  }
641
-
642
596
  export interface EnvironmentComposeDefinitionContainerSecret {
643
597
  /**
644
598
  * The environment variable name to be set in the container
@@ -649,14 +603,12 @@ export interface EnvironmentComposeDefinitionContainerSecret {
649
603
  */
650
604
  valueFrom: string;
651
605
  }
652
-
653
606
  export interface EnvironmentComposeDefinitionSpotConfiguration {
654
607
  /**
655
608
  * Spot instance strategy. 'off' = On-Demand only (highest reliability, no savings). 'spot-only' = 100% Spot instances (~70% savings, default for non-prod). 'mixed-safe' = 50% Spot instances (~35% savings, requires multiple instances). 'mixed-aggressive' = 80% Spot instances (~56% savings, requires multiple instances).
656
609
  */
657
610
  strategy: string;
658
611
  }
659
-
660
612
  export interface EnvironmentCron {
661
613
  commands: string[];
662
614
  description: string;
@@ -665,7 +617,6 @@ export interface EnvironmentCron {
665
617
  scheduleExpression: string;
666
618
  targetContainerName: string;
667
619
  }
668
-
669
620
  export interface EnvironmentEnvironment {
670
621
  /**
671
622
  * Variable name
@@ -676,29 +627,22 @@ export interface EnvironmentEnvironment {
676
627
  */
677
628
  value: string;
678
629
  }
679
-
680
630
  export interface EnvironmentLoadBalancer {
681
631
  }
682
-
683
632
  export interface EnvironmentSecurityGroup {
684
633
  }
685
-
686
634
  export interface EnvironmentService {
687
635
  }
688
-
689
636
  export interface EnvironmentSpotConfiguration {
690
637
  /**
691
638
  * Spot instance strategy. 'off' = On-Demand only (highest reliability, no savings). 'spot-only' = 100% Spot instances (~70% savings, default for non-prod). 'mixed-safe' = 50% Spot instances (~35% savings, requires multiple instances). 'mixed-aggressive' = 80% Spot instances (~56% savings, requires multiple instances).
692
639
  */
693
640
  strategy: string;
694
641
  }
695
-
696
642
  export interface EnvironmentSubnet {
697
643
  }
698
-
699
644
  export interface EnvironmentTaskDefinition {
700
645
  }
701
-
702
646
  export interface EnvironmentVolume {
703
647
  accessPointArn: string;
704
648
  accessPointId: string;
@@ -709,15 +653,12 @@ export interface EnvironmentVolume {
709
653
  volumeId: string;
710
654
  volumeName: string;
711
655
  }
712
-
713
656
  export interface EnvironmentVpc {
714
657
  }
715
-
716
658
  export interface GetProjectsProject {
717
659
  machineName: string;
718
660
  name: string;
719
661
  }
720
-
721
662
  export interface RuleAuthActionConfig {
722
663
  /**
723
664
  * Authentication password
@@ -728,7 +669,6 @@ export interface RuleAuthActionConfig {
728
669
  */
729
670
  authUser: string;
730
671
  }
731
-
732
672
  export interface RuleBotChallengeActionConfig {
733
673
  /**
734
674
  * Challenge TTL in seconds
@@ -743,14 +683,12 @@ export interface RuleBotChallengeActionConfig {
743
683
  */
744
684
  robotChallengeVerificationTtl: number;
745
685
  }
746
-
747
686
  export interface RuleContentFilterActionConfig {
748
687
  /**
749
688
  * Function UUID
750
689
  */
751
690
  fnUuid: string;
752
691
  }
753
-
754
692
  export interface RuleCustomResponseActionConfig {
755
693
  /**
756
694
  * Custom response body content
@@ -761,21 +699,20 @@ export interface RuleCustomResponseActionConfig {
761
699
  */
762
700
  customResponseStatusCode: number;
763
701
  }
764
-
765
702
  export interface RuleFunctionActionConfig {
766
703
  /**
767
704
  * Function UUID
768
705
  */
769
706
  fnUuid: string;
770
707
  }
771
-
772
708
  export interface RuleHeadersActionConfig {
773
709
  /**
774
710
  * Headers to set
775
711
  */
776
- headers: {[key: string]: string};
712
+ headers: {
713
+ [key: string]: string;
714
+ };
777
715
  }
778
-
779
716
  export interface RuleProxyActionConfig {
780
717
  /**
781
718
  * Quant Cloud application container (required when applicationProxy is true)
@@ -836,7 +773,9 @@ export interface RuleProxyActionConfig {
836
773
  /**
837
774
  * Headers to inject
838
775
  */
839
- injectHeaders: {[key: string]: string};
776
+ injectHeaders: {
777
+ [key: string]: string;
778
+ };
840
779
  /**
841
780
  * Notification type (none, slack)
842
781
  */
@@ -894,14 +833,12 @@ export interface RuleProxyActionConfig {
894
833
  */
895
834
  wafEnabled: boolean;
896
835
  }
897
-
898
836
  export interface RuleProxyActionConfigNotifyConfig {
899
837
  /**
900
838
  * Slack webhook URL
901
839
  */
902
840
  webhookUrl: string;
903
841
  }
904
-
905
842
  export interface RuleProxyActionConfigQuantCloudSelection {
906
843
  /**
907
844
  * Application name
@@ -920,7 +857,6 @@ export interface RuleProxyActionConfigQuantCloudSelection {
920
857
  */
921
858
  port: number;
922
859
  }
923
-
924
860
  export interface RuleProxyActionConfigWafConfig {
925
861
  /**
926
862
  * IP addresses to allow
@@ -979,7 +915,6 @@ export interface RuleProxyActionConfigWafConfig {
979
915
  */
980
916
  thresholds: outputs.RuleProxyActionConfigWafConfigThreshold[];
981
917
  }
982
-
983
918
  export interface RuleProxyActionConfigWafConfigBlockLists {
984
919
  /**
985
920
  * Block AI crawlers
@@ -998,7 +933,6 @@ export interface RuleProxyActionConfigWafConfigBlockLists {
998
933
  */
999
934
  userAgent: boolean;
1000
935
  }
1001
-
1002
936
  export interface RuleProxyActionConfigWafConfigHttpbl {
1003
937
  /**
1004
938
  * Block email harvesters
@@ -1025,7 +959,6 @@ export interface RuleProxyActionConfigWafConfigHttpbl {
1025
959
  */
1026
960
  httpblKey: string;
1027
961
  }
1028
-
1029
962
  export interface RuleProxyActionConfigWafConfigThreshold {
1030
963
  /**
1031
964
  * Cooldown period in seconds
@@ -1060,7 +993,6 @@ export interface RuleProxyActionConfigWafConfigThreshold {
1060
993
  */
1061
994
  value: string;
1062
995
  }
1063
-
1064
996
  export interface RuleProxyWafConfig {
1065
997
  /**
1066
998
  * IP addresses to allow
@@ -1119,7 +1051,6 @@ export interface RuleProxyWafConfig {
1119
1051
  */
1120
1052
  thresholds: outputs.RuleProxyWafConfigThreshold[];
1121
1053
  }
1122
-
1123
1054
  export interface RuleProxyWafConfigBlockLists {
1124
1055
  /**
1125
1056
  * Block AI crawlers
@@ -1138,7 +1069,6 @@ export interface RuleProxyWafConfigBlockLists {
1138
1069
  */
1139
1070
  userAgent: boolean;
1140
1071
  }
1141
-
1142
1072
  export interface RuleProxyWafConfigHttpbl {
1143
1073
  /**
1144
1074
  * Block email harvesters
@@ -1165,7 +1095,6 @@ export interface RuleProxyWafConfigHttpbl {
1165
1095
  */
1166
1096
  httpblKey: string;
1167
1097
  }
1168
-
1169
1098
  export interface RuleProxyWafConfigThreshold {
1170
1099
  /**
1171
1100
  * Cooldown period in seconds
@@ -1200,7 +1129,6 @@ export interface RuleProxyWafConfigThreshold {
1200
1129
  */
1201
1130
  value: string;
1202
1131
  }
1203
-
1204
1132
  export interface RuleRedirectActionConfig {
1205
1133
  /**
1206
1134
  * HTTP status code for redirect
@@ -1211,14 +1139,12 @@ export interface RuleRedirectActionConfig {
1211
1139
  */
1212
1140
  to: string;
1213
1141
  }
1214
-
1215
1142
  export interface RuleServeStaticActionConfig {
1216
1143
  /**
1217
1144
  * Path to the static file to serve
1218
1145
  */
1219
1146
  staticFilePath: string;
1220
1147
  }
1221
-
1222
1148
  export interface SlackBotBot {
1223
1149
  agentId: string;
1224
1150
  allowedChannels: string[];
@@ -1233,4 +1159,3 @@ export interface SlackBotBot {
1233
1159
  status: string;
1234
1160
  updatedAt: string;
1235
1161
  }
1236
-
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ //# sourceMappingURL=output.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF"}
package/utilities.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ export declare function getEnv(...vars: string[]): string | undefined;
2
+ export declare function getEnvBoolean(...vars: string[]): boolean | undefined;
3
+ export declare function getEnvNumber(...vars: string[]): number | undefined;
4
+ export declare function getVersion(): string;
@@ -1,11 +1,10 @@
1
+ "use strict";
1
2
  // *** WARNING: this file was generated by pulumi-language-nodejs. ***
2
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
-
4
-
5
- import * as runtime from "@pulumi/pulumi/runtime";
6
- import * as pulumi from "@pulumi/pulumi";
7
-
8
- export function getEnv(...vars: string[]): string | undefined {
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.callAsync = exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
6
+ const runtime = require("@pulumi/pulumi/runtime");
7
+ function getEnv(...vars) {
9
8
  for (const v of vars) {
10
9
  const value = process.env[v];
11
10
  if (value) {
@@ -14,8 +13,8 @@ export function getEnv(...vars: string[]): string | undefined {
14
13
  }
15
14
  return undefined;
16
15
  }
17
-
18
- export function getEnvBoolean(...vars: string[]): boolean | undefined {
16
+ exports.getEnv = getEnv;
17
+ function getEnvBoolean(...vars) {
19
18
  const s = getEnv(...vars);
20
19
  if (s !== undefined) {
21
20
  // NOTE: these values are taken from https://golang.org/src/strconv/atob.go?s=351:391#L1, which is what
@@ -29,8 +28,8 @@ export function getEnvBoolean(...vars: string[]): boolean | undefined {
29
28
  }
30
29
  return undefined;
31
30
  }
32
-
33
- export function getEnvNumber(...vars: string[]): number | undefined {
31
+ exports.getEnvBoolean = getEnvBoolean;
32
+ function getEnvNumber(...vars) {
34
33
  const s = getEnv(...vars);
35
34
  if (s !== undefined) {
36
35
  const f = parseFloat(s);
@@ -40,8 +39,8 @@ export function getEnvNumber(...vars: string[]): number | undefined {
40
39
  }
41
40
  return undefined;
42
41
  }
43
-
44
- export function getVersion(): string {
42
+ exports.getEnvNumber = getEnvNumber;
43
+ function getVersion() {
45
44
  let version = require('./package.json').version;
46
45
  // Node allows for the version to be prefixed by a "v", while semver doesn't.
47
46
  // If there is a v, strip it off.
@@ -50,39 +49,33 @@ export function getVersion(): string {
50
49
  }
51
50
  return version;
52
51
  }
53
-
52
+ exports.getVersion = getVersion;
54
53
  /** @internal */
55
- export function resourceOptsDefaults(): any {
54
+ function resourceOptsDefaults() {
56
55
  return { version: getVersion(), pluginDownloadURL: "github://api.github.com/quantcdn/terraform-provider-quant" };
57
56
  }
58
-
57
+ exports.resourceOptsDefaults = resourceOptsDefaults;
59
58
  /** @internal */
60
- export function lazyLoad(exports: any, props: string[], loadModule: any) {
59
+ function lazyLoad(exports, props, loadModule) {
61
60
  for (let property of props) {
62
61
  Object.defineProperty(exports, property, {
63
62
  enumerable: true,
64
- get: function() {
63
+ get: function () {
65
64
  return loadModule()[property];
66
65
  },
67
66
  });
68
67
  }
69
68
  }
70
-
69
+ exports.lazyLoad = lazyLoad;
71
70
  /** @internal */
72
- export async function callAsync<T>(
73
- tok: string,
74
- props: pulumi.Inputs,
75
- res?: pulumi.Resource,
76
- opts?: {property?: string},
77
- ): Promise<T> {
78
- const o: any = runtime.call<T>(tok, props, res);
71
+ async function callAsync(tok, props, res, opts) {
72
+ const o = runtime.call(tok, props, res);
79
73
  const value = await o.promise(true /*withUnknowns*/);
80
74
  const isKnown = await o.isKnown;
81
75
  const isSecret = await o.isSecret;
82
- const problem: string|undefined =
83
- !isKnown ? "an unknown value"
76
+ const problem = !isKnown ? "an unknown value"
84
77
  : isSecret ? "a secret value"
85
- : undefined;
78
+ : undefined;
86
79
  // Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
87
80
  if (problem) {
88
81
  throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
@@ -94,3 +87,5 @@ export async function callAsync<T>(
94
87
  }
95
88
  return value;
96
89
  }
90
+ exports.callAsync = callAsync;
91
+ //# sourceMappingURL=utilities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utilities.js","sourceRoot":"","sources":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