mavenagi 0.0.0-alpha.5 → 0.0.0-alpha.7

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.
package/Client.d.ts CHANGED
@@ -13,8 +13,8 @@ export declare namespace MavenAGIClient {
13
13
  environment?: core.Supplier<environments.MavenAGIEnvironment | string>;
14
14
  appId?: core.Supplier<string | undefined>;
15
15
  appSecret?: core.Supplier<string | undefined>;
16
- xOrganizationId: core.Supplier<string>;
17
- xAgentId: core.Supplier<string>;
16
+ organizationId: core.Supplier<string>;
17
+ agentId: core.Supplier<string>;
18
18
  fetcher?: core.FetchFunction;
19
19
  }
20
20
  interface RequestOptions {
package/README.md CHANGED
@@ -22,8 +22,8 @@ import { MavenAGIClient, MavenAGI } from "mavenagi";
22
22
  const client = new MavenAGIClient({
23
23
  appId: "YOUR_APP_ID",
24
24
  appSecret: "YOUR_APP_SECRET",
25
- xOrganizationId: "YOUR_X_ORGANIZATION_ID",
26
- xAgentId: "YOUR_X_AGENT_ID",
25
+ organizationId: "YOUR_ORGANIZATION_ID",
26
+ agentId: "YOUR_AGENT_ID",
27
27
  });
28
28
  await client.conversation.initialize({
29
29
  messages: [{}],
@@ -9,8 +9,8 @@ export declare namespace Actions {
9
9
  environment?: core.Supplier<environments.MavenAGIEnvironment | string>;
10
10
  appId?: core.Supplier<string | undefined>;
11
11
  appSecret?: core.Supplier<string | undefined>;
12
- xOrganizationId: core.Supplier<string>;
13
- xAgentId: core.Supplier<string>;
12
+ organizationId: core.Supplier<string>;
13
+ agentId: core.Supplier<string>;
14
14
  fetcher?: core.FetchFunction;
15
15
  }
16
16
  interface RequestOptions {
@@ -50,11 +50,11 @@ export class Actions {
50
50
  method: "PUT",
51
51
  headers: {
52
52
  Authorization: yield this._getAuthorizationHeader(),
53
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
54
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
53
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
54
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
55
55
  "X-Fern-Language": "JavaScript",
56
56
  "X-Fern-SDK-Name": "mavenagi",
57
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
57
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
58
58
  "X-Fern-Runtime": core.RUNTIME.type,
59
59
  "X-Fern-Runtime-Version": core.RUNTIME.version,
60
60
  },
@@ -138,11 +138,11 @@ export class Actions {
138
138
  method: "GET",
139
139
  headers: {
140
140
  Authorization: yield this._getAuthorizationHeader(),
141
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
142
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
141
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
142
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
143
143
  "X-Fern-Language": "JavaScript",
144
144
  "X-Fern-SDK-Name": "mavenagi",
145
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
145
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
146
146
  "X-Fern-Runtime": core.RUNTIME.type,
147
147
  "X-Fern-Runtime-Version": core.RUNTIME.version,
148
148
  },
@@ -225,11 +225,11 @@ export class Actions {
225
225
  method: "DELETE",
226
226
  headers: {
227
227
  Authorization: yield this._getAuthorizationHeader(),
228
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
229
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
228
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
229
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
230
230
  "X-Fern-Language": "JavaScript",
231
231
  "X-Fern-SDK-Name": "mavenagi",
232
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
232
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
233
233
  "X-Fern-Runtime": core.RUNTIME.type,
234
234
  "X-Fern-Runtime-Version": core.RUNTIME.version,
235
235
  },
@@ -9,8 +9,8 @@ export declare namespace Conversation {
9
9
  environment?: core.Supplier<environments.MavenAGIEnvironment | string>;
10
10
  appId?: core.Supplier<string | undefined>;
11
11
  appSecret?: core.Supplier<string | undefined>;
12
- xOrganizationId: core.Supplier<string>;
13
- xAgentId: core.Supplier<string>;
12
+ organizationId: core.Supplier<string>;
13
+ agentId: core.Supplier<string>;
14
14
  fetcher?: core.FetchFunction;
15
15
  }
16
16
  interface RequestOptions {
@@ -50,11 +50,11 @@ export class Conversation {
50
50
  method: "POST",
51
51
  headers: {
52
52
  Authorization: yield this._getAuthorizationHeader(),
53
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
54
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
53
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
54
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
55
55
  "X-Fern-Language": "JavaScript",
56
56
  "X-Fern-SDK-Name": "mavenagi",
57
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
57
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
58
58
  "X-Fern-Runtime": core.RUNTIME.type,
59
59
  "X-Fern-Runtime-Version": core.RUNTIME.version,
60
60
  },
@@ -138,11 +138,11 @@ export class Conversation {
138
138
  method: "GET",
139
139
  headers: {
140
140
  Authorization: yield this._getAuthorizationHeader(),
141
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
142
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
141
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
142
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
143
143
  "X-Fern-Language": "JavaScript",
144
144
  "X-Fern-SDK-Name": "mavenagi",
145
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
145
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
146
146
  "X-Fern-Runtime": core.RUNTIME.type,
147
147
  "X-Fern-Runtime-Version": core.RUNTIME.version,
148
148
  },
@@ -231,11 +231,11 @@ export class Conversation {
231
231
  method: "POST",
232
232
  headers: {
233
233
  Authorization: yield this._getAuthorizationHeader(),
234
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
235
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
234
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
235
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
236
236
  "X-Fern-Language": "JavaScript",
237
237
  "X-Fern-SDK-Name": "mavenagi",
238
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
238
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
239
239
  "X-Fern-Runtime": core.RUNTIME.type,
240
240
  "X-Fern-Runtime-Version": core.RUNTIME.version,
241
241
  },
@@ -327,11 +327,11 @@ export class Conversation {
327
327
  method: "POST",
328
328
  headers: {
329
329
  Authorization: yield this._getAuthorizationHeader(),
330
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
331
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
330
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
331
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
332
332
  "X-Fern-Language": "JavaScript",
333
333
  "X-Fern-SDK-Name": "mavenagi",
334
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
334
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
335
335
  "X-Fern-Runtime": core.RUNTIME.type,
336
336
  "X-Fern-Runtime-Version": core.RUNTIME.version,
337
337
  },
@@ -405,11 +405,11 @@ export class Conversation {
405
405
  method: "POST",
406
406
  headers: {
407
407
  Authorization: yield this._getAuthorizationHeader(),
408
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
409
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
408
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
409
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
410
410
  "X-Fern-Language": "JavaScript",
411
411
  "X-Fern-SDK-Name": "mavenagi",
412
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
412
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
413
413
  "X-Fern-Runtime": core.RUNTIME.type,
414
414
  "X-Fern-Runtime-Version": core.RUNTIME.version,
415
415
  },
@@ -507,11 +507,11 @@ export class Conversation {
507
507
  method: "POST",
508
508
  headers: {
509
509
  Authorization: yield this._getAuthorizationHeader(),
510
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
511
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
510
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
511
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
512
512
  "X-Fern-Language": "JavaScript",
513
513
  "X-Fern-SDK-Name": "mavenagi",
514
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
514
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
515
515
  "X-Fern-Runtime": core.RUNTIME.type,
516
516
  "X-Fern-Runtime-Version": core.RUNTIME.version,
517
517
  },
@@ -603,11 +603,11 @@ export class Conversation {
603
603
  method: "POST",
604
604
  headers: {
605
605
  Authorization: yield this._getAuthorizationHeader(),
606
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
607
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
606
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
607
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
608
608
  "X-Fern-Language": "JavaScript",
609
609
  "X-Fern-SDK-Name": "mavenagi",
610
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
610
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
611
611
  "X-Fern-Runtime": core.RUNTIME.type,
612
612
  "X-Fern-Runtime-Version": core.RUNTIME.version,
613
613
  },
@@ -704,11 +704,11 @@ export class Conversation {
704
704
  method: "POST",
705
705
  headers: {
706
706
  Authorization: yield this._getAuthorizationHeader(),
707
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
708
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
707
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
708
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
709
709
  "X-Fern-Language": "JavaScript",
710
710
  "X-Fern-SDK-Name": "mavenagi",
711
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
711
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
712
712
  "X-Fern-Runtime": core.RUNTIME.type,
713
713
  "X-Fern-Runtime-Version": core.RUNTIME.version,
714
714
  },
@@ -795,11 +795,11 @@ export class Conversation {
795
795
  method: "POST",
796
796
  headers: {
797
797
  Authorization: yield this._getAuthorizationHeader(),
798
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
799
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
798
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
799
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
800
800
  "X-Fern-Language": "JavaScript",
801
801
  "X-Fern-SDK-Name": "mavenagi",
802
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
802
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
803
803
  "X-Fern-Runtime": core.RUNTIME.type,
804
804
  "X-Fern-Runtime-Version": core.RUNTIME.version,
805
805
  },
@@ -9,8 +9,8 @@ export declare namespace Knowledge {
9
9
  environment?: core.Supplier<environments.MavenAGIEnvironment | string>;
10
10
  appId?: core.Supplier<string | undefined>;
11
11
  appSecret?: core.Supplier<string | undefined>;
12
- xOrganizationId: core.Supplier<string>;
13
- xAgentId: core.Supplier<string>;
12
+ organizationId: core.Supplier<string>;
13
+ agentId: core.Supplier<string>;
14
14
  fetcher?: core.FetchFunction;
15
15
  }
16
16
  interface RequestOptions {
@@ -46,11 +46,11 @@ export class Knowledge {
46
46
  method: "POST",
47
47
  headers: {
48
48
  Authorization: yield this._getAuthorizationHeader(),
49
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
50
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
49
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
50
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
51
51
  "X-Fern-Language": "JavaScript",
52
52
  "X-Fern-SDK-Name": "mavenagi",
53
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
53
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
54
54
  "X-Fern-Runtime": core.RUNTIME.type,
55
55
  "X-Fern-Runtime-Version": core.RUNTIME.version,
56
56
  },
@@ -134,11 +134,11 @@ export class Knowledge {
134
134
  method: "GET",
135
135
  headers: {
136
136
  Authorization: yield this._getAuthorizationHeader(),
137
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
138
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
137
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
138
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
139
139
  "X-Fern-Language": "JavaScript",
140
140
  "X-Fern-SDK-Name": "mavenagi",
141
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
141
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
142
142
  "X-Fern-Runtime": core.RUNTIME.type,
143
143
  "X-Fern-Runtime-Version": core.RUNTIME.version,
144
144
  },
@@ -224,11 +224,11 @@ export class Knowledge {
224
224
  method: "POST",
225
225
  headers: {
226
226
  Authorization: yield this._getAuthorizationHeader(),
227
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
228
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
227
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
228
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
229
229
  "X-Fern-Language": "JavaScript",
230
230
  "X-Fern-SDK-Name": "mavenagi",
231
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
231
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
232
232
  "X-Fern-Runtime": core.RUNTIME.type,
233
233
  "X-Fern-Runtime-Version": core.RUNTIME.version,
234
234
  },
@@ -314,11 +314,11 @@ export class Knowledge {
314
314
  method: "POST",
315
315
  headers: {
316
316
  Authorization: yield this._getAuthorizationHeader(),
317
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
318
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
317
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
318
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
319
319
  "X-Fern-Language": "JavaScript",
320
320
  "X-Fern-SDK-Name": "mavenagi",
321
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
321
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
322
322
  "X-Fern-Runtime": core.RUNTIME.type,
323
323
  "X-Fern-Runtime-Version": core.RUNTIME.version,
324
324
  },
@@ -408,11 +408,11 @@ export class Knowledge {
408
408
  method: "POST",
409
409
  headers: {
410
410
  Authorization: yield this._getAuthorizationHeader(),
411
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
412
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
411
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
412
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
413
413
  "X-Fern-Language": "JavaScript",
414
414
  "X-Fern-SDK-Name": "mavenagi",
415
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
415
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
416
416
  "X-Fern-Runtime": core.RUNTIME.type,
417
417
  "X-Fern-Runtime-Version": core.RUNTIME.version,
418
418
  },
@@ -507,11 +507,11 @@ export class Knowledge {
507
507
  method: "PUT",
508
508
  headers: {
509
509
  Authorization: yield this._getAuthorizationHeader(),
510
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
511
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
510
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
511
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
512
512
  "X-Fern-Language": "JavaScript",
513
513
  "X-Fern-SDK-Name": "mavenagi",
514
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
514
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
515
515
  "X-Fern-Runtime": core.RUNTIME.type,
516
516
  "X-Fern-Runtime-Version": core.RUNTIME.version,
517
517
  },
@@ -598,11 +598,11 @@ export class Knowledge {
598
598
  method: "DELETE",
599
599
  headers: {
600
600
  Authorization: yield this._getAuthorizationHeader(),
601
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
602
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
601
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
602
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
603
603
  "X-Fern-Language": "JavaScript",
604
604
  "X-Fern-SDK-Name": "mavenagi",
605
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
605
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
606
606
  "X-Fern-Runtime": core.RUNTIME.type,
607
607
  "X-Fern-Runtime-Version": core.RUNTIME.version,
608
608
  },
@@ -9,8 +9,8 @@ export declare namespace Triggers {
9
9
  environment?: core.Supplier<environments.MavenAGIEnvironment | string>;
10
10
  appId?: core.Supplier<string | undefined>;
11
11
  appSecret?: core.Supplier<string | undefined>;
12
- xOrganizationId: core.Supplier<string>;
13
- xAgentId: core.Supplier<string>;
12
+ organizationId: core.Supplier<string>;
13
+ agentId: core.Supplier<string>;
14
14
  fetcher?: core.FetchFunction;
15
15
  }
16
16
  interface RequestOptions {
@@ -47,11 +47,11 @@ export class Triggers {
47
47
  method: "PUT",
48
48
  headers: {
49
49
  Authorization: yield this._getAuthorizationHeader(),
50
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
51
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
50
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
51
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
52
52
  "X-Fern-Language": "JavaScript",
53
53
  "X-Fern-SDK-Name": "mavenagi",
54
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
54
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
55
55
  "X-Fern-Runtime": core.RUNTIME.type,
56
56
  "X-Fern-Runtime-Version": core.RUNTIME.version,
57
57
  },
@@ -135,11 +135,11 @@ export class Triggers {
135
135
  method: "GET",
136
136
  headers: {
137
137
  Authorization: yield this._getAuthorizationHeader(),
138
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
139
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
138
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
139
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
140
140
  "X-Fern-Language": "JavaScript",
141
141
  "X-Fern-SDK-Name": "mavenagi",
142
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
142
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
143
143
  "X-Fern-Runtime": core.RUNTIME.type,
144
144
  "X-Fern-Runtime-Version": core.RUNTIME.version,
145
145
  },
@@ -222,11 +222,11 @@ export class Triggers {
222
222
  method: "DELETE",
223
223
  headers: {
224
224
  Authorization: yield this._getAuthorizationHeader(),
225
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
226
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
225
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
226
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
227
227
  "X-Fern-Language": "JavaScript",
228
228
  "X-Fern-SDK-Name": "mavenagi",
229
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
229
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
230
230
  "X-Fern-Runtime": core.RUNTIME.type,
231
231
  "X-Fern-Runtime-Version": core.RUNTIME.version,
232
232
  },
@@ -9,8 +9,8 @@ export declare namespace Users {
9
9
  environment?: core.Supplier<environments.MavenAGIEnvironment | string>;
10
10
  appId?: core.Supplier<string | undefined>;
11
11
  appSecret?: core.Supplier<string | undefined>;
12
- xOrganizationId: core.Supplier<string>;
13
- xAgentId: core.Supplier<string>;
12
+ organizationId: core.Supplier<string>;
13
+ agentId: core.Supplier<string>;
14
14
  fetcher?: core.FetchFunction;
15
15
  }
16
16
  interface RequestOptions {
@@ -49,11 +49,11 @@ export class Users {
49
49
  method: "PUT",
50
50
  headers: {
51
51
  Authorization: yield this._getAuthorizationHeader(),
52
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
53
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
52
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
53
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
54
54
  "X-Fern-Language": "JavaScript",
55
55
  "X-Fern-SDK-Name": "mavenagi",
56
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
56
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
57
57
  "X-Fern-Runtime": core.RUNTIME.type,
58
58
  "X-Fern-Runtime-Version": core.RUNTIME.version,
59
59
  },
@@ -137,11 +137,11 @@ export class Users {
137
137
  method: "GET",
138
138
  headers: {
139
139
  Authorization: yield this._getAuthorizationHeader(),
140
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
141
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
140
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
141
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
142
142
  "X-Fern-Language": "JavaScript",
143
143
  "X-Fern-SDK-Name": "mavenagi",
144
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
144
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
145
145
  "X-Fern-Runtime": core.RUNTIME.type,
146
146
  "X-Fern-Runtime-Version": core.RUNTIME.version,
147
147
  },
package/dist/Client.d.ts CHANGED
@@ -13,8 +13,8 @@ export declare namespace MavenAGIClient {
13
13
  environment?: core.Supplier<environments.MavenAGIEnvironment | string>;
14
14
  appId?: core.Supplier<string | undefined>;
15
15
  appSecret?: core.Supplier<string | undefined>;
16
- xOrganizationId: core.Supplier<string>;
17
- xAgentId: core.Supplier<string>;
16
+ organizationId: core.Supplier<string>;
17
+ agentId: core.Supplier<string>;
18
18
  fetcher?: core.FetchFunction;
19
19
  }
20
20
  interface RequestOptions {
@@ -9,8 +9,8 @@ export declare namespace Actions {
9
9
  environment?: core.Supplier<environments.MavenAGIEnvironment | string>;
10
10
  appId?: core.Supplier<string | undefined>;
11
11
  appSecret?: core.Supplier<string | undefined>;
12
- xOrganizationId: core.Supplier<string>;
13
- xAgentId: core.Supplier<string>;
12
+ organizationId: core.Supplier<string>;
13
+ agentId: core.Supplier<string>;
14
14
  fetcher?: core.FetchFunction;
15
15
  }
16
16
  interface RequestOptions {
@@ -50,11 +50,11 @@ export class Actions {
50
50
  method: "PUT",
51
51
  headers: {
52
52
  Authorization: yield this._getAuthorizationHeader(),
53
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
54
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
53
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
54
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
55
55
  "X-Fern-Language": "JavaScript",
56
56
  "X-Fern-SDK-Name": "mavenagi",
57
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
57
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
58
58
  "X-Fern-Runtime": core.RUNTIME.type,
59
59
  "X-Fern-Runtime-Version": core.RUNTIME.version,
60
60
  },
@@ -138,11 +138,11 @@ export class Actions {
138
138
  method: "GET",
139
139
  headers: {
140
140
  Authorization: yield this._getAuthorizationHeader(),
141
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
142
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
141
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
142
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
143
143
  "X-Fern-Language": "JavaScript",
144
144
  "X-Fern-SDK-Name": "mavenagi",
145
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
145
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
146
146
  "X-Fern-Runtime": core.RUNTIME.type,
147
147
  "X-Fern-Runtime-Version": core.RUNTIME.version,
148
148
  },
@@ -225,11 +225,11 @@ export class Actions {
225
225
  method: "DELETE",
226
226
  headers: {
227
227
  Authorization: yield this._getAuthorizationHeader(),
228
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
229
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
228
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
229
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
230
230
  "X-Fern-Language": "JavaScript",
231
231
  "X-Fern-SDK-Name": "mavenagi",
232
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
232
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
233
233
  "X-Fern-Runtime": core.RUNTIME.type,
234
234
  "X-Fern-Runtime-Version": core.RUNTIME.version,
235
235
  },
@@ -9,8 +9,8 @@ export declare namespace Conversation {
9
9
  environment?: core.Supplier<environments.MavenAGIEnvironment | string>;
10
10
  appId?: core.Supplier<string | undefined>;
11
11
  appSecret?: core.Supplier<string | undefined>;
12
- xOrganizationId: core.Supplier<string>;
13
- xAgentId: core.Supplier<string>;
12
+ organizationId: core.Supplier<string>;
13
+ agentId: core.Supplier<string>;
14
14
  fetcher?: core.FetchFunction;
15
15
  }
16
16
  interface RequestOptions {
@@ -50,11 +50,11 @@ export class Conversation {
50
50
  method: "POST",
51
51
  headers: {
52
52
  Authorization: yield this._getAuthorizationHeader(),
53
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
54
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
53
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
54
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
55
55
  "X-Fern-Language": "JavaScript",
56
56
  "X-Fern-SDK-Name": "mavenagi",
57
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
57
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
58
58
  "X-Fern-Runtime": core.RUNTIME.type,
59
59
  "X-Fern-Runtime-Version": core.RUNTIME.version,
60
60
  },
@@ -138,11 +138,11 @@ export class Conversation {
138
138
  method: "GET",
139
139
  headers: {
140
140
  Authorization: yield this._getAuthorizationHeader(),
141
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
142
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
141
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
142
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
143
143
  "X-Fern-Language": "JavaScript",
144
144
  "X-Fern-SDK-Name": "mavenagi",
145
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
145
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
146
146
  "X-Fern-Runtime": core.RUNTIME.type,
147
147
  "X-Fern-Runtime-Version": core.RUNTIME.version,
148
148
  },
@@ -231,11 +231,11 @@ export class Conversation {
231
231
  method: "POST",
232
232
  headers: {
233
233
  Authorization: yield this._getAuthorizationHeader(),
234
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
235
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
234
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
235
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
236
236
  "X-Fern-Language": "JavaScript",
237
237
  "X-Fern-SDK-Name": "mavenagi",
238
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
238
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
239
239
  "X-Fern-Runtime": core.RUNTIME.type,
240
240
  "X-Fern-Runtime-Version": core.RUNTIME.version,
241
241
  },
@@ -327,11 +327,11 @@ export class Conversation {
327
327
  method: "POST",
328
328
  headers: {
329
329
  Authorization: yield this._getAuthorizationHeader(),
330
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
331
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
330
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
331
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
332
332
  "X-Fern-Language": "JavaScript",
333
333
  "X-Fern-SDK-Name": "mavenagi",
334
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
334
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
335
335
  "X-Fern-Runtime": core.RUNTIME.type,
336
336
  "X-Fern-Runtime-Version": core.RUNTIME.version,
337
337
  },
@@ -405,11 +405,11 @@ export class Conversation {
405
405
  method: "POST",
406
406
  headers: {
407
407
  Authorization: yield this._getAuthorizationHeader(),
408
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
409
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
408
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
409
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
410
410
  "X-Fern-Language": "JavaScript",
411
411
  "X-Fern-SDK-Name": "mavenagi",
412
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
412
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
413
413
  "X-Fern-Runtime": core.RUNTIME.type,
414
414
  "X-Fern-Runtime-Version": core.RUNTIME.version,
415
415
  },
@@ -507,11 +507,11 @@ export class Conversation {
507
507
  method: "POST",
508
508
  headers: {
509
509
  Authorization: yield this._getAuthorizationHeader(),
510
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
511
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
510
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
511
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
512
512
  "X-Fern-Language": "JavaScript",
513
513
  "X-Fern-SDK-Name": "mavenagi",
514
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
514
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
515
515
  "X-Fern-Runtime": core.RUNTIME.type,
516
516
  "X-Fern-Runtime-Version": core.RUNTIME.version,
517
517
  },
@@ -603,11 +603,11 @@ export class Conversation {
603
603
  method: "POST",
604
604
  headers: {
605
605
  Authorization: yield this._getAuthorizationHeader(),
606
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
607
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
606
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
607
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
608
608
  "X-Fern-Language": "JavaScript",
609
609
  "X-Fern-SDK-Name": "mavenagi",
610
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
610
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
611
611
  "X-Fern-Runtime": core.RUNTIME.type,
612
612
  "X-Fern-Runtime-Version": core.RUNTIME.version,
613
613
  },
@@ -704,11 +704,11 @@ export class Conversation {
704
704
  method: "POST",
705
705
  headers: {
706
706
  Authorization: yield this._getAuthorizationHeader(),
707
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
708
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
707
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
708
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
709
709
  "X-Fern-Language": "JavaScript",
710
710
  "X-Fern-SDK-Name": "mavenagi",
711
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
711
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
712
712
  "X-Fern-Runtime": core.RUNTIME.type,
713
713
  "X-Fern-Runtime-Version": core.RUNTIME.version,
714
714
  },
@@ -795,11 +795,11 @@ export class Conversation {
795
795
  method: "POST",
796
796
  headers: {
797
797
  Authorization: yield this._getAuthorizationHeader(),
798
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
799
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
798
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
799
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
800
800
  "X-Fern-Language": "JavaScript",
801
801
  "X-Fern-SDK-Name": "mavenagi",
802
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
802
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
803
803
  "X-Fern-Runtime": core.RUNTIME.type,
804
804
  "X-Fern-Runtime-Version": core.RUNTIME.version,
805
805
  },
@@ -9,8 +9,8 @@ export declare namespace Knowledge {
9
9
  environment?: core.Supplier<environments.MavenAGIEnvironment | string>;
10
10
  appId?: core.Supplier<string | undefined>;
11
11
  appSecret?: core.Supplier<string | undefined>;
12
- xOrganizationId: core.Supplier<string>;
13
- xAgentId: core.Supplier<string>;
12
+ organizationId: core.Supplier<string>;
13
+ agentId: core.Supplier<string>;
14
14
  fetcher?: core.FetchFunction;
15
15
  }
16
16
  interface RequestOptions {
@@ -46,11 +46,11 @@ export class Knowledge {
46
46
  method: "POST",
47
47
  headers: {
48
48
  Authorization: yield this._getAuthorizationHeader(),
49
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
50
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
49
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
50
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
51
51
  "X-Fern-Language": "JavaScript",
52
52
  "X-Fern-SDK-Name": "mavenagi",
53
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
53
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
54
54
  "X-Fern-Runtime": core.RUNTIME.type,
55
55
  "X-Fern-Runtime-Version": core.RUNTIME.version,
56
56
  },
@@ -134,11 +134,11 @@ export class Knowledge {
134
134
  method: "GET",
135
135
  headers: {
136
136
  Authorization: yield this._getAuthorizationHeader(),
137
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
138
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
137
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
138
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
139
139
  "X-Fern-Language": "JavaScript",
140
140
  "X-Fern-SDK-Name": "mavenagi",
141
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
141
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
142
142
  "X-Fern-Runtime": core.RUNTIME.type,
143
143
  "X-Fern-Runtime-Version": core.RUNTIME.version,
144
144
  },
@@ -224,11 +224,11 @@ export class Knowledge {
224
224
  method: "POST",
225
225
  headers: {
226
226
  Authorization: yield this._getAuthorizationHeader(),
227
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
228
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
227
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
228
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
229
229
  "X-Fern-Language": "JavaScript",
230
230
  "X-Fern-SDK-Name": "mavenagi",
231
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
231
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
232
232
  "X-Fern-Runtime": core.RUNTIME.type,
233
233
  "X-Fern-Runtime-Version": core.RUNTIME.version,
234
234
  },
@@ -314,11 +314,11 @@ export class Knowledge {
314
314
  method: "POST",
315
315
  headers: {
316
316
  Authorization: yield this._getAuthorizationHeader(),
317
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
318
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
317
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
318
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
319
319
  "X-Fern-Language": "JavaScript",
320
320
  "X-Fern-SDK-Name": "mavenagi",
321
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
321
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
322
322
  "X-Fern-Runtime": core.RUNTIME.type,
323
323
  "X-Fern-Runtime-Version": core.RUNTIME.version,
324
324
  },
@@ -408,11 +408,11 @@ export class Knowledge {
408
408
  method: "POST",
409
409
  headers: {
410
410
  Authorization: yield this._getAuthorizationHeader(),
411
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
412
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
411
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
412
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
413
413
  "X-Fern-Language": "JavaScript",
414
414
  "X-Fern-SDK-Name": "mavenagi",
415
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
415
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
416
416
  "X-Fern-Runtime": core.RUNTIME.type,
417
417
  "X-Fern-Runtime-Version": core.RUNTIME.version,
418
418
  },
@@ -507,11 +507,11 @@ export class Knowledge {
507
507
  method: "PUT",
508
508
  headers: {
509
509
  Authorization: yield this._getAuthorizationHeader(),
510
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
511
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
510
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
511
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
512
512
  "X-Fern-Language": "JavaScript",
513
513
  "X-Fern-SDK-Name": "mavenagi",
514
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
514
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
515
515
  "X-Fern-Runtime": core.RUNTIME.type,
516
516
  "X-Fern-Runtime-Version": core.RUNTIME.version,
517
517
  },
@@ -598,11 +598,11 @@ export class Knowledge {
598
598
  method: "DELETE",
599
599
  headers: {
600
600
  Authorization: yield this._getAuthorizationHeader(),
601
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
602
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
601
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
602
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
603
603
  "X-Fern-Language": "JavaScript",
604
604
  "X-Fern-SDK-Name": "mavenagi",
605
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
605
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
606
606
  "X-Fern-Runtime": core.RUNTIME.type,
607
607
  "X-Fern-Runtime-Version": core.RUNTIME.version,
608
608
  },
@@ -9,8 +9,8 @@ export declare namespace Triggers {
9
9
  environment?: core.Supplier<environments.MavenAGIEnvironment | string>;
10
10
  appId?: core.Supplier<string | undefined>;
11
11
  appSecret?: core.Supplier<string | undefined>;
12
- xOrganizationId: core.Supplier<string>;
13
- xAgentId: core.Supplier<string>;
12
+ organizationId: core.Supplier<string>;
13
+ agentId: core.Supplier<string>;
14
14
  fetcher?: core.FetchFunction;
15
15
  }
16
16
  interface RequestOptions {
@@ -47,11 +47,11 @@ export class Triggers {
47
47
  method: "PUT",
48
48
  headers: {
49
49
  Authorization: yield this._getAuthorizationHeader(),
50
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
51
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
50
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
51
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
52
52
  "X-Fern-Language": "JavaScript",
53
53
  "X-Fern-SDK-Name": "mavenagi",
54
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
54
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
55
55
  "X-Fern-Runtime": core.RUNTIME.type,
56
56
  "X-Fern-Runtime-Version": core.RUNTIME.version,
57
57
  },
@@ -135,11 +135,11 @@ export class Triggers {
135
135
  method: "GET",
136
136
  headers: {
137
137
  Authorization: yield this._getAuthorizationHeader(),
138
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
139
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
138
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
139
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
140
140
  "X-Fern-Language": "JavaScript",
141
141
  "X-Fern-SDK-Name": "mavenagi",
142
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
142
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
143
143
  "X-Fern-Runtime": core.RUNTIME.type,
144
144
  "X-Fern-Runtime-Version": core.RUNTIME.version,
145
145
  },
@@ -222,11 +222,11 @@ export class Triggers {
222
222
  method: "DELETE",
223
223
  headers: {
224
224
  Authorization: yield this._getAuthorizationHeader(),
225
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
226
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
225
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
226
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
227
227
  "X-Fern-Language": "JavaScript",
228
228
  "X-Fern-SDK-Name": "mavenagi",
229
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
229
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
230
230
  "X-Fern-Runtime": core.RUNTIME.type,
231
231
  "X-Fern-Runtime-Version": core.RUNTIME.version,
232
232
  },
@@ -9,8 +9,8 @@ export declare namespace Users {
9
9
  environment?: core.Supplier<environments.MavenAGIEnvironment | string>;
10
10
  appId?: core.Supplier<string | undefined>;
11
11
  appSecret?: core.Supplier<string | undefined>;
12
- xOrganizationId: core.Supplier<string>;
13
- xAgentId: core.Supplier<string>;
12
+ organizationId: core.Supplier<string>;
13
+ agentId: core.Supplier<string>;
14
14
  fetcher?: core.FetchFunction;
15
15
  }
16
16
  interface RequestOptions {
@@ -49,11 +49,11 @@ export class Users {
49
49
  method: "PUT",
50
50
  headers: {
51
51
  Authorization: yield this._getAuthorizationHeader(),
52
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
53
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
52
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
53
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
54
54
  "X-Fern-Language": "JavaScript",
55
55
  "X-Fern-SDK-Name": "mavenagi",
56
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
56
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
57
57
  "X-Fern-Runtime": core.RUNTIME.type,
58
58
  "X-Fern-Runtime-Version": core.RUNTIME.version,
59
59
  },
@@ -137,11 +137,11 @@ export class Users {
137
137
  method: "GET",
138
138
  headers: {
139
139
  Authorization: yield this._getAuthorizationHeader(),
140
- "X-Organization-Id": yield core.Supplier.get(this._options.xOrganizationId),
141
- "X-Agent-Id": yield core.Supplier.get(this._options.xAgentId),
140
+ "X-Organization-Id": yield core.Supplier.get(this._options.organizationId),
141
+ "X-Agent-Id": yield core.Supplier.get(this._options.agentId),
142
142
  "X-Fern-Language": "JavaScript",
143
143
  "X-Fern-SDK-Name": "mavenagi",
144
- "X-Fern-SDK-Version": "0.0.0-alpha.5",
144
+ "X-Fern-SDK-Version": "0.0.0-alpha.7",
145
145
  "X-Fern-Runtime": core.RUNTIME.type,
146
146
  "X-Fern-Runtime-Version": core.RUNTIME.version,
147
147
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mavenagi",
3
- "version": "0.0.0-alpha.5",
3
+ "version": "0.0.0-alpha.7",
4
4
  "private": false,
5
5
  "repository": "https://github.com/mavenagi/mavenagi-node",
6
6
  "main": "./index.js",