@s2-dev/streamstore 0.3.9 → 0.3.14
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/README.md +15 -12
- package/docs/sdks/account/README.md +38 -35
- package/docs/sdks/basin/README.md +38 -35
- package/docs/sdks/stream/README.md +22 -27
- package/funcs/accountCreateBasin.d.ts +2 -1
- package/funcs/accountCreateBasin.d.ts.map +1 -1
- package/funcs/accountCreateBasin.js +3 -4
- package/funcs/accountCreateBasin.js.map +1 -1
- package/funcs/accountDeleteBasin.d.ts +1 -1
- package/funcs/accountDeleteBasin.d.ts.map +1 -1
- package/funcs/accountDeleteBasin.js +3 -2
- package/funcs/accountDeleteBasin.js.map +1 -1
- package/funcs/accountGetBasinConfig.d.ts +2 -1
- package/funcs/accountGetBasinConfig.d.ts.map +1 -1
- package/funcs/accountGetBasinConfig.js +3 -4
- package/funcs/accountGetBasinConfig.js.map +1 -1
- package/funcs/accountListBasins.d.ts +1 -1
- package/funcs/accountListBasins.d.ts.map +1 -1
- package/funcs/accountListBasins.js +2 -4
- package/funcs/accountListBasins.js.map +1 -1
- package/funcs/accountReconfigureBasin.d.ts +2 -1
- package/funcs/accountReconfigureBasin.d.ts.map +1 -1
- package/funcs/accountReconfigureBasin.js +3 -4
- package/funcs/accountReconfigureBasin.js.map +1 -1
- package/funcs/basinCreateStream.d.ts +2 -1
- package/funcs/basinCreateStream.d.ts.map +1 -1
- package/funcs/basinCreateStream.js +14 -4
- package/funcs/basinCreateStream.js.map +1 -1
- package/funcs/basinDeleteStream.d.ts +1 -1
- package/funcs/basinDeleteStream.d.ts.map +1 -1
- package/funcs/basinDeleteStream.js +3 -2
- package/funcs/basinDeleteStream.js.map +1 -1
- package/funcs/basinGetStreamConfig.d.ts +2 -1
- package/funcs/basinGetStreamConfig.d.ts.map +1 -1
- package/funcs/basinGetStreamConfig.js +3 -4
- package/funcs/basinGetStreamConfig.js.map +1 -1
- package/funcs/basinListStreams.d.ts +1 -1
- package/funcs/basinListStreams.d.ts.map +1 -1
- package/funcs/basinListStreams.js +3 -3
- package/funcs/basinListStreams.js.map +1 -1
- package/funcs/basinReconfigureStream.d.ts +2 -1
- package/funcs/basinReconfigureStream.d.ts.map +1 -1
- package/funcs/basinReconfigureStream.js +3 -4
- package/funcs/basinReconfigureStream.js.map +1 -1
- package/funcs/streamAppend.d.ts +2 -1
- package/funcs/streamAppend.d.ts.map +1 -1
- package/funcs/streamAppend.js +3 -4
- package/funcs/streamAppend.js.map +1 -1
- package/funcs/streamCheckTail.d.ts +2 -1
- package/funcs/streamCheckTail.d.ts.map +1 -1
- package/funcs/streamCheckTail.js +3 -4
- package/funcs/streamCheckTail.js.map +1 -1
- package/funcs/streamRead.d.ts +1 -1
- package/funcs/streamRead.d.ts.map +1 -1
- package/funcs/streamRead.js +2 -2
- package/funcs/streamRead.js.map +1 -1
- package/index.extras.d.ts +16 -5
- package/index.extras.d.ts.map +1 -1
- package/index.extras.js +89 -26
- package/index.extras.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/lib/matchers.d.ts +1 -1
- package/lib/matchers.d.ts.map +1 -1
- package/lib/matchers.js +11 -10
- package/lib/matchers.js.map +1 -1
- package/models/components/index.d.ts +0 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -1
- package/models/components/index.js.map +1 -1
- package/models/errors/apierror.d.ts +5 -8
- package/models/errors/apierror.d.ts.map +1 -1
- package/models/errors/apierror.js +9 -3
- package/models/errors/apierror.js.map +1 -1
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/retryableerror.d.ts +31 -0
- package/models/errors/retryableerror.d.ts.map +1 -0
- package/models/errors/retryableerror.js +77 -0
- package/models/errors/retryableerror.js.map +1 -0
- package/models/operations/append.d.ts +0 -27
- package/models/operations/append.d.ts.map +1 -1
- package/models/operations/append.js +1 -40
- package/models/operations/append.js.map +1 -1
- package/models/operations/checktail.d.ts +0 -28
- package/models/operations/checktail.d.ts.map +1 -1
- package/models/operations/checktail.js +1 -42
- package/models/operations/checktail.js.map +1 -1
- package/models/operations/createbasin.d.ts +0 -27
- package/models/operations/createbasin.d.ts.map +1 -1
- package/models/operations/createbasin.js +1 -40
- package/models/operations/createbasin.js.map +1 -1
- package/models/operations/createstream.d.ts +0 -27
- package/models/operations/createstream.d.ts.map +1 -1
- package/models/operations/createstream.js +1 -40
- package/models/operations/createstream.js.map +1 -1
- package/models/operations/deletebasin.d.ts +0 -26
- package/models/operations/deletebasin.d.ts.map +1 -1
- package/models/operations/deletebasin.js +1 -38
- package/models/operations/deletebasin.js.map +1 -1
- package/models/operations/deletestream.d.ts +0 -26
- package/models/operations/deletestream.d.ts.map +1 -1
- package/models/operations/deletestream.js +1 -38
- package/models/operations/deletestream.js.map +1 -1
- package/models/operations/getbasinconfig.d.ts +0 -28
- package/models/operations/getbasinconfig.d.ts.map +1 -1
- package/models/operations/getbasinconfig.js +1 -42
- package/models/operations/getbasinconfig.js.map +1 -1
- package/models/operations/getstreamconfig.d.ts +0 -28
- package/models/operations/getstreamconfig.d.ts.map +1 -1
- package/models/operations/getstreamconfig.js +1 -42
- package/models/operations/getstreamconfig.js.map +1 -1
- package/models/operations/listbasins.d.ts +2 -4
- package/models/operations/listbasins.d.ts.map +1 -1
- package/models/operations/listbasins.js +4 -8
- package/models/operations/listbasins.js.map +1 -1
- package/models/operations/liststreams.d.ts +2 -4
- package/models/operations/liststreams.d.ts.map +1 -1
- package/models/operations/liststreams.js +4 -8
- package/models/operations/liststreams.js.map +1 -1
- package/models/operations/read.d.ts +2 -10
- package/models/operations/read.d.ts.map +1 -1
- package/models/operations/read.js +6 -23
- package/models/operations/read.js.map +1 -1
- package/models/operations/reconfigurebasin.d.ts +0 -27
- package/models/operations/reconfigurebasin.d.ts.map +1 -1
- package/models/operations/reconfigurebasin.js +1 -40
- package/models/operations/reconfigurebasin.js.map +1 -1
- package/models/operations/reconfigurestream.d.ts +0 -27
- package/models/operations/reconfigurestream.d.ts.map +1 -1
- package/models/operations/reconfigurestream.js +1 -40
- package/models/operations/reconfigurestream.js.map +1 -1
- package/package.json +1 -1
- package/sdk/account.d.ts +5 -4
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js.map +1 -1
- package/sdk/basin.d.ts +5 -4
- package/sdk/basin.d.ts.map +1 -1
- package/sdk/basin.js.map +1 -1
- package/sdk/stream.d.ts +3 -2
- package/sdk/stream.d.ts.map +1 -1
- package/sdk/stream.js.map +1 -1
- package/src/funcs/accountCreateBasin.ts +12 -10
- package/src/funcs/accountDeleteBasin.ts +12 -8
- package/src/funcs/accountGetBasinConfig.ts +12 -10
- package/src/funcs/accountListBasins.ts +11 -9
- package/src/funcs/accountReconfigureBasin.ts +12 -10
- package/src/funcs/basinCreateStream.ts +23 -10
- package/src/funcs/basinDeleteStream.ts +12 -8
- package/src/funcs/basinGetStreamConfig.ts +12 -10
- package/src/funcs/basinListStreams.ts +11 -7
- package/src/funcs/basinReconfigureStream.ts +12 -10
- package/src/funcs/streamAppend.ts +12 -10
- package/src/funcs/streamCheckTail.ts +12 -10
- package/src/funcs/streamRead.ts +10 -7
- package/src/index.extras.ts +170 -52
- package/src/lib/config.ts +3 -2
- package/src/lib/matchers.ts +16 -10
- package/src/models/components/index.ts +0 -1
- package/src/models/errors/apierror.ts +13 -7
- package/src/models/errors/index.ts +1 -0
- package/src/models/errors/retryableerror.ts +69 -0
- package/src/models/operations/append.ts +0 -68
- package/src/models/operations/checktail.ts +0 -74
- package/src/models/operations/createbasin.ts +0 -72
- package/src/models/operations/createstream.ts +0 -72
- package/src/models/operations/deletebasin.ts +0 -68
- package/src/models/operations/deletestream.ts +0 -68
- package/src/models/operations/getbasinconfig.ts +0 -74
- package/src/models/operations/getstreamconfig.ts +0 -74
- package/src/models/operations/listbasins.ts +6 -12
- package/src/models/operations/liststreams.ts +6 -12
- package/src/models/operations/read.ts +10 -33
- package/src/models/operations/reconfigurebasin.ts +0 -72
- package/src/models/operations/reconfigurestream.ts +0 -72
- package/src/sdk/account.ts +5 -4
- package/src/sdk/basin.ts +5 -4
- package/src/sdk/stream.ts +3 -2
- package/models/components/httpmetadata.d.ts +0 -37
- package/models/components/httpmetadata.d.ts.map +0 -1
- package/models/components/httpmetadata.js +0 -86
- package/models/components/httpmetadata.js.map +0 -1
- package/src/models/components/httpmetadata.ts +0 -87
package/lib/matchers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"matchers.js","sourceRoot":"","sources":["../src/lib/matchers.ts"],"names":[],"mappings":";AAAA;;GAEG;;AA0DH,0BAMC;AACD,oBAMC;AAED,0BAMC;AACD,oBAMC;AAED,4BAMC;AACD,sBAMC;AAED,8BAMC;AACD,wBAMC;AAED,wBAMC;AACD,kBAMC;AAED,wBAMC;AACD,kBAMC;AAED,oBAEC;
|
|
1
|
+
{"version":3,"file":"matchers.js","sourceRoot":"","sources":["../src/lib/matchers.ts"],"names":[],"mappings":";AAAA;;GAEG;;AA0DH,0BAMC;AACD,oBAMC;AAED,0BAMC;AACD,oBAMC;AAED,4BAMC;AACD,sBAMC;AAED,8BAMC;AACD,wBAMC;AAED,wBAMC;AACD,kBAMC;AAED,wBAMC;AACD,kBAMC;AAED,oBAEC;AAaD,sBAyHC;AAOD,sCAQC;AAQD,kDAeC;AAhUD,8DAAwD;AAGxD,yDAAqD;AACrD,uCAAgF;AAChF,6DAAqD;AACrD,6CAAyC;AAWzC,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,0BAA0B;IACjC,MAAM,EAAE,0BAA0B;IAClC,GAAG,EAAE,mBAAmB;IACxB,GAAG,EAAE,GAAG;IACR,IAAI,EAAE,GAAG;CACV,CAAC;AA+BF,SA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AAG,KAAK,CAAC;AAC1B;;;GAGG;AACH,SAAgB,aAAa,CAAC,OAAgB;IAC5C,MAAM,GAAG,GAA6B,EAAE,CAAC;IAEzC,KAAK,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC;QACvC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,GAAG,CAAC;AACb,CAAC;AAED;;;;;GAKG;AACI,KAAK,UAAU,mBAAmB,CAAC,GAAa;IACrD,MAAM,MAAM,GAAG,GAAG,CAAC,IAAI,EAAE,SAAS,EAAE,CAAC;IACrC,IAAI,MAAM,IAAI,IAAI,EAAE,CAAC;QACnB,OAAO;IACT,CAAC;IAED,IAAI,CAAC;QACH,IAAI,IAAI,GAAG,KAAK,CAAC;QACjB,OAAO,CAAC,IAAI,EAAE,CAAC;YACb,MAAM,GAAG,GAAG,MAAM,MAAM,CAAC,IAAI,EAAE,CAAC;YAChC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QAClB,CAAC;IACH,CAAC;YAAS,CAAC;QACT,MAAM,CAAC,WAAW,EAAE,CAAC;IACvB,CAAC;AACH,CAAC"}
|
|
@@ -10,7 +10,6 @@ export * from "./createbasinrequest.js";
|
|
|
10
10
|
export * from "./createstreamrequest.js";
|
|
11
11
|
export * from "./formatoption.js";
|
|
12
12
|
export * from "./header.js";
|
|
13
|
-
export * from "./httpmetadata.js";
|
|
14
13
|
export * from "./listbasinsresponse.js";
|
|
15
14
|
export * from "./liststreamsresponse.js";
|
|
16
15
|
export * from "./output.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC"}
|
|
@@ -29,7 +29,6 @@ __exportStar(require("./createbasinrequest.js"), exports);
|
|
|
29
29
|
__exportStar(require("./createstreamrequest.js"), exports);
|
|
30
30
|
__exportStar(require("./formatoption.js"), exports);
|
|
31
31
|
__exportStar(require("./header.js"), exports);
|
|
32
|
-
__exportStar(require("./httpmetadata.js"), exports);
|
|
33
32
|
__exportStar(require("./listbasinsresponse.js"), exports);
|
|
34
33
|
__exportStar(require("./liststreamsresponse.js"), exports);
|
|
35
34
|
__exportStar(require("./output.js"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,mDAAiC;AACjC,oDAAkC;AAClC,oDAAkC;AAClC,kDAAgC;AAChC,mDAAiC;AACjC,iDAA+B;AAC/B,kDAAgC;AAChC,yDAAuC;AACvC,0DAAwC;AACxC,2DAAyC;AACzC,oDAAkC;AAClC,8CAA4B;AAC5B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,mDAAiC;AACjC,oDAAkC;AAClC,oDAAkC;AAClC,kDAAgC;AAChC,mDAAiC;AACjC,iDAA+B;AAC/B,kDAAgC;AAChC,yDAAuC;AACvC,0DAAwC;AACxC,2DAAyC;AACzC,oDAAkC;AAClC,8CAA4B;AAC5B,0DAAwC;AACxC,2DAAyC;AACzC,8CAA4B;AAC5B,oDAAkC;AAClC,uDAAqC;AACrC,gDAA8B;AAC9B,uDAAqC;AACrC,4DAA0C;AAC1C,oDAAkC;AAClC,oDAAkC;AAClC,kDAAgC"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
export declare class APIError extends Error {
|
|
2
|
-
readonly
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
constructor(message: string,
|
|
7
|
-
response: Response;
|
|
8
|
-
request: Request;
|
|
9
|
-
});
|
|
2
|
+
readonly rawResponse: Response;
|
|
3
|
+
readonly body: string;
|
|
4
|
+
readonly statusCode: number;
|
|
5
|
+
readonly contentType: string;
|
|
6
|
+
constructor(message: string, rawResponse: Response, body?: string);
|
|
10
7
|
}
|
|
11
8
|
//# sourceMappingURL=apierror.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apierror.d.ts","sourceRoot":"","sources":["../../src/models/errors/apierror.ts"],"names":[],"mappings":"AAIA,qBAAa,QAAS,SAAQ,KAAK;
|
|
1
|
+
{"version":3,"file":"apierror.d.ts","sourceRoot":"","sources":["../../src/models/errors/apierror.ts"],"names":[],"mappings":"AAIA,qBAAa,QAAS,SAAQ,KAAK;aAMf,WAAW,EAAE,QAAQ;aACrB,IAAI,EAAE,MAAM;IAN9B,SAAgB,UAAU,EAAE,MAAM,CAAC;IACnC,SAAgB,WAAW,EAAE,MAAM,CAAC;gBAGlC,OAAO,EAAE,MAAM,EACC,WAAW,EAAE,QAAQ,EACrB,IAAI,GAAE,MAAW;CAepC"}
|
|
@@ -5,9 +5,15 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.APIError = void 0;
|
|
7
7
|
class APIError extends Error {
|
|
8
|
-
constructor(message,
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
constructor(message, rawResponse, body = "") {
|
|
9
|
+
const statusCode = rawResponse.status;
|
|
10
|
+
const contentType = rawResponse.headers.get("content-type") || "";
|
|
11
|
+
const bodyString = body.length > 0 ? `\n${body}` : "";
|
|
12
|
+
super(`${message}: Status ${statusCode} Content-Type ${contentType} Body ${bodyString}`);
|
|
13
|
+
this.rawResponse = rawResponse;
|
|
14
|
+
this.body = body;
|
|
15
|
+
this.statusCode = statusCode;
|
|
16
|
+
this.contentType = contentType;
|
|
11
17
|
this.name = "APIError";
|
|
12
18
|
}
|
|
13
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apierror.js","sourceRoot":"","sources":["../../src/models/errors/apierror.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,MAAa,QAAS,SAAQ,KAAK;
|
|
1
|
+
{"version":3,"file":"apierror.js","sourceRoot":"","sources":["../../src/models/errors/apierror.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,MAAa,QAAS,SAAQ,KAAK;IAIjC,YACE,OAAe,EACC,WAAqB,EACrB,OAAe,EAAE;QAEjC,MAAM,UAAU,GAAG,WAAW,CAAC,MAAM,CAAC;QACtC,MAAM,WAAW,GAAG,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC;QAClE,MAAM,UAAU,GAAG,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAEtD,KAAK,CACH,GAAG,OAAO,YAAY,UAAU,iBAAiB,WAAW,SAAS,UAAU,EAAE,CAClF,CAAC;QATc,gBAAW,GAAX,WAAW,CAAU;QACrB,SAAI,GAAJ,IAAI,CAAa;QAUjC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC;IACzB,CAAC;CACF;AAtBD,4BAsBC"}
|
package/models/errors/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC"}
|
package/models/errors/index.js
CHANGED
|
@@ -21,5 +21,6 @@ __exportStar(require("./apierror.js"), exports);
|
|
|
21
21
|
__exportStar(require("./errorresponse.js"), exports);
|
|
22
22
|
__exportStar(require("./httpclienterrors.js"), exports);
|
|
23
23
|
__exportStar(require("./notfounderror.js"), exports);
|
|
24
|
+
__exportStar(require("./retryableerror.js"), exports);
|
|
24
25
|
__exportStar(require("./sdkvalidationerror.js"), exports);
|
|
25
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,gDAA8B;AAC9B,qDAAmC;AACnC,wDAAsC;AACtC,qDAAmC;AACnC,0DAAwC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,gDAA8B;AAC9B,qDAAmC;AACnC,wDAAsC;AACtC,qDAAmC;AACnC,sDAAoC;AACpC,0DAAwC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
export type RetryableErrorData = {
|
|
3
|
+
error: string;
|
|
4
|
+
};
|
|
5
|
+
export declare class RetryableError extends Error {
|
|
6
|
+
error: string;
|
|
7
|
+
/** The original data that was passed to this error instance. */
|
|
8
|
+
data$: RetryableErrorData;
|
|
9
|
+
constructor(err: RetryableErrorData);
|
|
10
|
+
}
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare const RetryableError$inboundSchema: z.ZodType<RetryableError, z.ZodTypeDef, unknown>;
|
|
13
|
+
/** @internal */
|
|
14
|
+
export type RetryableError$Outbound = {
|
|
15
|
+
error: string;
|
|
16
|
+
};
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const RetryableError$outboundSchema: z.ZodType<RetryableError$Outbound, z.ZodTypeDef, RetryableError>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
22
|
+
*/
|
|
23
|
+
export declare namespace RetryableError$ {
|
|
24
|
+
/** @deprecated use `RetryableError$inboundSchema` instead. */
|
|
25
|
+
const inboundSchema: z.ZodType<RetryableError, z.ZodTypeDef, unknown>;
|
|
26
|
+
/** @deprecated use `RetryableError$outboundSchema` instead. */
|
|
27
|
+
const outboundSchema: z.ZodType<RetryableError$Outbound, z.ZodTypeDef, RetryableError>;
|
|
28
|
+
/** @deprecated use `RetryableError$Outbound` instead. */
|
|
29
|
+
type Outbound = RetryableError$Outbound;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=retryableerror.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retryableerror.d.ts","sourceRoot":"","sources":["../../src/models/errors/retryableerror.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,qBAAa,cAAe,SAAQ,KAAK;IACvC,KAAK,EAAE,MAAM,CAAC;IAEd,gEAAgE;IAChE,KAAK,EAAE,kBAAkB,CAAC;gBAEd,GAAG,EAAE,kBAAkB;CAWpC;AAED,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,OAAO,CAML,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,cAAc,CAKX,CAAC;AAEN;;;GAGG;AACH,yBAAiB,eAAe,CAAC;IAC/B,8DAA8D;IACvD,MAAM,aAAa,kDAA+B,CAAC;IAC1D,+DAA+D;IACxD,MAAM,cAAc,kEAAgC,CAAC;IAC5D,yDAAyD;IACzD,KAAY,QAAQ,GAAG,uBAAuB,CAAC;CAChD"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.RetryableError$ = exports.RetryableError$outboundSchema = exports.RetryableError$inboundSchema = exports.RetryableError = void 0;
|
|
40
|
+
const z = __importStar(require("zod"));
|
|
41
|
+
class RetryableError extends Error {
|
|
42
|
+
constructor(err) {
|
|
43
|
+
const message = "message" in err && typeof err.message === "string"
|
|
44
|
+
? err.message
|
|
45
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
46
|
+
super(message);
|
|
47
|
+
this.data$ = err;
|
|
48
|
+
this.error = err.error;
|
|
49
|
+
this.name = "RetryableError";
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.RetryableError = RetryableError;
|
|
53
|
+
/** @internal */
|
|
54
|
+
exports.RetryableError$inboundSchema = z.object({
|
|
55
|
+
error: z.string(),
|
|
56
|
+
})
|
|
57
|
+
.transform((v) => {
|
|
58
|
+
return new RetryableError(v);
|
|
59
|
+
});
|
|
60
|
+
/** @internal */
|
|
61
|
+
exports.RetryableError$outboundSchema = z.instanceof(RetryableError)
|
|
62
|
+
.transform(v => v.data$)
|
|
63
|
+
.pipe(z.object({
|
|
64
|
+
error: z.string(),
|
|
65
|
+
}));
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
69
|
+
*/
|
|
70
|
+
var RetryableError$;
|
|
71
|
+
(function (RetryableError$) {
|
|
72
|
+
/** @deprecated use `RetryableError$inboundSchema` instead. */
|
|
73
|
+
RetryableError$.inboundSchema = exports.RetryableError$inboundSchema;
|
|
74
|
+
/** @deprecated use `RetryableError$outboundSchema` instead. */
|
|
75
|
+
RetryableError$.outboundSchema = exports.RetryableError$outboundSchema;
|
|
76
|
+
})(RetryableError$ || (exports.RetryableError$ = RetryableError$ = {}));
|
|
77
|
+
//# sourceMappingURL=retryableerror.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retryableerror.js","sourceRoot":"","sources":["../../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f,eAAe,QAO/B"}
|
|
@@ -24,10 +24,6 @@ export type AppendRequest = {
|
|
|
24
24
|
stream: string;
|
|
25
25
|
appendInput: components.AppendInput;
|
|
26
26
|
};
|
|
27
|
-
export type AppendResponse = {
|
|
28
|
-
httpMeta: components.HTTPMetadata;
|
|
29
|
-
appendOutput?: components.AppendOutput | undefined;
|
|
30
|
-
};
|
|
31
27
|
/** @internal */
|
|
32
28
|
export declare const HeaderS2Format$inboundSchema: z.ZodType<HeaderS2Format, z.ZodTypeDef, unknown>;
|
|
33
29
|
/** @internal */
|
|
@@ -72,27 +68,4 @@ export declare namespace AppendRequest$ {
|
|
|
72
68
|
}
|
|
73
69
|
export declare function appendRequestToJSON(appendRequest: AppendRequest): string;
|
|
74
70
|
export declare function appendRequestFromJSON(jsonString: string): SafeParseResult<AppendRequest, SDKValidationError>;
|
|
75
|
-
/** @internal */
|
|
76
|
-
export declare const AppendResponse$inboundSchema: z.ZodType<AppendResponse, z.ZodTypeDef, unknown>;
|
|
77
|
-
/** @internal */
|
|
78
|
-
export type AppendResponse$Outbound = {
|
|
79
|
-
HttpMeta: components.HTTPMetadata$Outbound;
|
|
80
|
-
AppendOutput?: components.AppendOutput$Outbound | undefined;
|
|
81
|
-
};
|
|
82
|
-
/** @internal */
|
|
83
|
-
export declare const AppendResponse$outboundSchema: z.ZodType<AppendResponse$Outbound, z.ZodTypeDef, AppendResponse>;
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
87
|
-
*/
|
|
88
|
-
export declare namespace AppendResponse$ {
|
|
89
|
-
/** @deprecated use `AppendResponse$inboundSchema` instead. */
|
|
90
|
-
const inboundSchema: z.ZodType<AppendResponse, z.ZodTypeDef, unknown>;
|
|
91
|
-
/** @deprecated use `AppendResponse$outboundSchema` instead. */
|
|
92
|
-
const outboundSchema: z.ZodType<AppendResponse$Outbound, z.ZodTypeDef, AppendResponse>;
|
|
93
|
-
/** @deprecated use `AppendResponse$Outbound` instead. */
|
|
94
|
-
type Outbound = AppendResponse$Outbound;
|
|
95
|
-
}
|
|
96
|
-
export declare function appendResponseToJSON(appendResponse: AppendResponse): string;
|
|
97
|
-
export declare function appendResponseFromJSON(jsonString: string): SafeParseResult<AppendResponse, SDKValidationError>;
|
|
98
71
|
//# sourceMappingURL=append.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"append.d.ts","sourceRoot":"","sources":["../../src/models/operations/append.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,gBAAgB,mDAKnB,CAAC;AAEX;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC;AAErD,MAAM,MAAM,aAAa,GAAG;IAC1B;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,UAAU,CAAC,YAAY,GAAG,SAAS,CAAC;IAC/C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,UAAU,CAAC,WAAW,CAAC;CACrC,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"append.d.ts","sourceRoot":"","sources":["../../src/models/operations/append.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,gBAAgB,mDAKnB,CAAC;AAEX;;;;;GAKG;AACH,MAAM,MAAM,cAAc,G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,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,aAAa,CAUb,CAAC;AAEH;;;GAGG;AACH,yBAAiB,cAAc,CAAC;IAC9B,6DAA6D;IACtD,MAAM,aAAa,iDAA8B,CAAC;IACzD,8DAA8D;IACvD,MAAM,cAAc,gEAA+B,CAAC;IAC3D,wDAAwD;IACxD,KAAY,QAAQ,GAAG,sBAAsB,CAAC;CAC/C;AAED,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAExE;AAED,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
|
|
@@ -36,13 +36,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.AppendRequest$ = exports.AppendRequest$outboundSchema = exports.AppendRequest$inboundSchema = exports.HeaderS2Format$ = exports.HeaderS2Format$outboundSchema = exports.HeaderS2Format$inboundSchema = exports.AppendServerList = void 0;
|
|
40
40
|
exports.headerS2FormatToJSON = headerS2FormatToJSON;
|
|
41
41
|
exports.headerS2FormatFromJSON = headerS2FormatFromJSON;
|
|
42
42
|
exports.appendRequestToJSON = appendRequestToJSON;
|
|
43
43
|
exports.appendRequestFromJSON = appendRequestFromJSON;
|
|
44
|
-
exports.appendResponseToJSON = appendResponseToJSON;
|
|
45
|
-
exports.appendResponseFromJSON = appendResponseFromJSON;
|
|
46
44
|
const z = __importStar(require("zod"));
|
|
47
45
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
48
46
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
@@ -113,41 +111,4 @@ function appendRequestToJSON(appendRequest) {
|
|
|
113
111
|
function appendRequestFromJSON(jsonString) {
|
|
114
112
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AppendRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AppendRequest' from JSON`);
|
|
115
113
|
}
|
|
116
|
-
/** @internal */
|
|
117
|
-
exports.AppendResponse$inboundSchema = z.object({
|
|
118
|
-
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
119
|
-
AppendOutput: components.AppendOutput$inboundSchema.optional(),
|
|
120
|
-
}).transform((v) => {
|
|
121
|
-
return (0, primitives_js_1.remap)(v, {
|
|
122
|
-
"HttpMeta": "httpMeta",
|
|
123
|
-
"AppendOutput": "appendOutput",
|
|
124
|
-
});
|
|
125
|
-
});
|
|
126
|
-
/** @internal */
|
|
127
|
-
exports.AppendResponse$outboundSchema = z.object({
|
|
128
|
-
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
129
|
-
appendOutput: components.AppendOutput$outboundSchema.optional(),
|
|
130
|
-
}).transform((v) => {
|
|
131
|
-
return (0, primitives_js_1.remap)(v, {
|
|
132
|
-
httpMeta: "HttpMeta",
|
|
133
|
-
appendOutput: "AppendOutput",
|
|
134
|
-
});
|
|
135
|
-
});
|
|
136
|
-
/**
|
|
137
|
-
* @internal
|
|
138
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
139
|
-
*/
|
|
140
|
-
var AppendResponse$;
|
|
141
|
-
(function (AppendResponse$) {
|
|
142
|
-
/** @deprecated use `AppendResponse$inboundSchema` instead. */
|
|
143
|
-
AppendResponse$.inboundSchema = exports.AppendResponse$inboundSchema;
|
|
144
|
-
/** @deprecated use `AppendResponse$outboundSchema` instead. */
|
|
145
|
-
AppendResponse$.outboundSchema = exports.AppendResponse$outboundSchema;
|
|
146
|
-
})(AppendResponse$ || (exports.AppendResponse$ = AppendResponse$ = {}));
|
|
147
|
-
function appendResponseToJSON(appendResponse) {
|
|
148
|
-
return JSON.stringify(exports.AppendResponse$outboundSchema.parse(appendResponse));
|
|
149
|
-
}
|
|
150
|
-
function appendResponseFromJSON(jsonString) {
|
|
151
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AppendResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AppendResponse' from JSON`);
|
|
152
|
-
}
|
|
153
114
|
//# sourceMappingURL=append.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"append.js","sourceRoot":"","sources":["../../src/models/operations/append.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"append.js","sourceRoot":"","sources":["../../src/models/operations/append.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqEH,oDAEC;AAED,wDAQC;AAsDD,kDAEC;AAED,sDAQC;AAjJD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAGxC,QAAA,gBAAgB,GAAG;IAC9B;;OAEG;IACH,sCAAsC;CAC9B,CAAC;AAyBX,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,UAAU,CAAC,0BAA0B,CAAC;AAK1C,gBAAgB;AACH,QAAA,6BAA6B,GAItC,UAAU,CAAC,2BAA2B,CAAC;AAE3C;;;GAGG;AACH,IAAiB,eAAe,CAO/B;AAPD,WAAiB,eAAe;IAC9B,8DAA8D;IACjD,6BAAa,GAAG,oCAA4B,CAAC;IAC1D,+DAA+D;IAClD,8BAAc,GAAG,qCAA6B,CAAC;AAG9D,CAAC,EAPgB,eAAe,+BAAf,eAAe,QAO/B;AAED,SAAgB,oBAAoB,CAAC,cAA8B;IACjE,OAAO,IAAI,CAAC,SAAS,CAAC,qCAA6B,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;AAC7E,CAAC;AAED,SAAgB,sBAAsB,CACpC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAA4B,CA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qB,CACnC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mCAA2B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvD,2CAA2C,CAC5C,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import * as components from "../components/index.js";
|
|
4
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
4
|
export declare const CheckTailServerList: readonly ["https://{basin}.b.aws.s2.dev/v1alpha"];
|
|
6
5
|
export type CheckTailRequest = {
|
|
@@ -9,10 +8,6 @@ export type CheckTailRequest = {
|
|
|
9
8
|
*/
|
|
10
9
|
stream: string;
|
|
11
10
|
};
|
|
12
|
-
export type CheckTailResponse = {
|
|
13
|
-
httpMeta: components.HTTPMetadata;
|
|
14
|
-
checkTailResponse?: components.CheckTailResponse | undefined;
|
|
15
|
-
};
|
|
16
11
|
/** @internal */
|
|
17
12
|
export declare const CheckTailRequest$inboundSchema: z.ZodType<CheckTailRequest, z.ZodTypeDef, unknown>;
|
|
18
13
|
/** @internal */
|
|
@@ -35,27 +30,4 @@ export declare namespace CheckTailRequest$ {
|
|
|
35
30
|
}
|
|
36
31
|
export declare function checkTailRequestToJSON(checkTailRequest: CheckTailRequest): string;
|
|
37
32
|
export declare function checkTailRequestFromJSON(jsonString: string): SafeParseResult<CheckTailRequest, SDKValidationError>;
|
|
38
|
-
/** @internal */
|
|
39
|
-
export declare const CheckTailResponse$inboundSchema: z.ZodType<CheckTailResponse, z.ZodTypeDef, unknown>;
|
|
40
|
-
/** @internal */
|
|
41
|
-
export type CheckTailResponse$Outbound = {
|
|
42
|
-
HttpMeta: components.HTTPMetadata$Outbound;
|
|
43
|
-
CheckTailResponse?: components.CheckTailResponse$Outbound | undefined;
|
|
44
|
-
};
|
|
45
|
-
/** @internal */
|
|
46
|
-
export declare const CheckTailResponse$outboundSchema: z.ZodType<CheckTailResponse$Outbound, z.ZodTypeDef, CheckTailResponse>;
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
50
|
-
*/
|
|
51
|
-
export declare namespace CheckTailResponse$ {
|
|
52
|
-
/** @deprecated use `CheckTailResponse$inboundSchema` instead. */
|
|
53
|
-
const inboundSchema: z.ZodType<CheckTailResponse, z.ZodTypeDef, unknown>;
|
|
54
|
-
/** @deprecated use `CheckTailResponse$outboundSchema` instead. */
|
|
55
|
-
const outboundSchema: z.ZodType<CheckTailResponse$Outbound, z.ZodTypeDef, CheckTailResponse>;
|
|
56
|
-
/** @deprecated use `CheckTailResponse$Outbound` instead. */
|
|
57
|
-
type Outbound = CheckTailResponse$Outbound;
|
|
58
|
-
}
|
|
59
|
-
export declare function checkTailResponseToJSON(checkTailResponse: CheckTailResponse): string;
|
|
60
|
-
export declare function checkTailResponseFromJSON(jsonString: string): SafeParseResult<CheckTailResponse, SDKValidationError>;
|
|
61
33
|
//# sourceMappingURL=checktail.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checktail.d.ts","sourceRoot":"","sources":["../../src/models/operations/checktail.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"checktail.d.ts","sourceRoot":"","sources":["../../src/models/operations/checktail.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,mBAAmB,mDAKtB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,yBAAyB,GAAG;IACtC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,gBAAgB,CAGhB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,iBAAiB,CAAC;IACjC,gEAAgE;IACzD,MAAM,aAAa,oDAAiC,CAAC;IAC5D,iEAAiE;IAC1D,MAAM,cAAc,sEAAkC,CAAC;IAC9D,2DAA2D;IAC3D,KAAY,QAAQ,GAAG,yBAAyB,CAAC;CAClD;AAED,wBAAgB,sBAAsB,CACpC,gBAAgB,EAAE,gBAAgB,GACjC,MAAM,CAIR;AAED,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD"}
|
|
@@ -36,15 +36,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.CheckTailRequest$ = exports.CheckTailRequest$outboundSchema = exports.CheckTailRequest$inboundSchema = exports.CheckTailServerList = void 0;
|
|
40
40
|
exports.checkTailRequestToJSON = checkTailRequestToJSON;
|
|
41
41
|
exports.checkTailRequestFromJSON = checkTailRequestFromJSON;
|
|
42
|
-
exports.checkTailResponseToJSON = checkTailResponseToJSON;
|
|
43
|
-
exports.checkTailResponseFromJSON = checkTailResponseFromJSON;
|
|
44
42
|
const z = __importStar(require("zod"));
|
|
45
|
-
const primitives_js_1 = require("../../lib/primitives.js");
|
|
46
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
47
|
-
const components = __importStar(require("../components/index.js"));
|
|
48
44
|
exports.CheckTailServerList = [
|
|
49
45
|
/**
|
|
50
46
|
* Endpoint for the basin
|
|
@@ -76,41 +72,4 @@ function checkTailRequestToJSON(checkTailRequest) {
|
|
|
76
72
|
function checkTailRequestFromJSON(jsonString) {
|
|
77
73
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CheckTailRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CheckTailRequest' from JSON`);
|
|
78
74
|
}
|
|
79
|
-
/** @internal */
|
|
80
|
-
exports.CheckTailResponse$inboundSchema = z.object({
|
|
81
|
-
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
82
|
-
CheckTailResponse: components.CheckTailResponse$inboundSchema.optional(),
|
|
83
|
-
}).transform((v) => {
|
|
84
|
-
return (0, primitives_js_1.remap)(v, {
|
|
85
|
-
"HttpMeta": "httpMeta",
|
|
86
|
-
"CheckTailResponse": "checkTailResponse",
|
|
87
|
-
});
|
|
88
|
-
});
|
|
89
|
-
/** @internal */
|
|
90
|
-
exports.CheckTailResponse$outboundSchema = z.object({
|
|
91
|
-
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
92
|
-
checkTailResponse: components.CheckTailResponse$outboundSchema.optional(),
|
|
93
|
-
}).transform((v) => {
|
|
94
|
-
return (0, primitives_js_1.remap)(v, {
|
|
95
|
-
httpMeta: "HttpMeta",
|
|
96
|
-
checkTailResponse: "CheckTailResponse",
|
|
97
|
-
});
|
|
98
|
-
});
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
102
|
-
*/
|
|
103
|
-
var CheckTailResponse$;
|
|
104
|
-
(function (CheckTailResponse$) {
|
|
105
|
-
/** @deprecated use `CheckTailResponse$inboundSchema` instead. */
|
|
106
|
-
CheckTailResponse$.inboundSchema = exports.CheckTailResponse$inboundSchema;
|
|
107
|
-
/** @deprecated use `CheckTailResponse$outboundSchema` instead. */
|
|
108
|
-
CheckTailResponse$.outboundSchema = exports.CheckTailResponse$outboundSchema;
|
|
109
|
-
})(CheckTailResponse$ || (exports.CheckTailResponse$ = CheckTailResponse$ = {}));
|
|
110
|
-
function checkTailResponseToJSON(checkTailResponse) {
|
|
111
|
-
return JSON.stringify(exports.CheckTailResponse$outboundSchema.parse(checkTailResponse));
|
|
112
|
-
}
|
|
113
|
-
function checkTailResponseFromJSON(jsonString) {
|
|
114
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CheckTailResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CheckTailResponse' from JSON`);
|
|
115
|
-
}
|
|
116
75
|
//# sourceMappingURL=checktail.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checktail.js","sourceRoot":"","sources":["../../src/models/operations/checktail.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"checktail.js","sourceRoot":"","sources":["../../src/models/operations/checktail.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDH,wDAMC;AAED,4DAQC;AAvED,uCAAyB;AACzB,qDAAiD;AAIpC,QAAA,mBAAmB,GAAG;IACjC;;OAEG;IACH,sCAAsC;CAC9B,CAAC;AASX,gBAAgB;AACH,QAAA,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,iBAAiB,CAOjC;AAPD,WAAiB,iBAAiB;IAChC,gEAAgE;IACnD,+BAAa,GAAG,sCAA8B,CAAC;IAC5D,iEAAiE;IACpD,gCAAc,GAAG,uCAA+B,CAAC;AAGhE,CAAC,EAPgB,iBAAiB,iCAAjB,iBAAiB,QAOjC;AAED,SAAgB,sBAAsB,CACpC,gBAAkC;IAElC,OAAO,IAAI,CAAC,SAAS,CACnB,uCAA+B,CAAC,KAAK,CAAC,gBAAgB,CAAC,CACxD,CAAC;AACJ,CAAC;AAED,SAAgB,wBAAwB,CACtC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sCAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AACJ,CAAC"}
|
|
@@ -10,10 +10,6 @@ export type CreateBasinRequest = {
|
|
|
10
10
|
s2RequestToken?: string | undefined;
|
|
11
11
|
createBasinRequest: components.CreateBasinRequest;
|
|
12
12
|
};
|
|
13
|
-
export type CreateBasinResponse = {
|
|
14
|
-
httpMeta: components.HTTPMetadata;
|
|
15
|
-
basinInfo?: components.BasinInfo | undefined;
|
|
16
|
-
};
|
|
17
13
|
/** @internal */
|
|
18
14
|
export declare const CreateBasinRequest$inboundSchema: z.ZodType<CreateBasinRequest, z.ZodTypeDef, unknown>;
|
|
19
15
|
/** @internal */
|
|
@@ -38,27 +34,4 @@ export declare namespace CreateBasinRequest$ {
|
|
|
38
34
|
}
|
|
39
35
|
export declare function createBasinRequestToJSON(createBasinRequest: CreateBasinRequest): string;
|
|
40
36
|
export declare function createBasinRequestFromJSON(jsonString: string): SafeParseResult<CreateBasinRequest, SDKValidationError>;
|
|
41
|
-
/** @internal */
|
|
42
|
-
export declare const CreateBasinResponse$inboundSchema: z.ZodType<CreateBasinResponse, z.ZodTypeDef, unknown>;
|
|
43
|
-
/** @internal */
|
|
44
|
-
export type CreateBasinResponse$Outbound = {
|
|
45
|
-
HttpMeta: components.HTTPMetadata$Outbound;
|
|
46
|
-
BasinInfo?: components.BasinInfo$Outbound | undefined;
|
|
47
|
-
};
|
|
48
|
-
/** @internal */
|
|
49
|
-
export declare const CreateBasinResponse$outboundSchema: z.ZodType<CreateBasinResponse$Outbound, z.ZodTypeDef, CreateBasinResponse>;
|
|
50
|
-
/**
|
|
51
|
-
* @internal
|
|
52
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
53
|
-
*/
|
|
54
|
-
export declare namespace CreateBasinResponse$ {
|
|
55
|
-
/** @deprecated use `CreateBasinResponse$inboundSchema` instead. */
|
|
56
|
-
const inboundSchema: z.ZodType<CreateBasinResponse, z.ZodTypeDef, unknown>;
|
|
57
|
-
/** @deprecated use `CreateBasinResponse$outboundSchema` instead. */
|
|
58
|
-
const outboundSchema: z.ZodType<CreateBasinResponse$Outbound, z.ZodTypeDef, CreateBasinResponse>;
|
|
59
|
-
/** @deprecated use `CreateBasinResponse$Outbound` instead. */
|
|
60
|
-
type Outbound = CreateBasinResponse$Outbound;
|
|
61
|
-
}
|
|
62
|
-
export declare function createBasinResponseToJSON(createBasinResponse: CreateBasinResponse): string;
|
|
63
|
-
export declare function createBasinResponseFromJSON(jsonString: string): SafeParseResult<CreateBasinResponse, SDKValidationError>;
|
|
64
37
|
//# sourceMappingURL=createbasin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createbasin.d.ts","sourceRoot":"","sources":["../../src/models/operations/createbasin.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,KAAK,EAAE,MAA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AC;CACpD;AAED,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AAED,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -36,11 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.CreateBasinRequest$ = exports.CreateBasinRequest$outboundSchema = exports.CreateBasinRequest$inboundSchema = void 0;
|
|
40
40
|
exports.createBasinRequestToJSON = createBasinRequestToJSON;
|
|
41
41
|
exports.createBasinRequestFromJSON = createBasinRequestFromJSON;
|
|
42
|
-
exports.createBasinResponseToJSON = createBasinResponseToJSON;
|
|
43
|
-
exports.createBasinResponseFromJSON = createBasinResponseFromJSON;
|
|
44
42
|
const z = __importStar(require("zod"));
|
|
45
43
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
46
44
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
@@ -84,41 +82,4 @@ function createBasinRequestToJSON(createBasinRequest) {
|
|
|
84
82
|
function createBasinRequestFromJSON(jsonString) {
|
|
85
83
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateBasinRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateBasinRequest' from JSON`);
|
|
86
84
|
}
|
|
87
|
-
/** @internal */
|
|
88
|
-
exports.CreateBasinResponse$inboundSchema = z.object({
|
|
89
|
-
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
90
|
-
BasinInfo: components.BasinInfo$inboundSchema.optional(),
|
|
91
|
-
}).transform((v) => {
|
|
92
|
-
return (0, primitives_js_1.remap)(v, {
|
|
93
|
-
"HttpMeta": "httpMeta",
|
|
94
|
-
"BasinInfo": "basinInfo",
|
|
95
|
-
});
|
|
96
|
-
});
|
|
97
|
-
/** @internal */
|
|
98
|
-
exports.CreateBasinResponse$outboundSchema = z.object({
|
|
99
|
-
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
100
|
-
basinInfo: components.BasinInfo$outboundSchema.optional(),
|
|
101
|
-
}).transform((v) => {
|
|
102
|
-
return (0, primitives_js_1.remap)(v, {
|
|
103
|
-
httpMeta: "HttpMeta",
|
|
104
|
-
basinInfo: "BasinInfo",
|
|
105
|
-
});
|
|
106
|
-
});
|
|
107
|
-
/**
|
|
108
|
-
* @internal
|
|
109
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
110
|
-
*/
|
|
111
|
-
var CreateBasinResponse$;
|
|
112
|
-
(function (CreateBasinResponse$) {
|
|
113
|
-
/** @deprecated use `CreateBasinResponse$inboundSchema` instead. */
|
|
114
|
-
CreateBasinResponse$.inboundSchema = exports.CreateBasinResponse$inboundSchema;
|
|
115
|
-
/** @deprecated use `CreateBasinResponse$outboundSchema` instead. */
|
|
116
|
-
CreateBasinResponse$.outboundSchema = exports.CreateBasinResponse$outboundSchema;
|
|
117
|
-
})(CreateBasinResponse$ || (exports.CreateBasinResponse$ = CreateBasinResponse$ = {}));
|
|
118
|
-
function createBasinResponseToJSON(createBasinResponse) {
|
|
119
|
-
return JSON.stringify(exports.CreateBasinResponse$outboundSchema.parse(createBasinResponse));
|
|
120
|
-
}
|
|
121
|
-
function createBasinResponseFromJSON(jsonString) {
|
|
122
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateBasinResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateBasinResponse' from JSON`);
|
|
123
|
-
}
|
|
124
85
|
//# sourceMappingURL=createbasin.js.map
|