@apideck/unify 0.13.1 → 0.13.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 (166) hide show
  1. package/README.md +0 -13
  2. package/docs/sdks/ageddebtors/README.md +2 -0
  3. package/docs/sdks/pipelines/README.md +0 -542
  4. package/lib/config.d.ts +2 -2
  5. package/lib/config.js +2 -2
  6. package/models/components/ageddebtors.d.ts +3 -3
  7. package/models/components/ageddebtors.d.ts.map +1 -1
  8. package/models/components/ageddebtors.js +5 -3
  9. package/models/components/ageddebtors.js.map +1 -1
  10. package/models/components/agedreportfilter.d.ts +5 -0
  11. package/models/components/agedreportfilter.d.ts.map +1 -1
  12. package/models/components/agedreportfilter.js +4 -0
  13. package/models/components/agedreportfilter.js.map +1 -1
  14. package/models/components/balancebyperiod.d.ts +6 -6
  15. package/models/components/balancebyperiod.d.ts.map +1 -1
  16. package/models/components/balancebyperiod.js +6 -4
  17. package/models/components/balancebyperiod.js.map +1 -1
  18. package/models/components/balancebytransaction.d.ts +8 -3
  19. package/models/components/balancebytransaction.d.ts.map +1 -1
  20. package/models/components/balancebytransaction.js +5 -1
  21. package/models/components/balancebytransaction.js.map +1 -1
  22. package/models/components/bill.d.ts +5 -0
  23. package/models/components/bill.d.ts.map +1 -1
  24. package/models/components/bill.js +9 -0
  25. package/models/components/bill.js.map +1 -1
  26. package/models/components/index.d.ts +1 -8
  27. package/models/components/index.d.ts.map +1 -1
  28. package/models/components/index.js +1 -8
  29. package/models/components/index.js.map +1 -1
  30. package/models/components/ledgeraccount.d.ts +5 -0
  31. package/models/components/ledgeraccount.d.ts.map +1 -1
  32. package/models/components/ledgeraccount.js +9 -0
  33. package/models/components/ledgeraccount.js.map +1 -1
  34. package/models/components/outstandingbalancebycurrency.d.ts +5 -0
  35. package/models/components/outstandingbalancebycurrency.d.ts.map +1 -1
  36. package/models/components/outstandingbalancebycurrency.js +4 -0
  37. package/models/components/outstandingbalancebycurrency.js.map +1 -1
  38. package/models/components/outstandingbalancebycustomer.d.ts +40 -0
  39. package/models/components/outstandingbalancebycustomer.d.ts.map +1 -0
  40. package/models/components/{outstandingbalance.js → outstandingbalancebycustomer.js} +17 -17
  41. package/models/components/outstandingbalancebycustomer.js.map +1 -0
  42. package/models/components/supplier.d.ts +5 -0
  43. package/models/components/supplier.d.ts.map +1 -1
  44. package/models/components/supplier.js +9 -0
  45. package/models/components/supplier.js.map +1 -1
  46. package/models/operations/index.d.ts +0 -5
  47. package/models/operations/index.d.ts.map +1 -1
  48. package/models/operations/index.js +0 -5
  49. package/models/operations/index.js.map +1 -1
  50. package/package.json +1 -1
  51. package/sdk/accounting.d.ts +0 -3
  52. package/sdk/accounting.d.ts.map +1 -1
  53. package/sdk/accounting.js +0 -4
  54. package/sdk/accounting.js.map +1 -1
  55. package/sdk/pipelines.d.ts +0 -28
  56. package/sdk/pipelines.d.ts.map +1 -1
  57. package/sdk/pipelines.js +0 -41
  58. package/sdk/pipelines.js.map +1 -1
  59. package/src/lib/config.ts +2 -2
  60. package/src/models/components/ageddebtors.ts +13 -9
  61. package/src/models/components/agedreportfilter.ts +9 -0
  62. package/src/models/components/balancebyperiod.ts +12 -10
  63. package/src/models/components/balancebytransaction.ts +10 -1
  64. package/src/models/components/bill.ts +18 -0
  65. package/src/models/components/index.ts +1 -8
  66. package/src/models/components/ledgeraccount.ts +18 -0
  67. package/src/models/components/outstandingbalancebycurrency.ts +9 -0
  68. package/src/models/components/{outstandingbalance.ts → outstandingbalancebycustomer.ts} +25 -23
  69. package/src/models/components/supplier.ts +18 -0
  70. package/src/models/operations/index.ts +0 -5
  71. package/src/sdk/accounting.ts +0 -6
  72. package/src/sdk/pipelines.ts +0 -73
  73. package/docs/sdks/agedcreditors/README.md +0 -113
  74. package/funcs/accountingAgedCreditorsGet.d.ts +0 -16
  75. package/funcs/accountingAgedCreditorsGet.d.ts.map +0 -1
  76. package/funcs/accountingAgedCreditorsGet.js +0 -122
  77. package/funcs/accountingAgedCreditorsGet.js.map +0 -1
  78. package/funcs/crmPipelinesCreate.d.ts +0 -16
  79. package/funcs/crmPipelinesCreate.d.ts.map +0 -1
  80. package/funcs/crmPipelinesCreate.js +0 -121
  81. package/funcs/crmPipelinesCreate.js.map +0 -1
  82. package/funcs/crmPipelinesDelete.d.ts +0 -16
  83. package/funcs/crmPipelinesDelete.d.ts.map +0 -1
  84. package/funcs/crmPipelinesDelete.js +0 -126
  85. package/funcs/crmPipelinesDelete.js.map +0 -1
  86. package/funcs/crmPipelinesGet.d.ts +0 -16
  87. package/funcs/crmPipelinesGet.d.ts.map +0 -1
  88. package/funcs/crmPipelinesGet.js +0 -127
  89. package/funcs/crmPipelinesGet.js.map +0 -1
  90. package/funcs/crmPipelinesUpdate.d.ts +0 -16
  91. package/funcs/crmPipelinesUpdate.d.ts.map +0 -1
  92. package/funcs/crmPipelinesUpdate.js +0 -127
  93. package/funcs/crmPipelinesUpdate.js.map +0 -1
  94. package/models/components/agedcreditors.d.ts +0 -51
  95. package/models/components/agedcreditors.d.ts.map +0 -1
  96. package/models/components/agedcreditors.js +0 -86
  97. package/models/components/agedcreditors.js.map +0 -1
  98. package/models/components/createpipelineresponse.d.ts +0 -58
  99. package/models/components/createpipelineresponse.d.ts.map +0 -1
  100. package/models/components/createpipelineresponse.js +0 -79
  101. package/models/components/createpipelineresponse.js.map +0 -1
  102. package/models/components/deletepipelineresponse.d.ts +0 -58
  103. package/models/components/deletepipelineresponse.d.ts.map +0 -1
  104. package/models/components/deletepipelineresponse.js +0 -79
  105. package/models/components/deletepipelineresponse.js.map +0 -1
  106. package/models/components/getagedcreditorsresponse.d.ts +0 -58
  107. package/models/components/getagedcreditorsresponse.d.ts.map +0 -1
  108. package/models/components/getagedcreditorsresponse.js +0 -79
  109. package/models/components/getagedcreditorsresponse.js.map +0 -1
  110. package/models/components/getpipelineresponse.d.ts +0 -58
  111. package/models/components/getpipelineresponse.d.ts.map +0 -1
  112. package/models/components/getpipelineresponse.js +0 -79
  113. package/models/components/getpipelineresponse.js.map +0 -1
  114. package/models/components/outstandingbalance.d.ts +0 -40
  115. package/models/components/outstandingbalance.d.ts.map +0 -1
  116. package/models/components/outstandingbalance.js.map +0 -1
  117. package/models/components/pipelineinput.d.ts +0 -117
  118. package/models/components/pipelineinput.d.ts.map +0 -1
  119. package/models/components/pipelineinput.js +0 -133
  120. package/models/components/pipelineinput.js.map +0 -1
  121. package/models/components/updatepipelineresponse.d.ts +0 -58
  122. package/models/components/updatepipelineresponse.d.ts.map +0 -1
  123. package/models/components/updatepipelineresponse.js +0 -79
  124. package/models/components/updatepipelineresponse.js.map +0 -1
  125. package/models/operations/accountingagedcreditorsone.d.ts +0 -125
  126. package/models/operations/accountingagedcreditorsone.d.ts.map +0 -1
  127. package/models/operations/accountingagedcreditorsone.js +0 -153
  128. package/models/operations/accountingagedcreditorsone.js.map +0 -1
  129. package/models/operations/crmpipelinesadd.d.ts +0 -108
  130. package/models/operations/crmpipelinesadd.d.ts.map +0 -1
  131. package/models/operations/crmpipelinesadd.js +0 -149
  132. package/models/operations/crmpipelinesadd.js.map +0 -1
  133. package/models/operations/crmpipelinesdelete.d.ts +0 -111
  134. package/models/operations/crmpipelinesdelete.d.ts.map +0 -1
  135. package/models/operations/crmpipelinesdelete.js +0 -141
  136. package/models/operations/crmpipelinesdelete.js.map +0 -1
  137. package/models/operations/crmpipelinesone.d.ts +0 -116
  138. package/models/operations/crmpipelinesone.d.ts.map +0 -1
  139. package/models/operations/crmpipelinesone.js +0 -141
  140. package/models/operations/crmpipelinesone.js.map +0 -1
  141. package/models/operations/crmpipelinesupdate.d.ts +0 -113
  142. package/models/operations/crmpipelinesupdate.d.ts.map +0 -1
  143. package/models/operations/crmpipelinesupdate.js +0 -151
  144. package/models/operations/crmpipelinesupdate.js.map +0 -1
  145. package/sdk/agedcreditors.d.ts +0 -12
  146. package/sdk/agedcreditors.d.ts.map +0 -1
  147. package/sdk/agedcreditors.js +0 -22
  148. package/sdk/agedcreditors.js.map +0 -1
  149. package/src/funcs/accountingAgedCreditorsGet.ts +0 -193
  150. package/src/funcs/crmPipelinesCreate.ts +0 -179
  151. package/src/funcs/crmPipelinesDelete.ts +0 -185
  152. package/src/funcs/crmPipelinesGet.ts +0 -186
  153. package/src/funcs/crmPipelinesUpdate.ts +0 -186
  154. package/src/models/components/agedcreditors.ts +0 -116
  155. package/src/models/components/createpipelineresponse.ts +0 -119
  156. package/src/models/components/deletepipelineresponse.ts +0 -119
  157. package/src/models/components/getagedcreditorsresponse.ts +0 -119
  158. package/src/models/components/getpipelineresponse.ts +0 -119
  159. package/src/models/components/pipelineinput.ts +0 -233
  160. package/src/models/components/updatepipelineresponse.ts +0 -119
  161. package/src/models/operations/accountingagedcreditorsone.ts +0 -277
  162. package/src/models/operations/crmpipelinesadd.ts +0 -250
  163. package/src/models/operations/crmpipelinesdelete.ts +0 -245
  164. package/src/models/operations/crmpipelinesone.ts +0 -248
  165. package/src/models/operations/crmpipelinesupdate.ts +0 -257
  166. package/src/sdk/agedcreditors.ts +0 -27
@@ -1,58 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- import { UnifiedId, UnifiedId$Outbound } from "./unifiedid.js";
5
- /**
6
- * Pipeline created
7
- */
8
- export type CreatePipelineResponse = {
9
- /**
10
- * HTTP Response Status Code
11
- */
12
- statusCode: number;
13
- /**
14
- * HTTP Response Status
15
- */
16
- status: string;
17
- /**
18
- * Apideck ID of service provider
19
- */
20
- service: string;
21
- /**
22
- * Unified API resource name
23
- */
24
- resource: string;
25
- /**
26
- * Operation performed
27
- */
28
- operation: string;
29
- data: UnifiedId;
30
- };
31
- /** @internal */
32
- export declare const CreatePipelineResponse$inboundSchema: z.ZodType<CreatePipelineResponse, z.ZodTypeDef, unknown>;
33
- /** @internal */
34
- export type CreatePipelineResponse$Outbound = {
35
- status_code: number;
36
- status: string;
37
- service: string;
38
- resource: string;
39
- operation: string;
40
- data: UnifiedId$Outbound;
41
- };
42
- /** @internal */
43
- export declare const CreatePipelineResponse$outboundSchema: z.ZodType<CreatePipelineResponse$Outbound, z.ZodTypeDef, CreatePipelineResponse>;
44
- /**
45
- * @internal
46
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
47
- */
48
- export declare namespace CreatePipelineResponse$ {
49
- /** @deprecated use `CreatePipelineResponse$inboundSchema` instead. */
50
- const inboundSchema: z.ZodType<CreatePipelineResponse, z.ZodTypeDef, unknown>;
51
- /** @deprecated use `CreatePipelineResponse$outboundSchema` instead. */
52
- const outboundSchema: z.ZodType<CreatePipelineResponse$Outbound, z.ZodTypeDef, CreatePipelineResponse>;
53
- /** @deprecated use `CreatePipelineResponse$Outbound` instead. */
54
- type Outbound = CreatePipelineResponse$Outbound;
55
- }
56
- export declare function createPipelineResponseToJSON(createPipelineResponse: CreatePipelineResponse): string;
57
- export declare function createPipelineResponseFromJSON(jsonString: string): SafeParseResult<CreatePipelineResponse, SDKValidationError>;
58
- //# sourceMappingURL=createpipelineresponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createpipelineresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/createpipelineresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,SAAS,EAET,kBAAkB,EAEnB,MAAM,gBAAgB,CAAC;AAExB;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,OAAO,CAYP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,kBAAkB,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,sBAAsB,CAYtB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,uBAAuB,CAAC;IACvC,sEAAsE;IAC/D,MAAM,aAAa,0DAAuC,CAAC;IAClE,uEAAuE;IAChE,MAAM,cAAc,kFAAwC,CAAC;IACpE,iEAAiE;IACjE,KAAY,QAAQ,GAAG,+BAA+B,CAAC;CACxD;AAED,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AAED,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
@@ -1,79 +0,0 @@
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 (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.CreatePipelineResponse$ = exports.CreatePipelineResponse$outboundSchema = exports.CreatePipelineResponse$inboundSchema = void 0;
30
- exports.createPipelineResponseToJSON = createPipelineResponseToJSON;
31
- exports.createPipelineResponseFromJSON = createPipelineResponseFromJSON;
32
- const z = __importStar(require("zod"));
33
- const primitives_js_1 = require("../../lib/primitives.js");
34
- const schemas_js_1 = require("../../lib/schemas.js");
35
- const unifiedid_js_1 = require("./unifiedid.js");
36
- /** @internal */
37
- exports.CreatePipelineResponse$inboundSchema = z.object({
38
- status_code: z.number().int(),
39
- status: z.string(),
40
- service: z.string(),
41
- resource: z.string(),
42
- operation: z.string(),
43
- data: unifiedid_js_1.UnifiedId$inboundSchema,
44
- }).transform((v) => {
45
- return (0, primitives_js_1.remap)(v, {
46
- "status_code": "statusCode",
47
- });
48
- });
49
- /** @internal */
50
- exports.CreatePipelineResponse$outboundSchema = z.object({
51
- statusCode: z.number().int(),
52
- status: z.string(),
53
- service: z.string(),
54
- resource: z.string(),
55
- operation: z.string(),
56
- data: unifiedid_js_1.UnifiedId$outboundSchema,
57
- }).transform((v) => {
58
- return (0, primitives_js_1.remap)(v, {
59
- statusCode: "status_code",
60
- });
61
- });
62
- /**
63
- * @internal
64
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
65
- */
66
- var CreatePipelineResponse$;
67
- (function (CreatePipelineResponse$) {
68
- /** @deprecated use `CreatePipelineResponse$inboundSchema` instead. */
69
- CreatePipelineResponse$.inboundSchema = exports.CreatePipelineResponse$inboundSchema;
70
- /** @deprecated use `CreatePipelineResponse$outboundSchema` instead. */
71
- CreatePipelineResponse$.outboundSchema = exports.CreatePipelineResponse$outboundSchema;
72
- })(CreatePipelineResponse$ || (exports.CreatePipelineResponse$ = CreatePipelineResponse$ = {}));
73
- function createPipelineResponseToJSON(createPipelineResponse) {
74
- return JSON.stringify(exports.CreatePipelineResponse$outboundSchema.parse(createPipelineResponse));
75
- }
76
- function createPipelineResponseFromJSON(jsonString) {
77
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreatePipelineResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePipelineResponse' from JSON`);
78
- }
79
- //# sourceMappingURL=createpipelineresponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createpipelineresponse.js","sourceRoot":"","sources":["../../src/models/components/createpipelineresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAoGH,oEAMC;AAED,wEAQC;AAlHD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,iDAKwB;AA6BxB,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC7B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,sCAAuB;CAC9B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,aAAa,EAAE,YAAY;KAC5B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAYH,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC5B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,uCAAwB;CAC/B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,aAAa;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,uBAAuB,CAOvC;AAPD,WAAiB,uBAAuB;IACtC,sEAAsE;IACzD,qCAAa,GAAG,4CAAoC,CAAC;IAClE,uEAAuE;IAC1D,sCAAc,GAAG,6CAAqC,CAAC;AAGtE,CAAC,EAPgB,uBAAuB,uCAAvB,uBAAuB,QAOvC;AAED,SAAgB,4BAA4B,CAC1C,sBAA8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,6CAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AACJ,CAAC;AAED,SAAgB,8BAA8B,CAC5C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AACJ,CAAC"}
@@ -1,58 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- import { UnifiedId, UnifiedId$Outbound } from "./unifiedid.js";
5
- /**
6
- * Pipeline deleted
7
- */
8
- export type DeletePipelineResponse = {
9
- /**
10
- * HTTP Response Status Code
11
- */
12
- statusCode: number;
13
- /**
14
- * HTTP Response Status
15
- */
16
- status: string;
17
- /**
18
- * Apideck ID of service provider
19
- */
20
- service: string;
21
- /**
22
- * Unified API resource name
23
- */
24
- resource: string;
25
- /**
26
- * Operation performed
27
- */
28
- operation: string;
29
- data: UnifiedId;
30
- };
31
- /** @internal */
32
- export declare const DeletePipelineResponse$inboundSchema: z.ZodType<DeletePipelineResponse, z.ZodTypeDef, unknown>;
33
- /** @internal */
34
- export type DeletePipelineResponse$Outbound = {
35
- status_code: number;
36
- status: string;
37
- service: string;
38
- resource: string;
39
- operation: string;
40
- data: UnifiedId$Outbound;
41
- };
42
- /** @internal */
43
- export declare const DeletePipelineResponse$outboundSchema: z.ZodType<DeletePipelineResponse$Outbound, z.ZodTypeDef, DeletePipelineResponse>;
44
- /**
45
- * @internal
46
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
47
- */
48
- export declare namespace DeletePipelineResponse$ {
49
- /** @deprecated use `DeletePipelineResponse$inboundSchema` instead. */
50
- const inboundSchema: z.ZodType<DeletePipelineResponse, z.ZodTypeDef, unknown>;
51
- /** @deprecated use `DeletePipelineResponse$outboundSchema` instead. */
52
- const outboundSchema: z.ZodType<DeletePipelineResponse$Outbound, z.ZodTypeDef, DeletePipelineResponse>;
53
- /** @deprecated use `DeletePipelineResponse$Outbound` instead. */
54
- type Outbound = DeletePipelineResponse$Outbound;
55
- }
56
- export declare function deletePipelineResponseToJSON(deletePipelineResponse: DeletePipelineResponse): string;
57
- export declare function deletePipelineResponseFromJSON(jsonString: string): SafeParseResult<DeletePipelineResponse, SDKValidationError>;
58
- //# sourceMappingURL=deletepipelineresponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"deletepipelineresponse.d.ts","sourceRoot":"","sources":["../../src/models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GAAG,+BAA+B,CAAC;CACxD;AAED,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AAED,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
@@ -1,79 +0,0 @@
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 (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.DeletePipelineResponse$ = exports.DeletePipelineResponse$outboundSchema = exports.DeletePipelineResponse$inboundSchema = void 0;
30
- exports.deletePipelineResponseToJSON = deletePipelineResponseToJSON;
31
- exports.deletePipelineResponseFromJSON = deletePipelineResponseFromJSON;
32
- const z = __importStar(require("zod"));
33
- const primitives_js_1 = require("../../lib/primitives.js");
34
- const schemas_js_1 = require("../../lib/schemas.js");
35
- const unifiedid_js_1 = require("./unifiedid.js");
36
- /** @internal */
37
- exports.DeletePipelineResponse$inboundSchema = z.object({
38
- status_code: z.number().int(),
39
- status: z.string(),
40
- service: z.string(),
41
- resource: z.string(),
42
- operation: z.string(),
43
- data: unifiedid_js_1.UnifiedId$inboundSchema,
44
- }).transform((v) => {
45
- return (0, primitives_js_1.remap)(v, {
46
- "status_code": "statusCode",
47
- });
48
- });
49
- /** @internal */
50
- exports.DeletePipelineResponse$outboundSchema = z.object({
51
- statusCode: z.number().int(),
52
- status: z.string(),
53
- service: z.string(),
54
- resource: z.string(),
55
- operation: z.string(),
56
- data: unifiedid_js_1.UnifiedId$outboundSchema,
57
- }).transform((v) => {
58
- return (0, primitives_js_1.remap)(v, {
59
- statusCode: "status_code",
60
- });
61
- });
62
- /**
63
- * @internal
64
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
65
- */
66
- var DeletePipelineResponse$;
67
- (function (DeletePipelineResponse$) {
68
- /** @deprecated use `DeletePipelineResponse$inboundSchema` instead. */
69
- DeletePipelineResponse$.inboundSchema = exports.DeletePipelineResponse$inboundSchema;
70
- /** @deprecated use `DeletePipelineResponse$outboundSchema` instead. */
71
- DeletePipelineResponse$.outboundSchema = exports.DeletePipelineResponse$outboundSchema;
72
- })(DeletePipelineResponse$ || (exports.DeletePipelineResponse$ = DeletePipelineResponse$ = {}));
73
- function deletePipelineResponseToJSON(deletePipelineResponse) {
74
- return JSON.stringify(exports.DeletePipelineResponse$outboundSchema.parse(deletePipelineResponse));
75
- }
76
- function deletePipelineResponseFromJSON(jsonString) {
77
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeletePipelineResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeletePipelineResponse' from JSON`);
78
- }
79
- //# sourceMappingURL=deletepipelineresponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"deletepipelineresponse.js","sourceRoot":"","sources":["../../src/models/components/deletepipelineresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;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AAC,EAPgB,uBAAuB,uCAAvB,uBAAuB,QAOvC;AAED,SAAgB,4BAA4B,CAC1C,sBAA8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,6CAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AACJ,CAAC;AAED,SAAgB,8BAA8B,CAC5C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AACJ,CAAC"}
@@ -1,58 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- import { AgedCreditors, AgedCreditors$Outbound } from "./agedcreditors.js";
5
- /**
6
- * Aged Creditors
7
- */
8
- export type GetAgedCreditorsResponse = {
9
- /**
10
- * HTTP Response Status Code
11
- */
12
- statusCode: number;
13
- /**
14
- * HTTP Response Status
15
- */
16
- status: string;
17
- /**
18
- * Apideck ID of service provider
19
- */
20
- service: string;
21
- /**
22
- * Unified API resource name
23
- */
24
- resource: string;
25
- /**
26
- * Operation performed
27
- */
28
- operation: string;
29
- data: AgedCreditors;
30
- };
31
- /** @internal */
32
- export declare const GetAgedCreditorsResponse$inboundSchema: z.ZodType<GetAgedCreditorsResponse, z.ZodTypeDef, unknown>;
33
- /** @internal */
34
- export type GetAgedCreditorsResponse$Outbound = {
35
- status_code: number;
36
- status: string;
37
- service: string;
38
- resource: string;
39
- operation: string;
40
- data: AgedCreditors$Outbound;
41
- };
42
- /** @internal */
43
- export declare const GetAgedCreditorsResponse$outboundSchema: z.ZodType<GetAgedCreditorsResponse$Outbound, z.ZodTypeDef, GetAgedCreditorsResponse>;
44
- /**
45
- * @internal
46
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
47
- */
48
- export declare namespace GetAgedCreditorsResponse$ {
49
- /** @deprecated use `GetAgedCreditorsResponse$inboundSchema` instead. */
50
- const inboundSchema: z.ZodType<GetAgedCreditorsResponse, z.ZodTypeDef, unknown>;
51
- /** @deprecated use `GetAgedCreditorsResponse$outboundSchema` instead. */
52
- const outboundSchema: z.ZodType<GetAgedCreditorsResponse$Outbound, z.ZodTypeDef, GetAgedCreditorsResponse>;
53
- /** @deprecated use `GetAgedCreditorsResponse$Outbound` instead. */
54
- type Outbound = GetAgedCreditorsResponse$Outbound;
55
- }
56
- export declare function getAgedCreditorsResponseToJSON(getAgedCreditorsResponse: GetAgedCreditorsResponse): string;
57
- export declare function getAgedCreditorsResponseFromJSON(jsonString: string): SafeParseResult<GetAgedCreditorsResponse, SDKValidationError>;
58
- //# sourceMappingURL=getagedcreditorsresponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getagedcreditorsresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getagedcreditorsresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,aAAa,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,OAAO,CAYP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,iCAAiC,GAAG;IAC9C,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,sBAAsB,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,wBAAwB,CAYxB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,yBAAyB,CAAC;IACzC,wEAAwE;IACjE,MAAM,aAAa,4DAAyC,CAAC;IACpE,yEAAyE;IAClE,MAAM,cAAc,sFAA0C,CAAC;IACtE,mEAAmE;IACnE,KAAY,QAAQ,GAAG,iCAAiC,CAAC;CAC1D;AAED,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR;AAED,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
@@ -1,79 +0,0 @@
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 (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.GetAgedCreditorsResponse$ = exports.GetAgedCreditorsResponse$outboundSchema = exports.GetAgedCreditorsResponse$inboundSchema = void 0;
30
- exports.getAgedCreditorsResponseToJSON = getAgedCreditorsResponseToJSON;
31
- exports.getAgedCreditorsResponseFromJSON = getAgedCreditorsResponseFromJSON;
32
- const z = __importStar(require("zod"));
33
- const primitives_js_1 = require("../../lib/primitives.js");
34
- const schemas_js_1 = require("../../lib/schemas.js");
35
- const agedcreditors_js_1 = require("./agedcreditors.js");
36
- /** @internal */
37
- exports.GetAgedCreditorsResponse$inboundSchema = z.object({
38
- status_code: z.number().int(),
39
- status: z.string(),
40
- service: z.string(),
41
- resource: z.string(),
42
- operation: z.string(),
43
- data: agedcreditors_js_1.AgedCreditors$inboundSchema,
44
- }).transform((v) => {
45
- return (0, primitives_js_1.remap)(v, {
46
- "status_code": "statusCode",
47
- });
48
- });
49
- /** @internal */
50
- exports.GetAgedCreditorsResponse$outboundSchema = z.object({
51
- statusCode: z.number().int(),
52
- status: z.string(),
53
- service: z.string(),
54
- resource: z.string(),
55
- operation: z.string(),
56
- data: agedcreditors_js_1.AgedCreditors$outboundSchema,
57
- }).transform((v) => {
58
- return (0, primitives_js_1.remap)(v, {
59
- statusCode: "status_code",
60
- });
61
- });
62
- /**
63
- * @internal
64
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
65
- */
66
- var GetAgedCreditorsResponse$;
67
- (function (GetAgedCreditorsResponse$) {
68
- /** @deprecated use `GetAgedCreditorsResponse$inboundSchema` instead. */
69
- GetAgedCreditorsResponse$.inboundSchema = exports.GetAgedCreditorsResponse$inboundSchema;
70
- /** @deprecated use `GetAgedCreditorsResponse$outboundSchema` instead. */
71
- GetAgedCreditorsResponse$.outboundSchema = exports.GetAgedCreditorsResponse$outboundSchema;
72
- })(GetAgedCreditorsResponse$ || (exports.GetAgedCreditorsResponse$ = GetAgedCreditorsResponse$ = {}));
73
- function getAgedCreditorsResponseToJSON(getAgedCreditorsResponse) {
74
- return JSON.stringify(exports.GetAgedCreditorsResponse$outboundSchema.parse(getAgedCreditorsResponse));
75
- }
76
- function getAgedCreditorsResponseFromJSON(jsonString) {
77
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAgedCreditorsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAgedCreditorsResponse' from JSON`);
78
- }
79
- //# sourceMappingURL=getagedcreditorsresponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getagedcreditorsresponse.js","sourceRoot":"","sources":["../../src/models/components/getagedcreditorsresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAoGH,wEAMC;AAED,4EAQC;AAlHD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,yDAK4B;AA6B5B,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC7B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,8CAA2B;CAClC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,aAAa,EAAE,YAAY;KAC5B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAYH,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC5B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,+CAA4B;CACnC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,aAAa;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,yBAAyB,CAOzC;AAPD,WAAiB,yBAAyB;IACxC,wEAAwE;IAC3D,uCAAa,GAAG,8CAAsC,CAAC;IACpE,yEAAyE;IAC5D,wCAAc,GAAG,+CAAuC,CAAC;AAGxE,CAAC,EAPgB,yBAAyB,yCAAzB,yBAAyB,QAOzC;AAED,SAAgB,8BAA8B,CAC5C,wBAAkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,+CAAuC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CACxE,CAAC;AACJ,CAAC;AAED,SAAgB,gCAAgC,CAC9C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8CAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AACJ,CAAC"}
@@ -1,58 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- import { Pipeline, Pipeline$Outbound } from "./pipeline.js";
5
- /**
6
- * Pipeline
7
- */
8
- export type GetPipelineResponse = {
9
- /**
10
- * HTTP Response Status Code
11
- */
12
- statusCode: number;
13
- /**
14
- * HTTP Response Status
15
- */
16
- status: string;
17
- /**
18
- * Apideck ID of service provider
19
- */
20
- service: string;
21
- /**
22
- * Unified API resource name
23
- */
24
- resource: string;
25
- /**
26
- * Operation performed
27
- */
28
- operation: string;
29
- data: Pipeline;
30
- };
31
- /** @internal */
32
- export declare const GetPipelineResponse$inboundSchema: z.ZodType<GetPipelineResponse, z.ZodTypeDef, unknown>;
33
- /** @internal */
34
- export type GetPipelineResponse$Outbound = {
35
- status_code: number;
36
- status: string;
37
- service: string;
38
- resource: string;
39
- operation: string;
40
- data: Pipeline$Outbound;
41
- };
42
- /** @internal */
43
- export declare const GetPipelineResponse$outboundSchema: z.ZodType<GetPipelineResponse$Outbound, z.ZodTypeDef, GetPipelineResponse>;
44
- /**
45
- * @internal
46
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
47
- */
48
- export declare namespace GetPipelineResponse$ {
49
- /** @deprecated use `GetPipelineResponse$inboundSchema` instead. */
50
- const inboundSchema: z.ZodType<GetPipelineResponse, z.ZodTypeDef, unknown>;
51
- /** @deprecated use `GetPipelineResponse$outboundSchema` instead. */
52
- const outboundSchema: z.ZodType<GetPipelineResponse$Outbound, z.ZodTypeDef, GetPipelineResponse>;
53
- /** @deprecated use `GetPipelineResponse$Outbound` instead. */
54
- type Outbound = GetPipelineResponse$Outbound;
55
- }
56
- export declare function getPipelineResponseToJSON(getPipelineResponse: GetPipelineResponse): string;
57
- export declare function getPipelineResponseFromJSON(jsonString: string): SafeParseResult<GetPipelineResponse, SDKValidationError>;
58
- //# sourceMappingURL=getpipelineresponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getpipelineresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getpipelineresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,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mB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
@@ -1,79 +0,0 @@
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 (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.GetPipelineResponse$ = exports.GetPipelineResponse$outboundSchema = exports.GetPipelineResponse$inboundSchema = void 0;
30
- exports.getPipelineResponseToJSON = getPipelineResponseToJSON;
31
- exports.getPipelineResponseFromJSON = getPipelineResponseFromJSON;
32
- const z = __importStar(require("zod"));
33
- const primitives_js_1 = require("../../lib/primitives.js");
34
- const schemas_js_1 = require("../../lib/schemas.js");
35
- const pipeline_js_1 = require("./pipeline.js");
36
- /** @internal */
37
- exports.GetPipelineResponse$inboundSchema = z.object({
38
- status_code: z.number().int(),
39
- status: z.string(),
40
- service: z.string(),
41
- resource: z.string(),
42
- operation: z.string(),
43
- data: pipeline_js_1.Pipeline$inboundSchema,
44
- }).transform((v) => {
45
- return (0, primitives_js_1.remap)(v, {
46
- "status_code": "statusCode",
47
- });
48
- });
49
- /** @internal */
50
- exports.GetPipelineResponse$outboundSchema = z.object({
51
- statusCode: z.number().int(),
52
- status: z.string(),
53
- service: z.string(),
54
- resource: z.string(),
55
- operation: z.string(),
56
- data: pipeline_js_1.Pipeline$outboundSchema,
57
- }).transform((v) => {
58
- return (0, primitives_js_1.remap)(v, {
59
- statusCode: "status_code",
60
- });
61
- });
62
- /**
63
- * @internal
64
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
65
- */
66
- var GetPipelineResponse$;
67
- (function (GetPipelineResponse$) {
68
- /** @deprecated use `GetPipelineResponse$inboundSchema` instead. */
69
- GetPipelineResponse$.inboundSchema = exports.GetPipelineResponse$inboundSchema;
70
- /** @deprecated use `GetPipelineResponse$outboundSchema` instead. */
71
- GetPipelineResponse$.outboundSchema = exports.GetPipelineResponse$outboundSchema;
72
- })(GetPipelineResponse$ || (exports.GetPipelineResponse$ = GetPipelineResponse$ = {}));
73
- function getPipelineResponseToJSON(getPipelineResponse) {
74
- return JSON.stringify(exports.GetPipelineResponse$outboundSchema.parse(getPipelineResponse));
75
- }
76
- function getPipelineResponseFromJSON(jsonString) {
77
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetPipelineResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPipelineResponse' from JSON`);
78
- }
79
- //# sourceMappingURL=getpipelineresponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getpipelineresponse.js","sourceRoot":"","sources":["../../src/models/components/getpipelineresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAoGH,8DAMC;AAED,kEAQC;AAlHD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,+CAKuB;AA6BvB,gBAAgB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S,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC;AAED,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
@@ -1,40 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- import { OutstandingBalanceByCurrency, OutstandingBalanceByCurrency$Outbound } from "./outstandingbalancebycurrency.js";
5
- export type OutstandingBalance = {
6
- /**
7
- * Unique identifier for the customer or supplier.
8
- */
9
- customerId?: string | undefined;
10
- /**
11
- * Full name of the customer or supplier.
12
- */
13
- customerName?: string | undefined;
14
- outstandingBalancesByCurrency?: Array<OutstandingBalanceByCurrency> | undefined;
15
- };
16
- /** @internal */
17
- export declare const OutstandingBalance$inboundSchema: z.ZodType<OutstandingBalance, z.ZodTypeDef, unknown>;
18
- /** @internal */
19
- export type OutstandingBalance$Outbound = {
20
- customer_id?: string | undefined;
21
- customer_name?: string | undefined;
22
- outstanding_balances_by_currency?: Array<OutstandingBalanceByCurrency$Outbound> | undefined;
23
- };
24
- /** @internal */
25
- export declare const OutstandingBalance$outboundSchema: z.ZodType<OutstandingBalance$Outbound, z.ZodTypeDef, OutstandingBalance>;
26
- /**
27
- * @internal
28
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
29
- */
30
- export declare namespace OutstandingBalance$ {
31
- /** @deprecated use `OutstandingBalance$inboundSchema` instead. */
32
- const inboundSchema: z.ZodType<OutstandingBalance, z.ZodTypeDef, unknown>;
33
- /** @deprecated use `OutstandingBalance$outboundSchema` instead. */
34
- const outboundSchema: z.ZodType<OutstandingBalance$Outbound, z.ZodTypeDef, OutstandingBalance>;
35
- /** @deprecated use `OutstandingBalance$Outbound` instead. */
36
- type Outbound = OutstandingBalance$Outbound;
37
- }
38
- export declare function outstandingBalanceToJSON(outstandingBalance: OutstandingBalance): string;
39
- export declare function outstandingBalanceFromJSON(jsonString: string): SafeParseResult<OutstandingBalance, SDKValidationError>;
40
- //# sourceMappingURL=outstandingbalance.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"outstandingbalance.d.ts","sourceRoot":"","sources":["../../src/models/components/outstandingbalance.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,4BAA4B,EAE5B,qCAAqC,EAEtC,MAAM,mCAAmC,CAAC;AAE3C,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,6BAA6B,CAAC,EAC1B,KAAK,CAAC,4BAA4B,CAAC,GACnC,SAAS,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAaP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,gCAAgC,CAAC,EAC7B,KAAK,CAAC,qCAAqC,CAAC,GAC5C,SAAS,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CAalB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,mBAAmB,CAAC;IACnC,kEAAkE;IAC3D,MAAM,aAAa,sDAAmC,CAAC;IAC9D,mEAAmE;IAC5D,MAAM,cAAc,0EAAoC,CAAC;IAChE,6DAA6D;IAC7D,KAAY,QAAQ,GAAG,2BAA2B,CAAC;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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"outstandingbalance.js","sourceRoot":"","sources":["../../src/models/components/outstandingbalance.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAwFH,4DAMC;AAED,gEAQC;AAtGD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,uFAK2C;AAgB3C,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,gCAAgC,EAAE,CAAC,CAAC,KAAK,CACvC,4EAA0C,CAC3C,CAAC,QAAQ,EAAE;CACb,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,aAAa,EAAE,YAAY;QAC3B,eAAe,EAAE,cAAc;QAC/B,kCAAkC,EAAE,+BAA+B;KACpE,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAWH,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CA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