@dual-os/dynamics-api 0.0.0-stage → 8.0.3

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 (46) hide show
  1. package/LICENSE +4 -0
  2. package/Runner.js +5771 -0
  3. package/Runner.js.map +63 -0
  4. package/bundle-inventory.json +1 -0
  5. package/dist/_virtual/_rolldown/runtime.js +10 -0
  6. package/dist/_virtual/_rolldown/runtime.js.map +9 -0
  7. package/dist/auth.d.ts +35 -0
  8. package/dist/auth.d.ts.map +1 -0
  9. package/dist/auth.js +16 -0
  10. package/dist/auth.js.map +9 -0
  11. package/dist/generated/http.d.ts +81 -0
  12. package/dist/generated/http.d.ts.map +1 -0
  13. package/dist/generated/http.js +64 -0
  14. package/dist/generated/http.js.map +9 -0
  15. package/dist/generated/operations.d.ts +113 -0
  16. package/dist/generated/operations.d.ts.map +1 -0
  17. package/dist/generated/operations.js +46 -0
  18. package/dist/generated/operations.js.map +9 -0
  19. package/dist/generated/plugin.d.ts +55 -0
  20. package/dist/generated/plugin.d.ts.map +1 -0
  21. package/dist/generated/plugin.js +95 -0
  22. package/dist/generated/plugin.js.map +10 -0
  23. package/dist/triggers.d.ts +92 -0
  24. package/dist/triggers.d.ts.map +1 -0
  25. package/dist/triggers.js +17 -0
  26. package/dist/triggers.js.map +9 -0
  27. package/dual-plugin.json +1 -0
  28. package/licenses/@dual-os_sdk@0.8.1/LICENSE +4 -0
  29. package/licenses/@effect_platform-node-shared@4.1.2/LICENSE +21 -0
  30. package/licenses/@effect_platform-node@4.1.2/LICENSE +21 -0
  31. package/licenses/effect@4.1.2/LICENSE +21 -0
  32. package/package.json +1 -6
  33. package/plugin-13g044ny.js +197 -0
  34. package/plugin-13g044ny.js.map +10 -0
  35. package/plugin-2jdfj02n.js +18 -0
  36. package/plugin-2jdfj02n.js.map +10 -0
  37. package/plugin-72zm9ftz.js +19124 -0
  38. package/plugin-72zm9ftz.js.map +159 -0
  39. package/plugin-dpa3d1wz.js +172 -0
  40. package/plugin-dpa3d1wz.js.map +10 -0
  41. package/plugin-ma04jcpp.js +62 -0
  42. package/plugin-ma04jcpp.js.map +10 -0
  43. package/plugin-y6mf6hx3.js +1362 -0
  44. package/plugin-y6mf6hx3.js.map +18 -0
  45. package/plugin.json +26 -0
  46. package/README.md +0 -3
@@ -0,0 +1,92 @@
1
+ import { Row } from "./generated/operations.js";
2
+ import { Effect, Schema } from "effect";
3
+ import { Trigger } from "@dual-os/sdk";
4
+ //#region src/triggers.d.ts
5
+ declare const DataverseChangeFeedError_base: Schema.Class<DataverseChangeFeedError, Schema.TaggedStruct<"DataverseChangeFeedError", {
6
+ readonly cause: Schema.optionalKey<Schema.Defect>;
7
+ readonly message: Schema.String;
8
+ }>, import("effect/Cause").YieldableError>;
9
+ declare class DataverseChangeFeedError extends DataverseChangeFeedError_base {}
10
+ export declare const triggers: readonly [Trigger.Trigger<"changes", "polling", Schema.Struct<{
11
+ readonly entitySet: Schema.NonEmptyString;
12
+ readonly primaryKey: Schema.NonEmptyString;
13
+ readonly select: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
14
+ }>, Schema.Union<readonly [Schema.Struct<{
15
+ readonly event: Schema.Literals<readonly ["created", "updated"]>;
16
+ readonly id: Schema.NonEmptyString;
17
+ readonly row: Schema.Codec<Row, Row, never, never>;
18
+ }>, Schema.Struct<{
19
+ readonly event: Schema.Literal<"deleted">;
20
+ readonly id: Schema.NonEmptyString;
21
+ readonly reason: Schema.NonEmptyString;
22
+ }>]>, Schema.Struct<{
23
+ readonly deltaLink: Schema.NonEmptyString;
24
+ readonly revisions: Schema.$Record<Schema.String, Schema.NonEmptyString>;
25
+ }>, true>];
26
+ export declare const handlers: {
27
+ changes: {
28
+ poll: (input: Trigger.PollingInput<{
29
+ readonly entitySet: string;
30
+ readonly primaryKey: string;
31
+ readonly select?: readonly string[];
32
+ }, {
33
+ readonly deltaLink: string;
34
+ readonly revisions: {
35
+ readonly [x: string]: string;
36
+ };
37
+ } | undefined>, context: {
38
+ readonly auth: import("@dual-os/sdk/AuthMethodBinding").Context<readonly [import("@dual-os/sdk/AuthMethod").AuthMethod<"oauth", Schema.Struct<{
39
+ readonly clientId: Schema.String;
40
+ readonly clientSecret: Schema.String;
41
+ readonly organizationUrl: Schema.String;
42
+ readonly tenantId: Schema.withDecodingDefaultKey<Schema.String, never>;
43
+ }>, undefined, Schema.Struct<{
44
+ readonly accessToken: Schema.String;
45
+ readonly expiresAt: Schema.optional<Schema.Number>;
46
+ readonly expiresIn: Schema.optional<Schema.Number>;
47
+ readonly raw: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
48
+ readonly refreshToken: Schema.optional<Schema.String>;
49
+ readonly scope: Schema.optional<Schema.String>;
50
+ readonly tokenType: Schema.optional<Schema.String>;
51
+ }>, Schema.Struct<{
52
+ readonly accessToken: Schema.String;
53
+ readonly organizationUrl: Schema.String;
54
+ }>, import("@dual-os/sdk/OAuth2TokenRefresher").Service>, import("@dual-os/sdk/AuthMethod").AuthMethod<"application", Schema.Struct<{
55
+ readonly clientId: Schema.NonEmptyString;
56
+ readonly clientSecret: Schema.NonEmptyString;
57
+ readonly organizationUrl: Schema.String;
58
+ readonly tenantId: Schema.String;
59
+ }>, Schema.Struct<{}>, Schema.Struct<{
60
+ readonly accessToken: Schema.String;
61
+ readonly expiresAt: Schema.Finite;
62
+ }>, Schema.Struct<{
63
+ readonly accessToken: Schema.String;
64
+ readonly organizationUrl: Schema.String;
65
+ }>, import("effect/http/HttpClient").HttpClient>]>;
66
+ } & import("@dual-os/sdk/ConnectionResolver").ConnectionResolutionContext) => Effect.Effect<{
67
+ events: never[] | (Trigger.KeyedEvent<{
68
+ readonly event: "created" | "updated";
69
+ readonly id: string;
70
+ readonly row: Row;
71
+ } | {
72
+ readonly event: "deleted";
73
+ readonly id: string;
74
+ readonly reason: string;
75
+ }> | {
76
+ key: string;
77
+ payload: {
78
+ event: "deleted";
79
+ id: string;
80
+ reason: string;
81
+ };
82
+ })[];
83
+ state: {
84
+ deltaLink: string;
85
+ revisions: Record<string, string> | Record<never, string>;
86
+ };
87
+ }, DataverseChangeFeedError | Schema.SchemaError | import("@dual-os/sdk/Action").ActionHandlerFailure, import("effect/http/HttpClient").HttpClient>;
88
+ };
89
+ };
90
+ //#endregion
91
+ export {};
92
+ //# sourceMappingURL=triggers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"triggers.d.ts","names":["Operations.Row"],"sources":["../src/triggers.ts"],"mappings":";;;;;;;;cAQM,iCAAiC;qBAwC1B,oBAAQ,QAAA,8BAAA,OAAA;;;;;;;;;;;;;;;;qBAER;;IAET,OAAI,OAAA,QAAA"}
@@ -0,0 +1,17 @@
1
+ // @bun
2
+ import {
3
+ triggers2,
4
+ handlers2
5
+ } from "../plugin-dpa3d1wz.js";
6
+ import"../plugin-13g044ny.js";
7
+ import"../plugin-ma04jcpp.js";
8
+ import"../plugin-y6mf6hx3.js";
9
+ import"../plugin-2jdfj02n.js";
10
+ import"../plugin-72zm9ftz.js";
11
+ export {
12
+ handlers2 as handlers,
13
+ triggers2 as triggers
14
+ };
15
+
16
+ //# debugId=839FD91A59A8813364756E2164756E21
17
+ //# sourceMappingURL=triggers.js.map
@@ -0,0 +1,9 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [
5
+ ],
6
+ "mappings": "",
7
+ "debugId": "839FD91A59A8813364756E2164756E21",
8
+ "names": []
9
+ }
@@ -0,0 +1 @@
1
+ {"entrypoint":"dist/generated/plugin.js","export":"dynamicsApiPlugin","format":2,"plugin":"dynamics-api","runner":"Runner.js","sdk_version":"0.8.1","version":"8.0.3"}
@@ -0,0 +1,4 @@
1
+ All rights reserved.
2
+
3
+ This package is proprietary and is not licensed for public use or redistribution.
4
+ Use and distribution require permission from the rights holder under a separate agreement.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Effectful Technologies Inc
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Effectful Technologies Inc
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Effectful Technologies Inc
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/package.json CHANGED
@@ -1,6 +1 @@
1
- {
2
- "name": "@dual-os/dynamics-api",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
1
+ {"name":"@dual-os/dynamics-api","version":"8.0.3","license":"UNLICENSED","exports":{".":"./dist/generated/plugin.js","./definition":"./dist/generated/plugin.js","./executable":"./dist/generated/plugin.js","./plugin.json":"./plugin.json","./package.json":"./package.json"},"files":["**/*"],"type":"module","scripts":{},"dependencies":{},"devDependencies":{},"dual":{"plugin":{"entrypoint":"dist/generated/plugin.js","export":"dynamicsApiPlugin","format":2,"plugin":"dynamics-api","runner":"Runner.js","sdk_version":"0.8.1","version":"8.0.3","assets":["dist/_virtual/_rolldown/runtime.js","dist/auth.d.ts","dist/auth.d.ts.map","dist/auth.js","dist/auth.js.map","dist/generated/http.d.ts","dist/generated/http.d.ts.map","dist/generated/http.js","dist/generated/http.js.map","dist/generated/operations.d.ts","dist/generated/operations.d.ts.map","dist/generated/operations.js","dist/generated/operations.js.map","dist/generated/plugin.d.ts","dist/generated/plugin.d.ts.map","dist/generated/plugin.js","dist/generated/plugin.js.map","dist/triggers.d.ts","dist/triggers.d.ts.map","dist/triggers.js","dist/triggers.js.map","plugin.json","package.json"]}},"peerDependencies":{},"optionalDependencies":{}}
@@ -0,0 +1,197 @@
1
+ // @bun
2
+ import {
3
+ pipe,
4
+ optionalKey,
5
+ Literal,
6
+ Unknown,
7
+ String3,
8
+ Boolean2,
9
+ Struct,
10
+ Record,
11
+ StructWithRest,
12
+ ArraySchema,
13
+ Union,
14
+ suspend2,
15
+ isGreaterThanOrEqualTo,
16
+ Int,
17
+ get4,
18
+ post,
19
+ patch,
20
+ del,
21
+ setHeaders,
22
+ setUrlParams,
23
+ bodyJsonUnsafe
24
+ } from "./plugin-72zm9ftz.js";
25
+ import {
26
+ path2,
27
+ literal2,
28
+ params2,
29
+ continuation2
30
+ } from "./plugin-y6mf6hx3.js";
31
+ import {
32
+ endpoint2,
33
+ execute2,
34
+ variants2
35
+ } from "./plugin-ma04jcpp.js";
36
+
37
+ // dist/generated/operations.js
38
+ var Row2 = Record(String3, Unknown).annotate({ description: "A table row keyed by column logical names; lookups appear as _<name>_value and annotations as <name>@<annotation>." }).annotate({ identifier: "Row" });
39
+ var Rows2 = StructWithRest(Struct({
40
+ "@odata.count": optionalKey(Int),
41
+ "@odata.deltaLink": optionalKey(String3.annotate({ description: "Opaque change-tracking checkpoint returned after the final page. Pass it as nextLink for the next change check." })),
42
+ "@odata.nextLink": optionalKey(String3.annotate({ description: "Pass it as nextLink to read the next page." })),
43
+ value: ArraySchema(Row2)
44
+ }), [Record(String3, Unknown)]).annotate({ identifier: "Rows" });
45
+ var TableDefinition2 = StructWithRest(Struct({
46
+ Attributes: optionalKey(ArraySchema(Record(String3, Unknown)).annotate({ description: "Columns, when expanded." })),
47
+ DisplayName: optionalKey(Record(String3, Unknown)),
48
+ EntitySetName: optionalKey(String3.annotate({ description: "The name that addresses this table's rows." })),
49
+ LogicalName: optionalKey(String3),
50
+ PrimaryIdAttribute: optionalKey(String3),
51
+ PrimaryNameAttribute: optionalKey(String3)
52
+ }), [Record(String3, Unknown)]).annotate({ identifier: "TableDefinition" });
53
+ var ListTablesResponse2 = StructWithRest(Struct({ value: ArraySchema(TableDefinition2) }), [Record(String3, Unknown)]).annotate({ identifier: "ListTablesResponse" });
54
+ var WhoAmIResponse2 = StructWithRest(Struct({
55
+ BusinessUnitId: String3,
56
+ OrganizationId: String3,
57
+ UserId: String3
58
+ }), [Record(String3, Unknown)]).annotate({ identifier: "WhoAmIResponse" });
59
+ var CreateRowResponse2 = Union([Struct({
60
+ status: Literal(201),
61
+ contentType: Literal("application/json"),
62
+ body: suspend2(() => Row2)
63
+ }), Struct({
64
+ status: Literal(204),
65
+ contentType: Literal(""),
66
+ body: Struct({}),
67
+ headers: Struct({ "OData-EntityId": optionalKey(String3) })
68
+ })]).annotate({ identifier: "CreateRowResponse" });
69
+ var EmptyResponse2 = Struct({}).annotate({ identifier: "EmptyResponse" });
70
+ var AssociateRowsBody2 = StructWithRest(Struct({ "@odata.id": String3.annotate({ description: "The other row's URL, such as https://<org>.crm.dynamics.com/api/data/v9.2/contacts(<id>)." }) }), [Record(String3, Unknown)]).annotate({ identifier: "AssociateRowsBody" });
71
+ var tables_listTables2 = endpoint2({
72
+ input: Struct({
73
+ $select: optionalKey(String3.annotate({ description: "Comma-separated definition properties, such as LogicalName,EntitySetName,PrimaryIdAttribute." })),
74
+ $filter: optionalKey(String3)
75
+ }),
76
+ output: ListTablesResponse2
77
+ }, (input, context, output) => execute2(context, output, pipe(get4("https://your-org.crm.dynamics.com/api/data/v9.2/EntityDefinitions"), setUrlParams(params2({
78
+ $select: input.$select,
79
+ $filter: input.$filter
80
+ }, [], [], ["$select", "$filter"]))), "json"));
81
+ var tables_getTable2 = endpoint2({
82
+ input: Struct({
83
+ logicalName: String3.annotate({ description: "The table's logical name, such as account." }),
84
+ $select: optionalKey(String3.annotate({ description: "Comma-separated definition properties, such as LogicalName,EntitySetName,PrimaryIdAttribute." })),
85
+ $expand: optionalKey(String3.annotate({ description: "Columns to include, such as Attributes($select=LogicalName,AttributeType)." }))
86
+ }),
87
+ output: TableDefinition2
88
+ }, (input, context, output) => execute2(context, output, pipe(get4(`https://your-org.crm.dynamics.com/api/data/v9.2/EntityDefinitions(LogicalName='${literal2(input.logicalName)}')`), setUrlParams(params2({
89
+ $select: input.$select,
90
+ $expand: input.$expand
91
+ }, [], [], ["$select", "$expand"]))), "json"));
92
+ var organization_whoAmI2 = endpoint2({
93
+ input: Struct({}),
94
+ output: WhoAmIResponse2
95
+ }, (_input, context, output) => execute2(context, output, get4("https://your-org.crm.dynamics.com/api/data/v9.2/WhoAmI"), "json"));
96
+ var rows_listRows2 = endpoint2({
97
+ input: Struct({
98
+ entitySet: String3.annotate({ description: "The table's entity set name, such as accounts, contacts, leads, opportunities or incidents; a table definition's EntitySetName." }),
99
+ $select: optionalKey(String3.annotate({ description: "Comma-separated column logical names to return, such as name,accountnumber. Always limit the columns." })),
100
+ $filter: optionalKey(String3.annotate({ description: "An OData filter, such as statecode eq 0 and contains(name,'contoso')." })),
101
+ $orderby: optionalKey(String3),
102
+ $top: optionalKey(Int.check(isGreaterThanOrEqualTo(1))),
103
+ $expand: optionalKey(String3.annotate({ description: "Related rows to include through navigation properties, such as primarycontactid($select=fullname)." })),
104
+ $count: optionalKey(Boolean2),
105
+ fetchXml: optionalKey(String3.annotate({ description: `A complete FetchXML query instead of the OData options. FetchXML pages with the fetch element's page and paging-cookie attributes, not nextLink; send Prefer odata.include-annotations="Microsoft.Dynamics.CRM.fetchxmlpagingcookie,Microsoft.Dynamics.CRM.morerecords" to receive the cookie and whether more rows exist.` })),
106
+ Prefer: optionalKey(String3.annotate({ description: 'OData preferences, such as odata.maxpagesize=50 or odata.include-annotations="*" for formatted values.' })),
107
+ nextLink: optionalKey(String3.annotate({ description: "Follow the complete @odata.nextLink URL from a previous page; other query inputs are ignored for this request" }))
108
+ }),
109
+ output: Rows2
110
+ }, (input, context, output) => execute2(context, output, continuation2(pipe(get4(`https://your-org.crm.dynamics.com/api/data/v9.2/${path2(input.entitySet)}`), setUrlParams(params2({
111
+ $select: input.$select,
112
+ $filter: input.$filter,
113
+ $orderby: input.$orderby,
114
+ $top: input.$top,
115
+ $expand: input.$expand,
116
+ $count: input.$count,
117
+ fetchXml: input.fetchXml
118
+ }, [], [], [
119
+ "$select",
120
+ "$filter",
121
+ "$orderby",
122
+ "$top",
123
+ "$expand",
124
+ "$count",
125
+ "fetchXml"
126
+ ])), setHeaders(params2({ Prefer: input.Prefer }))), input.nextLink), "json"));
127
+ var rows_createRow2 = endpoint2({
128
+ input: Struct({
129
+ entitySet: String3.annotate({ description: "The table's entity set name, such as accounts, contacts, leads, opportunities or incidents; a table definition's EntitySetName." }),
130
+ Prefer: optionalKey(String3.annotate({ description: 'OData preferences, such as odata.include-annotations="*" for formatted values.' })),
131
+ payload: suspend2(() => Row2)
132
+ }),
133
+ output: CreateRowResponse2
134
+ }, (input, context, output) => variants2(context, output, pipe(post(`https://your-org.crm.dynamics.com/api/data/v9.2/${path2(input.entitySet)}`), setHeaders(params2({ Prefer: input.Prefer })), bodyJsonUnsafe(input.payload)), [{
135
+ body: "json",
136
+ contentType: "application/json",
137
+ status: 201
138
+ }, {
139
+ body: "void",
140
+ contentType: "",
141
+ headers: ["OData-EntityId"],
142
+ status: 204
143
+ }]));
144
+ var rows_deleteRow2 = endpoint2({
145
+ input: Struct({
146
+ entitySet: String3.annotate({ description: "The table's entity set name, such as accounts, contacts, leads, opportunities or incidents; a table definition's EntitySetName." }),
147
+ id: String3.annotate({
148
+ description: "The row's primary key, a GUID.",
149
+ format: "uuid"
150
+ })
151
+ }),
152
+ output: EmptyResponse2
153
+ }, (input, context, output) => execute2(context, output, del(`https://your-org.crm.dynamics.com/api/data/v9.2/${path2(input.entitySet)}(${path2(input.id)})`), "void"));
154
+ var rows_getRow2 = endpoint2({
155
+ input: Struct({
156
+ entitySet: String3.annotate({ description: "The table's entity set name, such as accounts, contacts, leads, opportunities or incidents; a table definition's EntitySetName." }),
157
+ id: String3.annotate({
158
+ description: "The row's primary key, a GUID.",
159
+ format: "uuid"
160
+ }),
161
+ $select: optionalKey(String3.annotate({ description: "Comma-separated column logical names to return, such as name,accountnumber. Always limit the columns." })),
162
+ $expand: optionalKey(String3.annotate({ description: "Related rows to include through navigation properties, such as primarycontactid($select=fullname)." })),
163
+ Prefer: optionalKey(String3.annotate({ description: 'OData preferences, such as odata.include-annotations="*" for formatted values.' }))
164
+ }),
165
+ output: Row2
166
+ }, (input, context, output) => execute2(context, output, pipe(get4(`https://your-org.crm.dynamics.com/api/data/v9.2/${path2(input.entitySet)}(${path2(input.id)})`), setUrlParams(params2({
167
+ $select: input.$select,
168
+ $expand: input.$expand
169
+ }, [], [], ["$select", "$expand"])), setHeaders(params2({ Prefer: input.Prefer }))), "json"));
170
+ var rows_updateRow2 = endpoint2({
171
+ input: Struct({
172
+ entitySet: String3.annotate({ description: "The table's entity set name, such as accounts, contacts, leads, opportunities or incidents; a table definition's EntitySetName." }),
173
+ id: String3.annotate({
174
+ description: "The row's primary key, a GUID.",
175
+ format: "uuid"
176
+ }),
177
+ "If-Match": optionalKey(String3),
178
+ payload: suspend2(() => Row2)
179
+ }),
180
+ output: EmptyResponse2
181
+ }, (input, context, output) => execute2(context, output, pipe(patch(`https://your-org.crm.dynamics.com/api/data/v9.2/${path2(input.entitySet)}(${path2(input.id)})`), setHeaders(params2({ "If-Match": input["If-Match"] })), bodyJsonUnsafe(input.payload)), "void"));
182
+ var rows_associateRows2 = endpoint2({
183
+ input: Struct({
184
+ entitySet: String3.annotate({ description: "The table's entity set name, such as accounts, contacts, leads, opportunities or incidents; a table definition's EntitySetName." }),
185
+ id: String3.annotate({
186
+ description: "The row's primary key, a GUID.",
187
+ format: "uuid"
188
+ }),
189
+ navigationProperty: String3.annotate({ description: "The collection-valued navigation property, such as contact_customer_accounts." }),
190
+ payload: suspend2(() => AssociateRowsBody2)
191
+ }),
192
+ output: EmptyResponse2
193
+ }, (input, context, output) => execute2(context, output, pipe(post(`https://your-org.crm.dynamics.com/api/data/v9.2/${path2(input.entitySet)}(${path2(input.id)})/${path2(input.navigationProperty)}/$ref`), bodyJsonUnsafe(input.payload)), "void"));
194
+ export { Row2, Rows2, TableDefinition2, ListTablesResponse2, WhoAmIResponse2, CreateRowResponse2, EmptyResponse2, AssociateRowsBody2, tables_listTables2, tables_getTable2, organization_whoAmI2, rows_listRows2, rows_createRow2, rows_deleteRow2, rows_getRow2, rows_updateRow2, rows_associateRows2 };
195
+
196
+ //# debugId=ED76D3876215FF9F64756E2164756E21
197
+ //# sourceMappingURL=plugin-13g044ny.js.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../bundle-input/dist/generated/operations.js"],
4
+ "sourcesContent": [
5
+ "import { continuation, endpoint, execute, literal, params, path, variants } from \"./http.js\";\nimport { Schema, pipe } from \"effect\";\nimport { HttpClientRequest } from \"effect/http\";\n//#region src/generated/operations.ts\nconst Row = Schema.Record(Schema.String, Schema.Unknown).annotate({ description: \"A table row keyed by column logical names; lookups appear as _<name>_value and annotations as <name>@<annotation>.\" }).annotate({ identifier: \"Row\" });\nconst Rows = Schema.StructWithRest(Schema.Struct({\n\t\"@odata.count\": Schema.optionalKey(Schema.Int),\n\t\"@odata.deltaLink\": Schema.optionalKey(Schema.String.annotate({ description: \"Opaque change-tracking checkpoint returned after the final page. Pass it as nextLink for the next change check.\" })),\n\t\"@odata.nextLink\": Schema.optionalKey(Schema.String.annotate({ description: \"Pass it as nextLink to read the next page.\" })),\n\tvalue: Schema.Array(Row)\n}), [Schema.Record(Schema.String, Schema.Unknown)]).annotate({ identifier: \"Rows\" });\nconst TableDefinition = Schema.StructWithRest(Schema.Struct({\n\tAttributes: Schema.optionalKey(Schema.Array(Schema.Record(Schema.String, Schema.Unknown)).annotate({ description: \"Columns, when expanded.\" })),\n\tDisplayName: Schema.optionalKey(Schema.Record(Schema.String, Schema.Unknown)),\n\tEntitySetName: Schema.optionalKey(Schema.String.annotate({ description: \"The name that addresses this table's rows.\" })),\n\tLogicalName: Schema.optionalKey(Schema.String),\n\tPrimaryIdAttribute: Schema.optionalKey(Schema.String),\n\tPrimaryNameAttribute: Schema.optionalKey(Schema.String)\n}), [Schema.Record(Schema.String, Schema.Unknown)]).annotate({ identifier: \"TableDefinition\" });\nconst ListTablesResponse = Schema.StructWithRest(Schema.Struct({ value: Schema.Array(TableDefinition) }), [Schema.Record(Schema.String, Schema.Unknown)]).annotate({ identifier: \"ListTablesResponse\" });\nconst WhoAmIResponse = Schema.StructWithRest(Schema.Struct({\n\tBusinessUnitId: Schema.String,\n\tOrganizationId: Schema.String,\n\tUserId: Schema.String\n}), [Schema.Record(Schema.String, Schema.Unknown)]).annotate({ identifier: \"WhoAmIResponse\" });\nconst CreateRowResponse = Schema.Union([Schema.Struct({\n\tstatus: Schema.Literal(201),\n\tcontentType: Schema.Literal(\"application/json\"),\n\tbody: Schema.suspend(() => Row)\n}), Schema.Struct({\n\tstatus: Schema.Literal(204),\n\tcontentType: Schema.Literal(\"\"),\n\tbody: Schema.Struct({}),\n\theaders: Schema.Struct({ \"OData-EntityId\": Schema.optionalKey(Schema.String) })\n})]).annotate({ identifier: \"CreateRowResponse\" });\nconst EmptyResponse = Schema.Struct({}).annotate({ identifier: \"EmptyResponse\" });\nconst AssociateRowsBody = Schema.StructWithRest(Schema.Struct({ \"@odata.id\": Schema.String.annotate({ description: \"The other row's URL, such as https://<org>.crm.dynamics.com/api/data/v9.2/contacts(<id>).\" }) }), [Schema.Record(Schema.String, Schema.Unknown)]).annotate({ identifier: \"AssociateRowsBody\" });\nconst tables_listTables = endpoint({\n\tinput: Schema.Struct({\n\t\t$select: Schema.optionalKey(Schema.String.annotate({ description: \"Comma-separated definition properties, such as LogicalName,EntitySetName,PrimaryIdAttribute.\" })),\n\t\t$filter: Schema.optionalKey(Schema.String)\n\t}),\n\toutput: ListTablesResponse\n}, (input, context, output) => execute(context, output, pipe(HttpClientRequest.get(\"https://your-org.crm.dynamics.com/api/data/v9.2/EntityDefinitions\"), HttpClientRequest.setUrlParams(params({\n\t$select: input.$select,\n\t$filter: input.$filter\n}, [], [], [\"$select\", \"$filter\"]))), \"json\"));\nconst tables_getTable = endpoint({\n\tinput: Schema.Struct({\n\t\tlogicalName: Schema.String.annotate({ description: \"The table's logical name, such as account.\" }),\n\t\t$select: Schema.optionalKey(Schema.String.annotate({ description: \"Comma-separated definition properties, such as LogicalName,EntitySetName,PrimaryIdAttribute.\" })),\n\t\t$expand: Schema.optionalKey(Schema.String.annotate({ description: \"Columns to include, such as Attributes($select=LogicalName,AttributeType).\" }))\n\t}),\n\toutput: TableDefinition\n}, (input, context, output) => execute(context, output, pipe(HttpClientRequest.get(`https://your-org.crm.dynamics.com/api/data/v9.2/EntityDefinitions(LogicalName='${literal(input.logicalName)}')`), HttpClientRequest.setUrlParams(params({\n\t$select: input.$select,\n\t$expand: input.$expand\n}, [], [], [\"$select\", \"$expand\"]))), \"json\"));\nconst organization_whoAmI = endpoint({\n\tinput: Schema.Struct({}),\n\toutput: WhoAmIResponse\n}, (_input, context, output) => execute(context, output, HttpClientRequest.get(\"https://your-org.crm.dynamics.com/api/data/v9.2/WhoAmI\"), \"json\"));\nconst rows_listRows = endpoint({\n\tinput: Schema.Struct({\n\t\tentitySet: Schema.String.annotate({ description: \"The table's entity set name, such as accounts, contacts, leads, opportunities or incidents; a table definition's EntitySetName.\" }),\n\t\t$select: Schema.optionalKey(Schema.String.annotate({ description: \"Comma-separated column logical names to return, such as name,accountnumber. Always limit the columns.\" })),\n\t\t$filter: Schema.optionalKey(Schema.String.annotate({ description: \"An OData filter, such as statecode eq 0 and contains(name,'contoso').\" })),\n\t\t$orderby: Schema.optionalKey(Schema.String),\n\t\t$top: Schema.optionalKey(Schema.Int.check(Schema.isGreaterThanOrEqualTo(1))),\n\t\t$expand: Schema.optionalKey(Schema.String.annotate({ description: \"Related rows to include through navigation properties, such as primarycontactid($select=fullname).\" })),\n\t\t$count: Schema.optionalKey(Schema.Boolean),\n\t\tfetchXml: Schema.optionalKey(Schema.String.annotate({ description: \"A complete FetchXML query instead of the OData options. FetchXML pages with the fetch element's page and paging-cookie attributes, not nextLink; send Prefer odata.include-annotations=\\\"Microsoft.Dynamics.CRM.fetchxmlpagingcookie,Microsoft.Dynamics.CRM.morerecords\\\" to receive the cookie and whether more rows exist.\" })),\n\t\tPrefer: Schema.optionalKey(Schema.String.annotate({ description: \"OData preferences, such as odata.maxpagesize=50 or odata.include-annotations=\\\"*\\\" for formatted values.\" })),\n\t\tnextLink: Schema.optionalKey(Schema.String.annotate({ description: \"Follow the complete @odata.nextLink URL from a previous page; other query inputs are ignored for this request\" }))\n\t}),\n\toutput: Rows\n}, (input, context, output) => execute(context, output, continuation(pipe(HttpClientRequest.get(`https://your-org.crm.dynamics.com/api/data/v9.2/${path(input.entitySet)}`), HttpClientRequest.setUrlParams(params({\n\t$select: input.$select,\n\t$filter: input.$filter,\n\t$orderby: input.$orderby,\n\t$top: input.$top,\n\t$expand: input.$expand,\n\t$count: input.$count,\n\tfetchXml: input.fetchXml\n}, [], [], [\n\t\"$select\",\n\t\"$filter\",\n\t\"$orderby\",\n\t\"$top\",\n\t\"$expand\",\n\t\"$count\",\n\t\"fetchXml\"\n])), HttpClientRequest.setHeaders(params({ Prefer: input.Prefer }))), input.nextLink), \"json\"));\nconst rows_createRow = endpoint({\n\tinput: Schema.Struct({\n\t\tentitySet: Schema.String.annotate({ description: \"The table's entity set name, such as accounts, contacts, leads, opportunities or incidents; a table definition's EntitySetName.\" }),\n\t\tPrefer: Schema.optionalKey(Schema.String.annotate({ description: \"OData preferences, such as odata.include-annotations=\\\"*\\\" for formatted values.\" })),\n\t\tpayload: Schema.suspend(() => Row)\n\t}),\n\toutput: CreateRowResponse\n}, (input, context, output) => variants(context, output, pipe(HttpClientRequest.post(`https://your-org.crm.dynamics.com/api/data/v9.2/${path(input.entitySet)}`), HttpClientRequest.setHeaders(params({ Prefer: input.Prefer })), HttpClientRequest.bodyJsonUnsafe(input.payload)), [{\n\tbody: \"json\",\n\tcontentType: \"application/json\",\n\tstatus: 201\n}, {\n\tbody: \"void\",\n\tcontentType: \"\",\n\theaders: [\"OData-EntityId\"],\n\tstatus: 204\n}]));\nconst rows_deleteRow = endpoint({\n\tinput: Schema.Struct({\n\t\tentitySet: Schema.String.annotate({ description: \"The table's entity set name, such as accounts, contacts, leads, opportunities or incidents; a table definition's EntitySetName.\" }),\n\t\tid: Schema.String.annotate({\n\t\t\tdescription: \"The row's primary key, a GUID.\",\n\t\t\tformat: \"uuid\"\n\t\t})\n\t}),\n\toutput: EmptyResponse\n}, (input, context, output) => execute(context, output, HttpClientRequest.delete(`https://your-org.crm.dynamics.com/api/data/v9.2/${path(input.entitySet)}(${path(input.id)})`), \"void\"));\nconst rows_getRow = endpoint({\n\tinput: Schema.Struct({\n\t\tentitySet: Schema.String.annotate({ description: \"The table's entity set name, such as accounts, contacts, leads, opportunities or incidents; a table definition's EntitySetName.\" }),\n\t\tid: Schema.String.annotate({\n\t\t\tdescription: \"The row's primary key, a GUID.\",\n\t\t\tformat: \"uuid\"\n\t\t}),\n\t\t$select: Schema.optionalKey(Schema.String.annotate({ description: \"Comma-separated column logical names to return, such as name,accountnumber. Always limit the columns.\" })),\n\t\t$expand: Schema.optionalKey(Schema.String.annotate({ description: \"Related rows to include through navigation properties, such as primarycontactid($select=fullname).\" })),\n\t\tPrefer: Schema.optionalKey(Schema.String.annotate({ description: \"OData preferences, such as odata.include-annotations=\\\"*\\\" for formatted values.\" }))\n\t}),\n\toutput: Row\n}, (input, context, output) => execute(context, output, pipe(HttpClientRequest.get(`https://your-org.crm.dynamics.com/api/data/v9.2/${path(input.entitySet)}(${path(input.id)})`), HttpClientRequest.setUrlParams(params({\n\t$select: input.$select,\n\t$expand: input.$expand\n}, [], [], [\"$select\", \"$expand\"])), HttpClientRequest.setHeaders(params({ Prefer: input.Prefer }))), \"json\"));\nconst rows_updateRow = endpoint({\n\tinput: Schema.Struct({\n\t\tentitySet: Schema.String.annotate({ description: \"The table's entity set name, such as accounts, contacts, leads, opportunities or incidents; a table definition's EntitySetName.\" }),\n\t\tid: Schema.String.annotate({\n\t\t\tdescription: \"The row's primary key, a GUID.\",\n\t\t\tformat: \"uuid\"\n\t\t}),\n\t\t\"If-Match\": Schema.optionalKey(Schema.String),\n\t\tpayload: Schema.suspend(() => Row)\n\t}),\n\toutput: EmptyResponse\n}, (input, context, output) => execute(context, output, pipe(HttpClientRequest.patch(`https://your-org.crm.dynamics.com/api/data/v9.2/${path(input.entitySet)}(${path(input.id)})`), HttpClientRequest.setHeaders(params({ \"If-Match\": input[\"If-Match\"] })), HttpClientRequest.bodyJsonUnsafe(input.payload)), \"void\"));\nconst rows_associateRows = endpoint({\n\tinput: Schema.Struct({\n\t\tentitySet: Schema.String.annotate({ description: \"The table's entity set name, such as accounts, contacts, leads, opportunities or incidents; a table definition's EntitySetName.\" }),\n\t\tid: Schema.String.annotate({\n\t\t\tdescription: \"The row's primary key, a GUID.\",\n\t\t\tformat: \"uuid\"\n\t\t}),\n\t\tnavigationProperty: Schema.String.annotate({ description: \"The collection-valued navigation property, such as contact_customer_accounts.\" }),\n\t\tpayload: Schema.suspend(() => AssociateRowsBody)\n\t}),\n\toutput: EmptyResponse\n}, (input, context, output) => execute(context, output, pipe(HttpClientRequest.post(`https://your-org.crm.dynamics.com/api/data/v9.2/${path(input.entitySet)}(${path(input.id)})/${path(input.navigationProperty)}/$ref`), HttpClientRequest.bodyJsonUnsafe(input.payload)), \"void\"));\n//#endregion\nexport { AssociateRowsBody, CreateRowResponse, EmptyResponse, ListTablesResponse, Row, Rows, TableDefinition, WhoAmIResponse, organization_whoAmI, rows_associateRows, rows_createRow, rows_deleteRow, rows_getRow, rows_listRows, rows_updateRow, tables_getTable, tables_listTables };\n\n//# sourceMappingURL=operations.js.map"
6
+ ],
7
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,OAAM,OAAc,SAAe,OAAc,EAAE,SAAS,EAAE,aAAa,qHAAqH,CAAC,EAAE,SAAS,EAAE,YAAY,MAAM,CAAC;AACvO,IAAM,QAAO,eAAsB,OAAc;AAAA,EAChD,gBAAgB,YAAmB,GAAU;AAAA,EAC7C,oBAAoB,YAAmB,QAAc,SAAS,EAAE,aAAa,kHAAkH,CAAC,CAAC;AAAA,EACjM,mBAAmB,YAAmB,QAAc,SAAS,EAAE,aAAa,6CAA6C,CAAC,CAAC;AAAA,EAC3H,OAAO,YAAa,IAAG;AACxB,CAAC,GAAG,CAAC,OAAc,SAAe,OAAc,CAAC,CAAC,EAAE,SAAS,EAAE,YAAY,OAAO,CAAC;AACnF,IAAM,mBAAkB,eAAsB,OAAc;AAAA,EAC3D,YAAY,YAAmB,YAAa,OAAc,SAAe,OAAc,CAAC,EAAE,SAAS,EAAE,aAAa,0BAA0B,CAAC,CAAC;AAAA,EAC9I,aAAa,YAAmB,OAAc,SAAe,OAAc,CAAC;AAAA,EAC5E,eAAe,YAAmB,QAAc,SAAS,EAAE,aAAa,6CAA6C,CAAC,CAAC;AAAA,EACvH,aAAa,YAAmB,OAAa;AAAA,EAC7C,oBAAoB,YAAmB,OAAa;AAAA,EACpD,sBAAsB,YAAmB,OAAa;AACvD,CAAC,GAAG,CAAC,OAAc,SAAe,OAAc,CAAC,CAAC,EAAE,SAAS,EAAE,YAAY,kBAAkB,CAAC;AAC9F,IAAM,sBAAqB,eAAsB,OAAc,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64756E2164756E21",
9
+ "names": []
10
+ }
@@ -0,0 +1,18 @@
1
+ // @bun
2
+ // dist/_virtual/_rolldown/runtime.js
3
+ var __defProp = Object.defineProperty;
4
+ var __exportAll2 = (all, no_symbols) => {
5
+ let target = {};
6
+ for (var name in all)
7
+ __defProp(target, name, {
8
+ get: all[name],
9
+ enumerable: true
10
+ });
11
+ if (!no_symbols)
12
+ __defProp(target, Symbol.toStringTag, { value: "Module" });
13
+ return target;
14
+ };
15
+ export { __exportAll2 };
16
+
17
+ //# debugId=082734D28D54F6AF64756E2164756E21
18
+ //# sourceMappingURL=plugin-2jdfj02n.js.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../bundle-input/dist/_virtual/_rolldown/runtime.js"],
4
+ "sourcesContent": [
5
+ "//#region \\0rolldown/runtime.js\nvar __defProp = Object.defineProperty;\nvar __exportAll = (all, no_symbols) => {\n\tlet target = {};\n\tfor (var name in all) __defProp(target, name, {\n\t\tget: all[name],\n\t\tenumerable: true\n\t});\n\tif (!no_symbols) __defProp(target, Symbol.toStringTag, { value: \"Module\" });\n\treturn target;\n};\n//#endregion\nexport { __exportAll };\n"
6
+ ],
7
+ "mappings": ";;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,eAAc,CAAC,KAAK,eAAe;AAAA,EACtC,IAAI,SAAS,CAAC;AAAA,EACd,SAAS,QAAQ;AAAA,IAAK,UAAU,QAAQ,MAAM;AAAA,MAC7C,KAAK,IAAI;AAAA,MACT,YAAY;AAAA,IACb,CAAC;AAAA,EACD,IAAI,CAAC;AAAA,IAAY,UAAU,QAAQ,OAAO,aAAa,EAAE,OAAO,SAAS,CAAC;AAAA,EAC1E,OAAO;AAAA;",
8
+ "debugId": "082734D28D54F6AF64756E2164756E21",
9
+ "names": []
10
+ }