@major-tech/resource-client 0.2.8 → 0.2.9
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.
|
@@ -61,18 +61,17 @@ class CosmosDBResourceClient extends import_base.BaseResourceClient {
|
|
|
61
61
|
* Read a single document by ID
|
|
62
62
|
* @param container The container name
|
|
63
63
|
* @param id The document ID
|
|
64
|
-
* @param partitionKey The partition key value
|
|
65
64
|
* @param invocationKey Unique key for tracking this invocation
|
|
66
|
-
* @param options Additional options
|
|
65
|
+
* @param options Additional options (partitionKey, timeoutMs)
|
|
67
66
|
*/
|
|
68
|
-
async read(container, id,
|
|
67
|
+
async read(container, id, invocationKey, options) {
|
|
69
68
|
const payload = {
|
|
70
69
|
type: "database",
|
|
71
70
|
subtype: "cosmosdb",
|
|
72
71
|
operation: "read",
|
|
73
72
|
container,
|
|
74
73
|
id,
|
|
75
|
-
partitionKey,
|
|
74
|
+
partitionKey: options?.partitionKey,
|
|
76
75
|
timeoutMs: options?.timeoutMs
|
|
77
76
|
};
|
|
78
77
|
return this.invokeRaw(payload, invocationKey);
|
|
@@ -82,7 +81,7 @@ class CosmosDBResourceClient extends import_base.BaseResourceClient {
|
|
|
82
81
|
* @param container The container name
|
|
83
82
|
* @param body The document body (must include id and partition key properties)
|
|
84
83
|
* @param invocationKey Unique key for tracking this invocation
|
|
85
|
-
* @param options Additional options
|
|
84
|
+
* @param options Additional options (partitionKey, timeoutMs)
|
|
86
85
|
*/
|
|
87
86
|
async create(container, body, invocationKey, options) {
|
|
88
87
|
const payload = {
|
|
@@ -91,6 +90,7 @@ class CosmosDBResourceClient extends import_base.BaseResourceClient {
|
|
|
91
90
|
operation: "create",
|
|
92
91
|
container,
|
|
93
92
|
body,
|
|
93
|
+
partitionKey: options?.partitionKey,
|
|
94
94
|
timeoutMs: options?.timeoutMs
|
|
95
95
|
};
|
|
96
96
|
return this.invokeRaw(payload, invocationKey);
|
|
@@ -99,19 +99,18 @@ class CosmosDBResourceClient extends import_base.BaseResourceClient {
|
|
|
99
99
|
* Replace an existing document
|
|
100
100
|
* @param container The container name
|
|
101
101
|
* @param id The document ID
|
|
102
|
-
* @param partitionKey The partition key value
|
|
103
102
|
* @param body The new document body
|
|
104
103
|
* @param invocationKey Unique key for tracking this invocation
|
|
105
|
-
* @param options Additional options
|
|
104
|
+
* @param options Additional options (partitionKey, timeoutMs)
|
|
106
105
|
*/
|
|
107
|
-
async replace(container, id,
|
|
106
|
+
async replace(container, id, body, invocationKey, options) {
|
|
108
107
|
const payload = {
|
|
109
108
|
type: "database",
|
|
110
109
|
subtype: "cosmosdb",
|
|
111
110
|
operation: "replace",
|
|
112
111
|
container,
|
|
113
112
|
id,
|
|
114
|
-
partitionKey,
|
|
113
|
+
partitionKey: options?.partitionKey,
|
|
115
114
|
body,
|
|
116
115
|
timeoutMs: options?.timeoutMs
|
|
117
116
|
};
|
|
@@ -122,7 +121,7 @@ class CosmosDBResourceClient extends import_base.BaseResourceClient {
|
|
|
122
121
|
* @param container The container name
|
|
123
122
|
* @param body The document body (must include id and partition key properties)
|
|
124
123
|
* @param invocationKey Unique key for tracking this invocation
|
|
125
|
-
* @param options Additional options
|
|
124
|
+
* @param options Additional options (partitionKey, timeoutMs)
|
|
126
125
|
*/
|
|
127
126
|
async upsert(container, body, invocationKey, options) {
|
|
128
127
|
const payload = {
|
|
@@ -131,6 +130,7 @@ class CosmosDBResourceClient extends import_base.BaseResourceClient {
|
|
|
131
130
|
operation: "upsert",
|
|
132
131
|
container,
|
|
133
132
|
body,
|
|
133
|
+
partitionKey: options?.partitionKey,
|
|
134
134
|
timeoutMs: options?.timeoutMs
|
|
135
135
|
};
|
|
136
136
|
return this.invokeRaw(payload, invocationKey);
|
|
@@ -139,18 +139,17 @@ class CosmosDBResourceClient extends import_base.BaseResourceClient {
|
|
|
139
139
|
* Delete a document
|
|
140
140
|
* @param container The container name
|
|
141
141
|
* @param id The document ID
|
|
142
|
-
* @param partitionKey The partition key value
|
|
143
142
|
* @param invocationKey Unique key for tracking this invocation
|
|
144
|
-
* @param options Additional options
|
|
143
|
+
* @param options Additional options (partitionKey, timeoutMs)
|
|
145
144
|
*/
|
|
146
|
-
async delete(container, id,
|
|
145
|
+
async delete(container, id, invocationKey, options) {
|
|
147
146
|
const payload = {
|
|
148
147
|
type: "database",
|
|
149
148
|
subtype: "cosmosdb",
|
|
150
149
|
operation: "delete",
|
|
151
150
|
container,
|
|
152
151
|
id,
|
|
153
|
-
partitionKey,
|
|
152
|
+
partitionKey: options?.partitionKey,
|
|
154
153
|
timeoutMs: options?.timeoutMs
|
|
155
154
|
};
|
|
156
155
|
return this.invokeRaw(payload, invocationKey);
|
|
@@ -159,19 +158,18 @@ class CosmosDBResourceClient extends import_base.BaseResourceClient {
|
|
|
159
158
|
* Patch a document with partial updates
|
|
160
159
|
* @param container The container name
|
|
161
160
|
* @param id The document ID
|
|
162
|
-
* @param partitionKey The partition key value
|
|
163
161
|
* @param patchOperations Array of patch operations
|
|
164
162
|
* @param invocationKey Unique key for tracking this invocation
|
|
165
|
-
* @param options Additional options (condition, timeoutMs)
|
|
163
|
+
* @param options Additional options (partitionKey, condition, timeoutMs)
|
|
166
164
|
*/
|
|
167
|
-
async patch(container, id,
|
|
165
|
+
async patch(container, id, patchOperations, invocationKey, options) {
|
|
168
166
|
const payload = {
|
|
169
167
|
type: "database",
|
|
170
168
|
subtype: "cosmosdb",
|
|
171
169
|
operation: "patch",
|
|
172
170
|
container,
|
|
173
171
|
id,
|
|
174
|
-
partitionKey,
|
|
172
|
+
partitionKey: options?.partitionKey,
|
|
175
173
|
patchOperations,
|
|
176
174
|
condition: options?.condition,
|
|
177
175
|
timeoutMs: options?.timeoutMs
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/clients/cosmosdb.ts"],
|
|
4
|
-
"sourcesContent": ["import type {\n DbCosmosDBPayload,\n CosmosValue,\n PartitionKey,\n CosmosQueryParameter,\n CosmosPatchOperation,\n CosmosQueryResult,\n CosmosReadResult,\n CosmosCreateResult,\n CosmosReplaceResult,\n CosmosUpsertResult,\n CosmosDeleteResult,\n CosmosPatchResult,\n DbCosmosDBResultGeneric,\n} from \"../schemas\";\nimport type { BaseInvokeSuccess, InvokeFailure } from \"../schemas/response\";\nimport { BaseResourceClient } from \"../base\";\n\nexport class CosmosDBResourceClient extends BaseResourceClient {\n /**\n * Invoke a CosmosDB operation with a raw payload\n * @param payload The complete operation payload\n * @param invocationKey Unique key for tracking this invocation\n */\n async invoke<T = Record<string, unknown>>(\n payload: DbCosmosDBPayload,\n invocationKey: string\n ): Promise<BaseInvokeSuccess<DbCosmosDBResultGeneric<T>> | InvokeFailure> {\n return this.invokeRaw(payload, invocationKey) as Promise<\n BaseInvokeSuccess<DbCosmosDBResultGeneric<T>> | InvokeFailure\n >;\n }\n\n /**\n * Execute a SQL query against a container\n * @param container The container name\n * @param query The SQL query string\n * @param invocationKey Unique key for tracking this invocation\n * @param options Query options (parameters, partitionKey, pagination)\n */\n async query<T = Record<string, unknown>>(\n container: string,\n query: string,\n invocationKey: string,\n options?: {\n parameters?: CosmosQueryParameter[];\n partitionKey?: PartitionKey;\n maxItemCount?: number;\n continuationToken?: string;\n timeoutMs?: number;\n }\n ): Promise<BaseInvokeSuccess<CosmosQueryResult<T>> | InvokeFailure> {\n const payload: DbCosmosDBPayload = {\n type: \"database\",\n subtype: \"cosmosdb\",\n operation: \"query\",\n container,\n query,\n parameters: options?.parameters,\n partitionKey: options?.partitionKey,\n maxItemCount: options?.maxItemCount,\n continuationToken: options?.continuationToken,\n timeoutMs: options?.timeoutMs,\n };\n\n return this.invokeRaw(payload, invocationKey) as Promise<\n BaseInvokeSuccess<CosmosQueryResult<T>> | InvokeFailure\n >;\n }\n\n /**\n * Read a single document by ID\n * @param container The container name\n * @param id The document ID\n * @param
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;AAgBA;;;;;AAAA,kBAAmC;AAE7B,MAAO,+BAA+B,+BAAkB;EAF9D,OAE8D;;;;;;;;EAM5D,MAAM,OACJ,SACA,eAAqB;AAErB,WAAO,KAAK,UAAU,SAAS,aAAa;EAG9C;;;;;;;;EASA,MAAM,MACJ,WACA,OACA,eACA,SAMC;AAED,UAAM,UAA6B;MACjC,MAAM;MACN,SAAS;MACT,WAAW;MACX;MACA;MACA,YAAY,SAAS;MACrB,cAAc,SAAS;MACvB,cAAc,SAAS;MACvB,mBAAmB,SAAS;MAC5B,WAAW,SAAS;;AAGtB,WAAO,KAAK,UAAU,SAAS,aAAa;EAG9C
|
|
4
|
+
"sourcesContent": ["import type {\n DbCosmosDBPayload,\n CosmosValue,\n PartitionKey,\n CosmosQueryParameter,\n CosmosPatchOperation,\n CosmosQueryResult,\n CosmosReadResult,\n CosmosCreateResult,\n CosmosReplaceResult,\n CosmosUpsertResult,\n CosmosDeleteResult,\n CosmosPatchResult,\n DbCosmosDBResultGeneric,\n} from \"../schemas\";\nimport type { BaseInvokeSuccess, InvokeFailure } from \"../schemas/response\";\nimport { BaseResourceClient } from \"../base\";\n\nexport class CosmosDBResourceClient extends BaseResourceClient {\n /**\n * Invoke a CosmosDB operation with a raw payload\n * @param payload The complete operation payload\n * @param invocationKey Unique key for tracking this invocation\n */\n async invoke<T = Record<string, unknown>>(\n payload: DbCosmosDBPayload,\n invocationKey: string\n ): Promise<BaseInvokeSuccess<DbCosmosDBResultGeneric<T>> | InvokeFailure> {\n return this.invokeRaw(payload, invocationKey) as Promise<\n BaseInvokeSuccess<DbCosmosDBResultGeneric<T>> | InvokeFailure\n >;\n }\n\n /**\n * Execute a SQL query against a container\n * @param container The container name\n * @param query The SQL query string\n * @param invocationKey Unique key for tracking this invocation\n * @param options Query options (parameters, partitionKey, pagination)\n */\n async query<T = Record<string, unknown>>(\n container: string,\n query: string,\n invocationKey: string,\n options?: {\n parameters?: CosmosQueryParameter[];\n partitionKey?: PartitionKey;\n maxItemCount?: number;\n continuationToken?: string;\n timeoutMs?: number;\n }\n ): Promise<BaseInvokeSuccess<CosmosQueryResult<T>> | InvokeFailure> {\n const payload: DbCosmosDBPayload = {\n type: \"database\",\n subtype: \"cosmosdb\",\n operation: \"query\",\n container,\n query,\n parameters: options?.parameters,\n partitionKey: options?.partitionKey,\n maxItemCount: options?.maxItemCount,\n continuationToken: options?.continuationToken,\n timeoutMs: options?.timeoutMs,\n };\n\n return this.invokeRaw(payload, invocationKey) as Promise<\n BaseInvokeSuccess<CosmosQueryResult<T>> | InvokeFailure\n >;\n }\n\n /**\n * Read a single document by ID\n * @param container The container name\n * @param id The document ID\n * @param invocationKey Unique key for tracking this invocation\n * @param options Additional options (partitionKey, timeoutMs)\n */\n async read<T = Record<string, unknown>>(\n container: string,\n id: string,\n invocationKey: string,\n options?: { partitionKey?: PartitionKey; timeoutMs?: number }\n ): Promise<BaseInvokeSuccess<CosmosReadResult<T>> | InvokeFailure> {\n const payload: DbCosmosDBPayload = {\n type: \"database\",\n subtype: \"cosmosdb\",\n operation: \"read\",\n container,\n id,\n partitionKey: options?.partitionKey,\n timeoutMs: options?.timeoutMs,\n };\n\n return this.invokeRaw(payload, invocationKey) as Promise<\n BaseInvokeSuccess<CosmosReadResult<T>> | InvokeFailure\n >;\n }\n\n /**\n * Create a new document\n * @param container The container name\n * @param body The document body (must include id and partition key properties)\n * @param invocationKey Unique key for tracking this invocation\n * @param options Additional options (partitionKey, timeoutMs)\n */\n async create<T = Record<string, unknown>>(\n container: string,\n body: Record<string, CosmosValue>,\n invocationKey: string,\n options?: { partitionKey?: PartitionKey; timeoutMs?: number }\n ): Promise<BaseInvokeSuccess<CosmosCreateResult<T>> | InvokeFailure> {\n const payload: DbCosmosDBPayload = {\n type: \"database\",\n subtype: \"cosmosdb\",\n operation: \"create\",\n container,\n body,\n partitionKey: options?.partitionKey,\n timeoutMs: options?.timeoutMs,\n };\n\n return this.invokeRaw(payload, invocationKey) as Promise<\n BaseInvokeSuccess<CosmosCreateResult<T>> | InvokeFailure\n >;\n }\n\n /**\n * Replace an existing document\n * @param container The container name\n * @param id The document ID\n * @param body The new document body\n * @param invocationKey Unique key for tracking this invocation\n * @param options Additional options (partitionKey, timeoutMs)\n */\n async replace<T = Record<string, unknown>>(\n container: string,\n id: string,\n body: Record<string, CosmosValue>,\n invocationKey: string,\n options?: { partitionKey?: PartitionKey; timeoutMs?: number }\n ): Promise<BaseInvokeSuccess<CosmosReplaceResult<T>> | InvokeFailure> {\n const payload: DbCosmosDBPayload = {\n type: \"database\",\n subtype: \"cosmosdb\",\n operation: \"replace\",\n container,\n id,\n partitionKey: options?.partitionKey,\n body,\n timeoutMs: options?.timeoutMs,\n };\n\n return this.invokeRaw(payload, invocationKey) as Promise<\n BaseInvokeSuccess<CosmosReplaceResult<T>> | InvokeFailure\n >;\n }\n\n /**\n * Upsert a document (insert or replace)\n * @param container The container name\n * @param body The document body (must include id and partition key properties)\n * @param invocationKey Unique key for tracking this invocation\n * @param options Additional options (partitionKey, timeoutMs)\n */\n async upsert<T = Record<string, unknown>>(\n container: string,\n body: Record<string, CosmosValue>,\n invocationKey: string,\n options?: { partitionKey?: PartitionKey; timeoutMs?: number }\n ): Promise<BaseInvokeSuccess<CosmosUpsertResult<T>> | InvokeFailure> {\n const payload: DbCosmosDBPayload = {\n type: \"database\",\n subtype: \"cosmosdb\",\n operation: \"upsert\",\n container,\n body,\n partitionKey: options?.partitionKey,\n timeoutMs: options?.timeoutMs,\n };\n\n return this.invokeRaw(payload, invocationKey) as Promise<\n BaseInvokeSuccess<CosmosUpsertResult<T>> | InvokeFailure\n >;\n }\n\n /**\n * Delete a document\n * @param container The container name\n * @param id The document ID\n * @param invocationKey Unique key for tracking this invocation\n * @param options Additional options (partitionKey, timeoutMs)\n */\n async delete(\n container: string,\n id: string,\n invocationKey: string,\n options?: { partitionKey?: PartitionKey; timeoutMs?: number }\n ): Promise<BaseInvokeSuccess<CosmosDeleteResult> | InvokeFailure> {\n const payload: DbCosmosDBPayload = {\n type: \"database\",\n subtype: \"cosmosdb\",\n operation: \"delete\",\n container,\n id,\n partitionKey: options?.partitionKey,\n timeoutMs: options?.timeoutMs,\n };\n\n return this.invokeRaw(payload, invocationKey) as Promise<\n BaseInvokeSuccess<CosmosDeleteResult> | InvokeFailure\n >;\n }\n\n /**\n * Patch a document with partial updates\n * @param container The container name\n * @param id The document ID\n * @param patchOperations Array of patch operations\n * @param invocationKey Unique key for tracking this invocation\n * @param options Additional options (partitionKey, condition, timeoutMs)\n */\n async patch<T = Record<string, unknown>>(\n container: string,\n id: string,\n patchOperations: CosmosPatchOperation[],\n invocationKey: string,\n options?: { partitionKey?: PartitionKey; condition?: string; timeoutMs?: number }\n ): Promise<BaseInvokeSuccess<CosmosPatchResult<T>> | InvokeFailure> {\n const payload: DbCosmosDBPayload = {\n type: \"database\",\n subtype: \"cosmosdb\",\n operation: \"patch\",\n container,\n id,\n partitionKey: options?.partitionKey,\n patchOperations,\n condition: options?.condition,\n timeoutMs: options?.timeoutMs,\n };\n\n return this.invokeRaw(payload, invocationKey) as Promise<\n BaseInvokeSuccess<CosmosPatchResult<T>> | InvokeFailure\n >;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;AAgBA;;;;;AAAA,kBAAmC;AAE7B,MAAO,+BAA+B,+BAAkB;EAF9D,OAE8D;;;;;;;;EAM5D,MAAM,OACJ,SACA,eAAqB;AAErB,WAAO,KAAK,UAAU,SAAS,aAAa;EAG9C;;;;;;;;EASA,MAAM,MACJ,WACA,OACA,eACA,SAMC;AAED,UAAM,UAA6B;MACjC,MAAM;MACN,SAAS;MACT,WAAW;MACX;MACA;MACA,YAAY,SAAS;MACrB,cAAc,SAAS;MACvB,cAAc,SAAS;MACvB,mBAAmB,SAAS;MAC5B,WAAW,SAAS;;AAGtB,WAAO,KAAK,UAAU,SAAS,aAAa;EAG9C;;;;;;;;EASA,MAAM,KACJ,WACA,IACA,eACA,SAA6D;AAE7D,UAAM,UAA6B;MACjC,MAAM;MACN,SAAS;MACT,WAAW;MACX;MACA;MACA,cAAc,SAAS;MACvB,WAAW,SAAS;;AAGtB,WAAO,KAAK,UAAU,SAAS,aAAa;EAG9C;;;;;;;;EASA,MAAM,OACJ,WACA,MACA,eACA,SAA6D;AAE7D,UAAM,UAA6B;MACjC,MAAM;MACN,SAAS;MACT,WAAW;MACX;MACA;MACA,cAAc,SAAS;MACvB,WAAW,SAAS;;AAGtB,WAAO,KAAK,UAAU,SAAS,aAAa;EAG9C;;;;;;;;;EAUA,MAAM,QACJ,WACA,IACA,MACA,eACA,SAA6D;AAE7D,UAAM,UAA6B;MACjC,MAAM;MACN,SAAS;MACT,WAAW;MACX;MACA;MACA,cAAc,SAAS;MACvB;MACA,WAAW,SAAS;;AAGtB,WAAO,KAAK,UAAU,SAAS,aAAa;EAG9C;;;;;;;;EASA,MAAM,OACJ,WACA,MACA,eACA,SAA6D;AAE7D,UAAM,UAA6B;MACjC,MAAM;MACN,SAAS;MACT,WAAW;MACX;MACA;MACA,cAAc,SAAS;MACvB,WAAW,SAAS;;AAGtB,WAAO,KAAK,UAAU,SAAS,aAAa;EAG9C;;;;;;;;EASA,MAAM,OACJ,WACA,IACA,eACA,SAA6D;AAE7D,UAAM,UAA6B;MACjC,MAAM;MACN,SAAS;MACT,WAAW;MACX;MACA;MACA,cAAc,SAAS;MACvB,WAAW,SAAS;;AAGtB,WAAO,KAAK,UAAU,SAAS,aAAa;EAG9C;;;;;;;;;EAUA,MAAM,MACJ,WACA,IACA,iBACA,eACA,SAAiF;AAEjF,UAAM,UAA6B;MACjC,MAAM;MACN,SAAS;MACT,WAAW;MACX;MACA;MACA,cAAc,SAAS;MACvB;MACA,WAAW,SAAS;MACpB,WAAW,SAAS;;AAGtB,WAAO,KAAK,UAAU,SAAS,aAAa;EAG9C;;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -26,11 +26,11 @@ export declare class CosmosDBResourceClient extends BaseResourceClient {
|
|
|
26
26
|
* Read a single document by ID
|
|
27
27
|
* @param container The container name
|
|
28
28
|
* @param id The document ID
|
|
29
|
-
* @param partitionKey The partition key value
|
|
30
29
|
* @param invocationKey Unique key for tracking this invocation
|
|
31
|
-
* @param options Additional options
|
|
30
|
+
* @param options Additional options (partitionKey, timeoutMs)
|
|
32
31
|
*/
|
|
33
|
-
read<T = Record<string, unknown>>(container: string, id: string,
|
|
32
|
+
read<T = Record<string, unknown>>(container: string, id: string, invocationKey: string, options?: {
|
|
33
|
+
partitionKey?: PartitionKey;
|
|
34
34
|
timeoutMs?: number;
|
|
35
35
|
}): Promise<BaseInvokeSuccess<CosmosReadResult<T>> | InvokeFailure>;
|
|
36
36
|
/**
|
|
@@ -38,21 +38,22 @@ export declare class CosmosDBResourceClient extends BaseResourceClient {
|
|
|
38
38
|
* @param container The container name
|
|
39
39
|
* @param body The document body (must include id and partition key properties)
|
|
40
40
|
* @param invocationKey Unique key for tracking this invocation
|
|
41
|
-
* @param options Additional options
|
|
41
|
+
* @param options Additional options (partitionKey, timeoutMs)
|
|
42
42
|
*/
|
|
43
43
|
create<T = Record<string, unknown>>(container: string, body: Record<string, CosmosValue>, invocationKey: string, options?: {
|
|
44
|
+
partitionKey?: PartitionKey;
|
|
44
45
|
timeoutMs?: number;
|
|
45
46
|
}): Promise<BaseInvokeSuccess<CosmosCreateResult<T>> | InvokeFailure>;
|
|
46
47
|
/**
|
|
47
48
|
* Replace an existing document
|
|
48
49
|
* @param container The container name
|
|
49
50
|
* @param id The document ID
|
|
50
|
-
* @param partitionKey The partition key value
|
|
51
51
|
* @param body The new document body
|
|
52
52
|
* @param invocationKey Unique key for tracking this invocation
|
|
53
|
-
* @param options Additional options
|
|
53
|
+
* @param options Additional options (partitionKey, timeoutMs)
|
|
54
54
|
*/
|
|
55
|
-
replace<T = Record<string, unknown>>(container: string, id: string,
|
|
55
|
+
replace<T = Record<string, unknown>>(container: string, id: string, body: Record<string, CosmosValue>, invocationKey: string, options?: {
|
|
56
|
+
partitionKey?: PartitionKey;
|
|
56
57
|
timeoutMs?: number;
|
|
57
58
|
}): Promise<BaseInvokeSuccess<CosmosReplaceResult<T>> | InvokeFailure>;
|
|
58
59
|
/**
|
|
@@ -60,32 +61,33 @@ export declare class CosmosDBResourceClient extends BaseResourceClient {
|
|
|
60
61
|
* @param container The container name
|
|
61
62
|
* @param body The document body (must include id and partition key properties)
|
|
62
63
|
* @param invocationKey Unique key for tracking this invocation
|
|
63
|
-
* @param options Additional options
|
|
64
|
+
* @param options Additional options (partitionKey, timeoutMs)
|
|
64
65
|
*/
|
|
65
66
|
upsert<T = Record<string, unknown>>(container: string, body: Record<string, CosmosValue>, invocationKey: string, options?: {
|
|
67
|
+
partitionKey?: PartitionKey;
|
|
66
68
|
timeoutMs?: number;
|
|
67
69
|
}): Promise<BaseInvokeSuccess<CosmosUpsertResult<T>> | InvokeFailure>;
|
|
68
70
|
/**
|
|
69
71
|
* Delete a document
|
|
70
72
|
* @param container The container name
|
|
71
73
|
* @param id The document ID
|
|
72
|
-
* @param partitionKey The partition key value
|
|
73
74
|
* @param invocationKey Unique key for tracking this invocation
|
|
74
|
-
* @param options Additional options
|
|
75
|
+
* @param options Additional options (partitionKey, timeoutMs)
|
|
75
76
|
*/
|
|
76
|
-
delete(container: string, id: string,
|
|
77
|
+
delete(container: string, id: string, invocationKey: string, options?: {
|
|
78
|
+
partitionKey?: PartitionKey;
|
|
77
79
|
timeoutMs?: number;
|
|
78
80
|
}): Promise<BaseInvokeSuccess<CosmosDeleteResult> | InvokeFailure>;
|
|
79
81
|
/**
|
|
80
82
|
* Patch a document with partial updates
|
|
81
83
|
* @param container The container name
|
|
82
84
|
* @param id The document ID
|
|
83
|
-
* @param partitionKey The partition key value
|
|
84
85
|
* @param patchOperations Array of patch operations
|
|
85
86
|
* @param invocationKey Unique key for tracking this invocation
|
|
86
|
-
* @param options Additional options (condition, timeoutMs)
|
|
87
|
+
* @param options Additional options (partitionKey, condition, timeoutMs)
|
|
87
88
|
*/
|
|
88
|
-
patch<T = Record<string, unknown>>(container: string, id: string,
|
|
89
|
+
patch<T = Record<string, unknown>>(container: string, id: string, patchOperations: CosmosPatchOperation[], invocationKey: string, options?: {
|
|
90
|
+
partitionKey?: PartitionKey;
|
|
89
91
|
condition?: string;
|
|
90
92
|
timeoutMs?: number;
|
|
91
93
|
}): Promise<BaseInvokeSuccess<CosmosPatchResult<T>> | InvokeFailure>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cosmosdb.d.ts","sourceRoot":"","sources":["../../src/clients/cosmosdb.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,oBAAoB,EACpB,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,qBAAa,sBAAuB,SAAQ,kBAAkB;IAC5D;;;;OAIG;IACG,MAAM,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACtC,OAAO,EAAE,iBAAiB,EAC1B,aAAa,EAAE,MAAM,GACpB,OAAO,CAAC,iBAAiB,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC;IAMzE;;;;;;OAMG;IACG,KAAK,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACrC,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE;QACR,UAAU,CAAC,EAAE,oBAAoB,EAAE,CAAC;QACpC,YAAY,CAAC,EAAE,YAAY,CAAC;QAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;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AM,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACtC,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,EACjC,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE;QAAE,YAAY,CAAC,EAAE,YAAY,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,GAC5D,OAAO,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC;IAgBpE;;;;;;OAMG;IACG,MAAM,CACV,SAAS,EAAE,MAAM,EACjB,EAAE,EAAE,MAAM,EACV,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE;QAAE,YAAY,CAAC,EAAE,YAAY,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,GAC5D,OAAO,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,GAAG,aAAa,CAAC;IAgBjE;;;;;;;OAOG;IACG,KAAK,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACrC,SAAS,EAAE,MAAM,EACjB,EAAE,EAAE,MAAM,EACV,eAAe,EAAE,oBAAoB,EAAE,EACvC,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE;QAAE,YAAY,CAAC,EAAE,YAAY,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,GAChF,OAAO,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC;CAiBpE"}
|
package/dist/clients/cosmosdb.js
CHANGED
|
@@ -34,18 +34,17 @@ export class CosmosDBResourceClient extends BaseResourceClient {
|
|
|
34
34
|
* Read a single document by ID
|
|
35
35
|
* @param container The container name
|
|
36
36
|
* @param id The document ID
|
|
37
|
-
* @param partitionKey The partition key value
|
|
38
37
|
* @param invocationKey Unique key for tracking this invocation
|
|
39
|
-
* @param options Additional options
|
|
38
|
+
* @param options Additional options (partitionKey, timeoutMs)
|
|
40
39
|
*/
|
|
41
|
-
async read(container, id,
|
|
40
|
+
async read(container, id, invocationKey, options) {
|
|
42
41
|
const payload = {
|
|
43
42
|
type: "database",
|
|
44
43
|
subtype: "cosmosdb",
|
|
45
44
|
operation: "read",
|
|
46
45
|
container,
|
|
47
46
|
id,
|
|
48
|
-
partitionKey,
|
|
47
|
+
partitionKey: options?.partitionKey,
|
|
49
48
|
timeoutMs: options?.timeoutMs,
|
|
50
49
|
};
|
|
51
50
|
return this.invokeRaw(payload, invocationKey);
|
|
@@ -55,7 +54,7 @@ export class CosmosDBResourceClient extends BaseResourceClient {
|
|
|
55
54
|
* @param container The container name
|
|
56
55
|
* @param body The document body (must include id and partition key properties)
|
|
57
56
|
* @param invocationKey Unique key for tracking this invocation
|
|
58
|
-
* @param options Additional options
|
|
57
|
+
* @param options Additional options (partitionKey, timeoutMs)
|
|
59
58
|
*/
|
|
60
59
|
async create(container, body, invocationKey, options) {
|
|
61
60
|
const payload = {
|
|
@@ -64,6 +63,7 @@ export class CosmosDBResourceClient extends BaseResourceClient {
|
|
|
64
63
|
operation: "create",
|
|
65
64
|
container,
|
|
66
65
|
body,
|
|
66
|
+
partitionKey: options?.partitionKey,
|
|
67
67
|
timeoutMs: options?.timeoutMs,
|
|
68
68
|
};
|
|
69
69
|
return this.invokeRaw(payload, invocationKey);
|
|
@@ -72,19 +72,18 @@ export class CosmosDBResourceClient extends BaseResourceClient {
|
|
|
72
72
|
* Replace an existing document
|
|
73
73
|
* @param container The container name
|
|
74
74
|
* @param id The document ID
|
|
75
|
-
* @param partitionKey The partition key value
|
|
76
75
|
* @param body The new document body
|
|
77
76
|
* @param invocationKey Unique key for tracking this invocation
|
|
78
|
-
* @param options Additional options
|
|
77
|
+
* @param options Additional options (partitionKey, timeoutMs)
|
|
79
78
|
*/
|
|
80
|
-
async replace(container, id,
|
|
79
|
+
async replace(container, id, body, invocationKey, options) {
|
|
81
80
|
const payload = {
|
|
82
81
|
type: "database",
|
|
83
82
|
subtype: "cosmosdb",
|
|
84
83
|
operation: "replace",
|
|
85
84
|
container,
|
|
86
85
|
id,
|
|
87
|
-
partitionKey,
|
|
86
|
+
partitionKey: options?.partitionKey,
|
|
88
87
|
body,
|
|
89
88
|
timeoutMs: options?.timeoutMs,
|
|
90
89
|
};
|
|
@@ -95,7 +94,7 @@ export class CosmosDBResourceClient extends BaseResourceClient {
|
|
|
95
94
|
* @param container The container name
|
|
96
95
|
* @param body The document body (must include id and partition key properties)
|
|
97
96
|
* @param invocationKey Unique key for tracking this invocation
|
|
98
|
-
* @param options Additional options
|
|
97
|
+
* @param options Additional options (partitionKey, timeoutMs)
|
|
99
98
|
*/
|
|
100
99
|
async upsert(container, body, invocationKey, options) {
|
|
101
100
|
const payload = {
|
|
@@ -104,6 +103,7 @@ export class CosmosDBResourceClient extends BaseResourceClient {
|
|
|
104
103
|
operation: "upsert",
|
|
105
104
|
container,
|
|
106
105
|
body,
|
|
106
|
+
partitionKey: options?.partitionKey,
|
|
107
107
|
timeoutMs: options?.timeoutMs,
|
|
108
108
|
};
|
|
109
109
|
return this.invokeRaw(payload, invocationKey);
|
|
@@ -112,18 +112,17 @@ export class CosmosDBResourceClient extends BaseResourceClient {
|
|
|
112
112
|
* Delete a document
|
|
113
113
|
* @param container The container name
|
|
114
114
|
* @param id The document ID
|
|
115
|
-
* @param partitionKey The partition key value
|
|
116
115
|
* @param invocationKey Unique key for tracking this invocation
|
|
117
|
-
* @param options Additional options
|
|
116
|
+
* @param options Additional options (partitionKey, timeoutMs)
|
|
118
117
|
*/
|
|
119
|
-
async delete(container, id,
|
|
118
|
+
async delete(container, id, invocationKey, options) {
|
|
120
119
|
const payload = {
|
|
121
120
|
type: "database",
|
|
122
121
|
subtype: "cosmosdb",
|
|
123
122
|
operation: "delete",
|
|
124
123
|
container,
|
|
125
124
|
id,
|
|
126
|
-
partitionKey,
|
|
125
|
+
partitionKey: options?.partitionKey,
|
|
127
126
|
timeoutMs: options?.timeoutMs,
|
|
128
127
|
};
|
|
129
128
|
return this.invokeRaw(payload, invocationKey);
|
|
@@ -132,19 +131,18 @@ export class CosmosDBResourceClient extends BaseResourceClient {
|
|
|
132
131
|
* Patch a document with partial updates
|
|
133
132
|
* @param container The container name
|
|
134
133
|
* @param id The document ID
|
|
135
|
-
* @param partitionKey The partition key value
|
|
136
134
|
* @param patchOperations Array of patch operations
|
|
137
135
|
* @param invocationKey Unique key for tracking this invocation
|
|
138
|
-
* @param options Additional options (condition, timeoutMs)
|
|
136
|
+
* @param options Additional options (partitionKey, condition, timeoutMs)
|
|
139
137
|
*/
|
|
140
|
-
async patch(container, id,
|
|
138
|
+
async patch(container, id, patchOperations, invocationKey, options) {
|
|
141
139
|
const payload = {
|
|
142
140
|
type: "database",
|
|
143
141
|
subtype: "cosmosdb",
|
|
144
142
|
operation: "patch",
|
|
145
143
|
container,
|
|
146
144
|
id,
|
|
147
|
-
partitionKey,
|
|
145
|
+
partitionKey: options?.partitionKey,
|
|
148
146
|
patchOperations,
|
|
149
147
|
condition: options?.condition,
|
|
150
148
|
timeoutMs: options?.timeoutMs,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cosmosdb.js","sourceRoot":"","sources":["../../src/clients/cosmosdb.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,MAAM,OAAO,sBAAuB,SAAQ,kBAAkB;IAC5D;;;;OAIG;IACH,KAAK,CAAC,MAAM,CACV,OAA0B,EAC1B,aAAqB;QAErB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,aAAa,CAE3C,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,KAAK,CACT,SAAiB,EACjB,KAAa,EACb,aAAqB,EACrB,OAMC;QAED,MAAM,OAAO,GAAsB;YACjC,IAAI,EAAE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