@quantcdn/pulumi-quant 5.5.0 → 5.5.2

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
package/aiSkill.ts DELETED
@@ -1,170 +0,0 @@
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
- import * as outputs from "./types/output";
7
- import * as utilities from "./utilities";
8
-
9
- export class AiSkill extends pulumi.CustomResource {
10
- /**
11
- * Get an existing AiSkill resource's state with the given name, ID, and optional extra
12
- * properties used to qualify the lookup.
13
- *
14
- * @param name The _unique_ name of the resulting resource.
15
- * @param id The _unique_ provider ID of the resource to lookup.
16
- * @param state Any extra arguments used during the lookup.
17
- * @param opts Optional settings to control the behavior of the CustomResource.
18
- */
19
- public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AiSkillState, opts?: pulumi.CustomResourceOptions): AiSkill {
20
- return new AiSkill(name, <any>state, { ...opts, id: id });
21
- }
22
-
23
- /** @internal */
24
- public static readonly __pulumiType = 'quant:index:AiSkill';
25
-
26
- /**
27
- * Returns true if the given object is an instance of AiSkill. This is designed to work even
28
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
29
- */
30
- public static isInstance(obj: any): obj is AiSkill {
31
- if (obj === undefined || obj === null) {
32
- return false;
33
- }
34
- return obj['__pulumiType'] === AiSkill.__pulumiType;
35
- }
36
-
37
- declare public readonly allowedTools: pulumi.Output<string[]>;
38
- declare public readonly content: pulumi.Output<string>;
39
- declare public readonly description: pulumi.Output<string>;
40
- declare public readonly disableModelInvocation: pulumi.Output<boolean>;
41
- declare public readonly files: pulumi.Output<outputs.AiSkillFiles>;
42
- declare public readonly installedBy: pulumi.Output<string>;
43
- declare public /*out*/ readonly message: pulumi.Output<string>;
44
- declare public readonly name: pulumi.Output<string>;
45
- declare public readonly namespace: pulumi.Output<string>;
46
- /**
47
- * The organisation ID
48
- */
49
- declare public readonly organisation: pulumi.Output<string>;
50
- declare public readonly requiredTools: pulumi.Output<string[]>;
51
- declare public /*out*/ readonly skill: pulumi.Output<outputs.AiSkillSkill>;
52
- /**
53
- * The skill ID
54
- */
55
- declare public readonly skillId: pulumi.Output<string>;
56
- declare public /*out*/ readonly success: pulumi.Output<boolean>;
57
- declare public readonly tags: pulumi.Output<string[]>;
58
- declare public readonly triggerCondition: pulumi.Output<string>;
59
-
60
- /**
61
- * Create a AiSkill resource with the given unique name, arguments, and options.
62
- *
63
- * @param name The _unique_ name of the resource.
64
- * @param args The arguments to use to populate this resource's properties.
65
- * @param opts A bag of options that control this resource's behavior.
66
- */
67
- constructor(name: string, args: AiSkillArgs, opts?: pulumi.CustomResourceOptions)
68
- constructor(name: string, argsOrState?: AiSkillArgs | AiSkillState, opts?: pulumi.CustomResourceOptions) {
69
- let resourceInputs: pulumi.Inputs = {};
70
- opts = opts || {};
71
- if (opts.id) {
72
- const state = argsOrState as AiSkillState | undefined;
73
- resourceInputs["allowedTools"] = state?.allowedTools;
74
- resourceInputs["content"] = state?.content;
75
- resourceInputs["description"] = state?.description;
76
- resourceInputs["disableModelInvocation"] = state?.disableModelInvocation;
77
- resourceInputs["files"] = state?.files;
78
- resourceInputs["installedBy"] = state?.installedBy;
79
- resourceInputs["message"] = state?.message;
80
- resourceInputs["name"] = state?.name;
81
- resourceInputs["namespace"] = state?.namespace;
82
- resourceInputs["organisation"] = state?.organisation;
83
- resourceInputs["requiredTools"] = state?.requiredTools;
84
- resourceInputs["skill"] = state?.skill;
85
- resourceInputs["skillId"] = state?.skillId;
86
- resourceInputs["success"] = state?.success;
87
- resourceInputs["tags"] = state?.tags;
88
- resourceInputs["triggerCondition"] = state?.triggerCondition;
89
- } else {
90
- const args = argsOrState as AiSkillArgs | undefined;
91
- if (args?.content === undefined && !opts.urn) {
92
- throw new Error("Missing required property 'content'");
93
- }
94
- if (args?.triggerCondition === undefined && !opts.urn) {
95
- throw new Error("Missing required property 'triggerCondition'");
96
- }
97
- resourceInputs["allowedTools"] = args?.allowedTools;
98
- resourceInputs["content"] = args?.content;
99
- resourceInputs["description"] = args?.description;
100
- resourceInputs["disableModelInvocation"] = args?.disableModelInvocation;
101
- resourceInputs["files"] = args?.files;
102
- resourceInputs["installedBy"] = args?.installedBy;
103
- resourceInputs["name"] = args?.name;
104
- resourceInputs["namespace"] = args?.namespace;
105
- resourceInputs["organisation"] = args?.organisation;
106
- resourceInputs["requiredTools"] = args?.requiredTools;
107
- resourceInputs["skillId"] = args?.skillId;
108
- resourceInputs["tags"] = args?.tags;
109
- resourceInputs["triggerCondition"] = args?.triggerCondition;
110
- resourceInputs["message"] = undefined /*out*/;
111
- resourceInputs["skill"] = undefined /*out*/;
112
- resourceInputs["success"] = undefined /*out*/;
113
- }
114
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
115
- super(AiSkill.__pulumiType, name, resourceInputs, opts);
116
- }
117
- }
118
-
119
- /**
120
- * Input properties used for looking up and filtering AiSkill resources.
121
- */
122
- export interface AiSkillState {
123
- allowedTools?: pulumi.Input<pulumi.Input<string>[]>;
124
- content?: pulumi.Input<string>;
125
- description?: pulumi.Input<string>;
126
- disableModelInvocation?: pulumi.Input<boolean>;
127
- files?: pulumi.Input<inputs.AiSkillFiles>;
128
- installedBy?: pulumi.Input<string>;
129
- message?: pulumi.Input<string>;
130
- name?: pulumi.Input<string>;
131
- namespace?: pulumi.Input<string>;
132
- /**
133
- * The organisation ID
134
- */
135
- organisation?: pulumi.Input<string>;
136
- requiredTools?: pulumi.Input<pulumi.Input<string>[]>;
137
- skill?: pulumi.Input<inputs.AiSkillSkill>;
138
- /**
139
- * The skill ID
140
- */
141
- skillId?: pulumi.Input<string>;
142
- success?: pulumi.Input<boolean>;
143
- tags?: pulumi.Input<pulumi.Input<string>[]>;
144
- triggerCondition?: pulumi.Input<string>;
145
- }
146
-
147
- /**
148
- * The set of arguments for constructing a AiSkill resource.
149
- */
150
- export interface AiSkillArgs {
151
- allowedTools?: pulumi.Input<pulumi.Input<string>[]>;
152
- content: pulumi.Input<string>;
153
- description?: pulumi.Input<string>;
154
- disableModelInvocation?: pulumi.Input<boolean>;
155
- files?: pulumi.Input<inputs.AiSkillFiles>;
156
- installedBy?: pulumi.Input<string>;
157
- name?: pulumi.Input<string>;
158
- namespace?: pulumi.Input<string>;
159
- /**
160
- * The organisation ID
161
- */
162
- organisation?: pulumi.Input<string>;
163
- requiredTools?: pulumi.Input<pulumi.Input<string>[]>;
164
- /**
165
- * The skill ID
166
- */
167
- skillId?: pulumi.Input<string>;
168
- tags?: pulumi.Input<pulumi.Input<string>[]>;
169
- triggerCondition: pulumi.Input<string>;
170
- }
@@ -1,159 +0,0 @@
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
- import * as outputs from "./types/output";
7
- import * as utilities from "./utilities";
8
-
9
- export class AiVectorCollection extends pulumi.CustomResource {
10
- /**
11
- * Get an existing AiVectorCollection resource's state with the given name, ID, and optional extra
12
- * properties used to qualify the lookup.
13
- *
14
- * @param name The _unique_ name of the resulting resource.
15
- * @param id The _unique_ provider ID of the resource to lookup.
16
- * @param state Any extra arguments used during the lookup.
17
- * @param opts Optional settings to control the behavior of the CustomResource.
18
- */
19
- public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AiVectorCollectionState, opts?: pulumi.CustomResourceOptions): AiVectorCollection {
20
- return new AiVectorCollection(name, <any>state, { ...opts, id: id });
21
- }
22
-
23
- /** @internal */
24
- public static readonly __pulumiType = 'quant:index:AiVectorCollection';
25
-
26
- /**
27
- * Returns true if the given object is an instance of AiVectorCollection. This is designed to work even
28
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
29
- */
30
- public static isInstance(obj: any): obj is AiVectorCollection {
31
- if (obj === undefined || obj === null) {
32
- return false;
33
- }
34
- return obj['__pulumiType'] === AiVectorCollection.__pulumiType;
35
- }
36
-
37
- declare public /*out*/ readonly collection: pulumi.Output<outputs.AiVectorCollectionCollection>;
38
- /**
39
- * The collection ID
40
- */
41
- declare public readonly collectionId: pulumi.Output<string>;
42
- declare public readonly description: pulumi.Output<string>;
43
- /**
44
- * Embedding dimensions (default: 1024)
45
- */
46
- declare public readonly dimensions: pulumi.Output<number>;
47
- /**
48
- * Embedding model to use. Supported: amazon.titan-embed-text-v2:0, cohere.embed-english-v3, cohere.embed-multilingual-v3
49
- */
50
- declare public readonly embeddingModel: pulumi.Output<string>;
51
- declare public /*out*/ readonly message: pulumi.Output<string>;
52
- /**
53
- * Collection name (used for reference)
54
- */
55
- declare public readonly name: pulumi.Output<string>;
56
- /**
57
- * The organisation ID
58
- */
59
- declare public readonly organisation: pulumi.Output<string>;
60
- declare public /*out*/ readonly success: pulumi.Output<boolean>;
61
-
62
- /**
63
- * Create a AiVectorCollection resource with the given unique name, arguments, and options.
64
- *
65
- * @param name The _unique_ name of the resource.
66
- * @param args The arguments to use to populate this resource's properties.
67
- * @param opts A bag of options that control this resource's behavior.
68
- */
69
- constructor(name: string, args: AiVectorCollectionArgs, opts?: pulumi.CustomResourceOptions)
70
- constructor(name: string, argsOrState?: AiVectorCollectionArgs | AiVectorCollectionState, opts?: pulumi.CustomResourceOptions) {
71
- let resourceInputs: pulumi.Inputs = {};
72
- opts = opts || {};
73
- if (opts.id) {
74
- const state = argsOrState as AiVectorCollectionState | undefined;
75
- resourceInputs["collection"] = state?.collection;
76
- resourceInputs["collectionId"] = state?.collectionId;
77
- resourceInputs["description"] = state?.description;
78
- resourceInputs["dimensions"] = state?.dimensions;
79
- resourceInputs["embeddingModel"] = state?.embeddingModel;
80
- resourceInputs["message"] = state?.message;
81
- resourceInputs["name"] = state?.name;
82
- resourceInputs["organisation"] = state?.organisation;
83
- resourceInputs["success"] = state?.success;
84
- } else {
85
- const args = argsOrState as AiVectorCollectionArgs | undefined;
86
- if (args?.embeddingModel === undefined && !opts.urn) {
87
- throw new Error("Missing required property 'embeddingModel'");
88
- }
89
- resourceInputs["collectionId"] = args?.collectionId;
90
- resourceInputs["description"] = args?.description;
91
- resourceInputs["dimensions"] = args?.dimensions;
92
- resourceInputs["embeddingModel"] = args?.embeddingModel;
93
- resourceInputs["name"] = args?.name;
94
- resourceInputs["organisation"] = args?.organisation;
95
- resourceInputs["collection"] = undefined /*out*/;
96
- resourceInputs["message"] = undefined /*out*/;
97
- resourceInputs["success"] = undefined /*out*/;
98
- }
99
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
100
- super(AiVectorCollection.__pulumiType, name, resourceInputs, opts);
101
- }
102
- }
103
-
104
- /**
105
- * Input properties used for looking up and filtering AiVectorCollection resources.
106
- */
107
- export interface AiVectorCollectionState {
108
- collection?: pulumi.Input<inputs.AiVectorCollectionCollection>;
109
- /**
110
- * The collection ID
111
- */
112
- collectionId?: pulumi.Input<string>;
113
- description?: pulumi.Input<string>;
114
- /**
115
- * Embedding dimensions (default: 1024)
116
- */
117
- dimensions?: pulumi.Input<number>;
118
- /**
119
- * Embedding model to use. Supported: amazon.titan-embed-text-v2:0, cohere.embed-english-v3, cohere.embed-multilingual-v3
120
- */
121
- embeddingModel?: pulumi.Input<string>;
122
- message?: pulumi.Input<string>;
123
- /**
124
- * Collection name (used for reference)
125
- */
126
- name?: pulumi.Input<string>;
127
- /**
128
- * The organisation ID
129
- */
130
- organisation?: pulumi.Input<string>;
131
- success?: pulumi.Input<boolean>;
132
- }
133
-
134
- /**
135
- * The set of arguments for constructing a AiVectorCollection resource.
136
- */
137
- export interface AiVectorCollectionArgs {
138
- /**
139
- * The collection ID
140
- */
141
- collectionId?: pulumi.Input<string>;
142
- description?: pulumi.Input<string>;
143
- /**
144
- * Embedding dimensions (default: 1024)
145
- */
146
- dimensions?: pulumi.Input<number>;
147
- /**
148
- * Embedding model to use. Supported: amazon.titan-embed-text-v2:0, cohere.embed-english-v3, cohere.embed-multilingual-v3
149
- */
150
- embeddingModel: pulumi.Input<string>;
151
- /**
152
- * Collection name (used for reference)
153
- */
154
- name?: pulumi.Input<string>;
155
- /**
156
- * The organisation ID
157
- */
158
- organisation?: pulumi.Input<string>;
159
- }
@@ -1,127 +0,0 @@
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
- import * as outputs from "./types/output";
7
- import * as utilities from "./utilities";
8
-
9
- export class AiVectorDocument extends pulumi.CustomResource {
10
- /**
11
- * Get an existing AiVectorDocument resource's state with the given name, ID, and optional extra
12
- * properties used to qualify the lookup.
13
- *
14
- * @param name The _unique_ name of the resulting resource.
15
- * @param id The _unique_ provider ID of the resource to lookup.
16
- * @param state Any extra arguments used during the lookup.
17
- * @param opts Optional settings to control the behavior of the CustomResource.
18
- */
19
- public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AiVectorDocumentState, opts?: pulumi.CustomResourceOptions): AiVectorDocument {
20
- return new AiVectorDocument(name, <any>state, { ...opts, id: id });
21
- }
22
-
23
- /** @internal */
24
- public static readonly __pulumiType = 'quant:index:AiVectorDocument';
25
-
26
- /**
27
- * Returns true if the given object is an instance of AiVectorDocument. This is designed to work even
28
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
29
- */
30
- public static isInstance(obj: any): obj is AiVectorDocument {
31
- if (obj === undefined || obj === null) {
32
- return false;
33
- }
34
- return obj['__pulumiType'] === AiVectorDocument.__pulumiType;
35
- }
36
-
37
- declare public /*out*/ readonly chunksCreated: pulumi.Output<number>;
38
- declare public readonly collectionId: pulumi.Output<string>;
39
- declare public /*out*/ readonly documentIds: pulumi.Output<string[]>;
40
- declare public readonly documents: pulumi.Output<outputs.AiVectorDocumentDocument[]>;
41
- /**
42
- * Filter by document key
43
- */
44
- declare public readonly key: pulumi.Output<string>;
45
- declare public readonly limit: pulumi.Output<number>;
46
- declare public /*out*/ readonly message: pulumi.Output<string>;
47
- declare public readonly offset: pulumi.Output<number>;
48
- declare public readonly organisation: pulumi.Output<string>;
49
- declare public /*out*/ readonly success: pulumi.Output<boolean>;
50
-
51
- /**
52
- * Create a AiVectorDocument resource with the given unique name, arguments, and options.
53
- *
54
- * @param name The _unique_ name of the resource.
55
- * @param args The arguments to use to populate this resource's properties.
56
- * @param opts A bag of options that control this resource's behavior.
57
- */
58
- constructor(name: string, args: AiVectorDocumentArgs, opts?: pulumi.CustomResourceOptions)
59
- constructor(name: string, argsOrState?: AiVectorDocumentArgs | AiVectorDocumentState, opts?: pulumi.CustomResourceOptions) {
60
- let resourceInputs: pulumi.Inputs = {};
61
- opts = opts || {};
62
- if (opts.id) {
63
- const state = argsOrState as AiVectorDocumentState | undefined;
64
- resourceInputs["chunksCreated"] = state?.chunksCreated;
65
- resourceInputs["collectionId"] = state?.collectionId;
66
- resourceInputs["documentIds"] = state?.documentIds;
67
- resourceInputs["documents"] = state?.documents;
68
- resourceInputs["key"] = state?.key;
69
- resourceInputs["limit"] = state?.limit;
70
- resourceInputs["message"] = state?.message;
71
- resourceInputs["offset"] = state?.offset;
72
- resourceInputs["organisation"] = state?.organisation;
73
- resourceInputs["success"] = state?.success;
74
- } else {
75
- const args = argsOrState as AiVectorDocumentArgs | undefined;
76
- if (args?.documents === undefined && !opts.urn) {
77
- throw new Error("Missing required property 'documents'");
78
- }
79
- resourceInputs["collectionId"] = args?.collectionId;
80
- resourceInputs["documents"] = args?.documents;
81
- resourceInputs["key"] = args?.key;
82
- resourceInputs["limit"] = args?.limit;
83
- resourceInputs["offset"] = args?.offset;
84
- resourceInputs["organisation"] = args?.organisation;
85
- resourceInputs["chunksCreated"] = undefined /*out*/;
86
- resourceInputs["documentIds"] = undefined /*out*/;
87
- resourceInputs["message"] = undefined /*out*/;
88
- resourceInputs["success"] = undefined /*out*/;
89
- }
90
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
91
- super(AiVectorDocument.__pulumiType, name, resourceInputs, opts);
92
- }
93
- }
94
-
95
- /**
96
- * Input properties used for looking up and filtering AiVectorDocument resources.
97
- */
98
- export interface AiVectorDocumentState {
99
- chunksCreated?: pulumi.Input<number>;
100
- collectionId?: pulumi.Input<string>;
101
- documentIds?: pulumi.Input<pulumi.Input<string>[]>;
102
- documents?: pulumi.Input<pulumi.Input<inputs.AiVectorDocumentDocument>[]>;
103
- /**
104
- * Filter by document key
105
- */
106
- key?: pulumi.Input<string>;
107
- limit?: pulumi.Input<number>;
108
- message?: pulumi.Input<string>;
109
- offset?: pulumi.Input<number>;
110
- organisation?: pulumi.Input<string>;
111
- success?: pulumi.Input<boolean>;
112
- }
113
-
114
- /**
115
- * The set of arguments for constructing a AiVectorDocument resource.
116
- */
117
- export interface AiVectorDocumentArgs {
118
- collectionId?: pulumi.Input<string>;
119
- documents: pulumi.Input<pulumi.Input<inputs.AiVectorDocumentDocument>[]>;
120
- /**
121
- * Filter by document key
122
- */
123
- key?: pulumi.Input<string>;
124
- limit?: pulumi.Input<number>;
125
- offset?: pulumi.Input<number>;
126
- organisation?: pulumi.Input<string>;
127
- }