@apideck/unify 0.13.2 → 0.13.4

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 (137) hide show
  1. package/README.md +0 -13
  2. package/docs/sdks/pipelines/README.md +0 -542
  3. package/lib/config.d.ts +3 -3
  4. package/lib/config.js +3 -3
  5. package/models/components/bill.d.ts +5 -0
  6. package/models/components/bill.d.ts.map +1 -1
  7. package/models/components/bill.js +9 -0
  8. package/models/components/bill.js.map +1 -1
  9. package/models/components/index.d.ts +0 -8
  10. package/models/components/index.d.ts.map +1 -1
  11. package/models/components/index.js +0 -8
  12. package/models/components/index.js.map +1 -1
  13. package/models/components/ledgeraccount.d.ts +5 -0
  14. package/models/components/ledgeraccount.d.ts.map +1 -1
  15. package/models/components/ledgeraccount.js +9 -0
  16. package/models/components/ledgeraccount.js.map +1 -1
  17. package/models/components/supplier.d.ts +5 -0
  18. package/models/components/supplier.d.ts.map +1 -1
  19. package/models/components/supplier.js +9 -0
  20. package/models/components/supplier.js.map +1 -1
  21. package/models/operations/index.d.ts +0 -5
  22. package/models/operations/index.d.ts.map +1 -1
  23. package/models/operations/index.js +0 -5
  24. package/models/operations/index.js.map +1 -1
  25. package/package.json +1 -1
  26. package/sdk/accounting.d.ts +0 -3
  27. package/sdk/accounting.d.ts.map +1 -1
  28. package/sdk/accounting.js +0 -4
  29. package/sdk/accounting.js.map +1 -1
  30. package/sdk/pipelines.d.ts +0 -28
  31. package/sdk/pipelines.d.ts.map +1 -1
  32. package/sdk/pipelines.js +0 -41
  33. package/sdk/pipelines.js.map +1 -1
  34. package/src/lib/config.ts +3 -3
  35. package/src/models/components/bill.ts +18 -0
  36. package/src/models/components/index.ts +0 -8
  37. package/src/models/components/ledgeraccount.ts +18 -0
  38. package/src/models/components/supplier.ts +18 -0
  39. package/src/models/operations/index.ts +0 -5
  40. package/src/sdk/accounting.ts +0 -6
  41. package/src/sdk/pipelines.ts +0 -73
  42. package/docs/sdks/agedcreditors/README.md +0 -115
  43. package/funcs/accountingAgedCreditorsGet.d.ts +0 -16
  44. package/funcs/accountingAgedCreditorsGet.d.ts.map +0 -1
  45. package/funcs/accountingAgedCreditorsGet.js +0 -122
  46. package/funcs/accountingAgedCreditorsGet.js.map +0 -1
  47. package/funcs/crmPipelinesCreate.d.ts +0 -16
  48. package/funcs/crmPipelinesCreate.d.ts.map +0 -1
  49. package/funcs/crmPipelinesCreate.js +0 -121
  50. package/funcs/crmPipelinesCreate.js.map +0 -1
  51. package/funcs/crmPipelinesDelete.d.ts +0 -16
  52. package/funcs/crmPipelinesDelete.d.ts.map +0 -1
  53. package/funcs/crmPipelinesDelete.js +0 -126
  54. package/funcs/crmPipelinesDelete.js.map +0 -1
  55. package/funcs/crmPipelinesGet.d.ts +0 -16
  56. package/funcs/crmPipelinesGet.d.ts.map +0 -1
  57. package/funcs/crmPipelinesGet.js +0 -127
  58. package/funcs/crmPipelinesGet.js.map +0 -1
  59. package/funcs/crmPipelinesUpdate.d.ts +0 -16
  60. package/funcs/crmPipelinesUpdate.d.ts.map +0 -1
  61. package/funcs/crmPipelinesUpdate.js +0 -127
  62. package/funcs/crmPipelinesUpdate.js.map +0 -1
  63. package/models/components/agedcreditors.d.ts +0 -51
  64. package/models/components/agedcreditors.d.ts.map +0 -1
  65. package/models/components/agedcreditors.js +0 -88
  66. package/models/components/agedcreditors.js.map +0 -1
  67. package/models/components/createpipelineresponse.d.ts +0 -58
  68. package/models/components/createpipelineresponse.d.ts.map +0 -1
  69. package/models/components/createpipelineresponse.js +0 -79
  70. package/models/components/createpipelineresponse.js.map +0 -1
  71. package/models/components/deletepipelineresponse.d.ts +0 -58
  72. package/models/components/deletepipelineresponse.d.ts.map +0 -1
  73. package/models/components/deletepipelineresponse.js +0 -79
  74. package/models/components/deletepipelineresponse.js.map +0 -1
  75. package/models/components/getagedcreditorsresponse.d.ts +0 -58
  76. package/models/components/getagedcreditorsresponse.d.ts.map +0 -1
  77. package/models/components/getagedcreditorsresponse.js +0 -79
  78. package/models/components/getagedcreditorsresponse.js.map +0 -1
  79. package/models/components/getpipelineresponse.d.ts +0 -58
  80. package/models/components/getpipelineresponse.d.ts.map +0 -1
  81. package/models/components/getpipelineresponse.js +0 -79
  82. package/models/components/getpipelineresponse.js.map +0 -1
  83. package/models/components/outstandingbalancebysupplier.d.ts +0 -40
  84. package/models/components/outstandingbalancebysupplier.d.ts.map +0 -1
  85. package/models/components/outstandingbalancebysupplier.js +0 -77
  86. package/models/components/outstandingbalancebysupplier.js.map +0 -1
  87. package/models/components/pipelineinput.d.ts +0 -117
  88. package/models/components/pipelineinput.d.ts.map +0 -1
  89. package/models/components/pipelineinput.js +0 -133
  90. package/models/components/pipelineinput.js.map +0 -1
  91. package/models/components/updatepipelineresponse.d.ts +0 -58
  92. package/models/components/updatepipelineresponse.d.ts.map +0 -1
  93. package/models/components/updatepipelineresponse.js +0 -79
  94. package/models/components/updatepipelineresponse.js.map +0 -1
  95. package/models/operations/accountingagedcreditorsone.d.ts +0 -125
  96. package/models/operations/accountingagedcreditorsone.d.ts.map +0 -1
  97. package/models/operations/accountingagedcreditorsone.js +0 -153
  98. package/models/operations/accountingagedcreditorsone.js.map +0 -1
  99. package/models/operations/crmpipelinesadd.d.ts +0 -108
  100. package/models/operations/crmpipelinesadd.d.ts.map +0 -1
  101. package/models/operations/crmpipelinesadd.js +0 -149
  102. package/models/operations/crmpipelinesadd.js.map +0 -1
  103. package/models/operations/crmpipelinesdelete.d.ts +0 -111
  104. package/models/operations/crmpipelinesdelete.d.ts.map +0 -1
  105. package/models/operations/crmpipelinesdelete.js +0 -141
  106. package/models/operations/crmpipelinesdelete.js.map +0 -1
  107. package/models/operations/crmpipelinesone.d.ts +0 -116
  108. package/models/operations/crmpipelinesone.d.ts.map +0 -1
  109. package/models/operations/crmpipelinesone.js +0 -141
  110. package/models/operations/crmpipelinesone.js.map +0 -1
  111. package/models/operations/crmpipelinesupdate.d.ts +0 -113
  112. package/models/operations/crmpipelinesupdate.d.ts.map +0 -1
  113. package/models/operations/crmpipelinesupdate.js +0 -151
  114. package/models/operations/crmpipelinesupdate.js.map +0 -1
  115. package/sdk/agedcreditors.d.ts +0 -12
  116. package/sdk/agedcreditors.d.ts.map +0 -1
  117. package/sdk/agedcreditors.js +0 -22
  118. package/sdk/agedcreditors.js.map +0 -1
  119. package/src/funcs/accountingAgedCreditorsGet.ts +0 -193
  120. package/src/funcs/crmPipelinesCreate.ts +0 -179
  121. package/src/funcs/crmPipelinesDelete.ts +0 -185
  122. package/src/funcs/crmPipelinesGet.ts +0 -186
  123. package/src/funcs/crmPipelinesUpdate.ts +0 -186
  124. package/src/models/components/agedcreditors.ts +0 -120
  125. package/src/models/components/createpipelineresponse.ts +0 -119
  126. package/src/models/components/deletepipelineresponse.ts +0 -119
  127. package/src/models/components/getagedcreditorsresponse.ts +0 -119
  128. package/src/models/components/getpipelineresponse.ts +0 -119
  129. package/src/models/components/outstandingbalancebysupplier.ts +0 -109
  130. package/src/models/components/pipelineinput.ts +0 -233
  131. package/src/models/components/updatepipelineresponse.ts +0 -119
  132. package/src/models/operations/accountingagedcreditorsone.ts +0 -277
  133. package/src/models/operations/crmpipelinesadd.ts +0 -250
  134. package/src/models/operations/crmpipelinesdelete.ts +0 -245
  135. package/src/models/operations/crmpipelinesone.ts +0 -248
  136. package/src/models/operations/crmpipelinesupdate.ts +0 -257
  137. 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 updated
7
- */
8
- export type UpdatePipelineResponse = {
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 UpdatePipelineResponse$inboundSchema: z.ZodType<UpdatePipelineResponse, z.ZodTypeDef, unknown>;
33
- /** @internal */
34
- export type UpdatePipelineResponse$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 UpdatePipelineResponse$outboundSchema: z.ZodType<UpdatePipelineResponse$Outbound, z.ZodTypeDef, UpdatePipelineResponse>;
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 UpdatePipelineResponse$ {
49
- /** @deprecated use `UpdatePipelineResponse$inboundSchema` instead. */
50
- const inboundSchema: z.ZodType<UpdatePipelineResponse, z.ZodTypeDef, unknown>;
51
- /** @deprecated use `UpdatePipelineResponse$outboundSchema` instead. */
52
- const outboundSchema: z.ZodType<UpdatePipelineResponse$Outbound, z.ZodTypeDef, UpdatePipelineResponse>;
53
- /** @deprecated use `UpdatePipelineResponse$Outbound` instead. */
54
- type Outbound = UpdatePipelineResponse$Outbound;
55
- }
56
- export declare function updatePipelineResponseToJSON(updatePipelineResponse: UpdatePipelineResponse): string;
57
- export declare function updatePipelineResponseFromJSON(jsonString: string): SafeParseResult<UpdatePipelineResponse, SDKValidationError>;
58
- //# sourceMappingURL=updatepipelineresponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updatepipelineresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/updatepipelineresponse.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,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
- "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.UpdatePipelineResponse$ = exports.UpdatePipelineResponse$outboundSchema = exports.UpdatePipelineResponse$inboundSchema = void 0;
30
- exports.updatePipelineResponseToJSON = updatePipelineResponseToJSON;
31
- exports.updatePipelineResponseFromJSON = updatePipelineResponseFromJSON;
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.UpdatePipelineResponse$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.UpdatePipelineResponse$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 UpdatePipelineResponse$;
67
- (function (UpdatePipelineResponse$) {
68
- /** @deprecated use `UpdatePipelineResponse$inboundSchema` instead. */
69
- UpdatePipelineResponse$.inboundSchema = exports.UpdatePipelineResponse$inboundSchema;
70
- /** @deprecated use `UpdatePipelineResponse$outboundSchema` instead. */
71
- UpdatePipelineResponse$.outboundSchema = exports.UpdatePipelineResponse$outboundSchema;
72
- })(UpdatePipelineResponse$ || (exports.UpdatePipelineResponse$ = UpdatePipelineResponse$ = {}));
73
- function updatePipelineResponseToJSON(updatePipelineResponse) {
74
- return JSON.stringify(exports.UpdatePipelineResponse$outboundSchema.parse(updatePipelineResponse));
75
- }
76
- function updatePipelineResponseFromJSON(jsonString) {
77
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdatePipelineResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdatePipelineResponse' from JSON`);
78
- }
79
- //# sourceMappingURL=updatepipelineresponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updatepipelineresponse.js","sourceRoot":"","sources":["../../src/models/components/updatepipelineresponse.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,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A8B,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,125 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import * as components from "../components/index.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- export type AccountingAgedCreditorsOneGlobals = {
6
- /**
7
- * ID of the consumer which you want to get or push data from
8
- */
9
- consumerId?: string | undefined;
10
- /**
11
- * The ID of your Unify application
12
- */
13
- appId?: string | undefined;
14
- };
15
- export type AccountingAgedCreditorsOneRequest = {
16
- /**
17
- * Include raw response. Mostly used for debugging purposes
18
- */
19
- raw?: boolean | undefined;
20
- /**
21
- * Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
22
- */
23
- serviceId?: string | undefined;
24
- /**
25
- * Apply filters
26
- */
27
- filter?: components.AgedReportFilter | undefined;
28
- /**
29
- * Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads
30
- */
31
- passThrough?: {
32
- [k: string]: any;
33
- } | undefined;
34
- /**
35
- * The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.
36
- */
37
- fields?: string | null | undefined;
38
- };
39
- export type AccountingAgedCreditorsOneResponse = {
40
- httpMeta: components.HTTPMetadata;
41
- /**
42
- * Aged Creditors
43
- */
44
- getAgedCreditorsResponse?: components.GetAgedCreditorsResponse | undefined;
45
- /**
46
- * Unexpected error
47
- */
48
- unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined;
49
- };
50
- /** @internal */
51
- export declare const AccountingAgedCreditorsOneGlobals$inboundSchema: z.ZodType<AccountingAgedCreditorsOneGlobals, z.ZodTypeDef, unknown>;
52
- /** @internal */
53
- export type AccountingAgedCreditorsOneGlobals$Outbound = {
54
- consumerId?: string | undefined;
55
- appId?: string | undefined;
56
- };
57
- /** @internal */
58
- export declare const AccountingAgedCreditorsOneGlobals$outboundSchema: z.ZodType<AccountingAgedCreditorsOneGlobals$Outbound, z.ZodTypeDef, AccountingAgedCreditorsOneGlobals>;
59
- /**
60
- * @internal
61
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
62
- */
63
- export declare namespace AccountingAgedCreditorsOneGlobals$ {
64
- /** @deprecated use `AccountingAgedCreditorsOneGlobals$inboundSchema` instead. */
65
- const inboundSchema: z.ZodType<AccountingAgedCreditorsOneGlobals, z.ZodTypeDef, unknown>;
66
- /** @deprecated use `AccountingAgedCreditorsOneGlobals$outboundSchema` instead. */
67
- const outboundSchema: z.ZodType<AccountingAgedCreditorsOneGlobals$Outbound, z.ZodTypeDef, AccountingAgedCreditorsOneGlobals>;
68
- /** @deprecated use `AccountingAgedCreditorsOneGlobals$Outbound` instead. */
69
- type Outbound = AccountingAgedCreditorsOneGlobals$Outbound;
70
- }
71
- export declare function accountingAgedCreditorsOneGlobalsToJSON(accountingAgedCreditorsOneGlobals: AccountingAgedCreditorsOneGlobals): string;
72
- export declare function accountingAgedCreditorsOneGlobalsFromJSON(jsonString: string): SafeParseResult<AccountingAgedCreditorsOneGlobals, SDKValidationError>;
73
- /** @internal */
74
- export declare const AccountingAgedCreditorsOneRequest$inboundSchema: z.ZodType<AccountingAgedCreditorsOneRequest, z.ZodTypeDef, unknown>;
75
- /** @internal */
76
- export type AccountingAgedCreditorsOneRequest$Outbound = {
77
- raw: boolean;
78
- serviceId?: string | undefined;
79
- filter?: components.AgedReportFilter$Outbound | undefined;
80
- pass_through?: {
81
- [k: string]: any;
82
- } | undefined;
83
- fields?: string | null | undefined;
84
- };
85
- /** @internal */
86
- export declare const AccountingAgedCreditorsOneRequest$outboundSchema: z.ZodType<AccountingAgedCreditorsOneRequest$Outbound, z.ZodTypeDef, AccountingAgedCreditorsOneRequest>;
87
- /**
88
- * @internal
89
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
90
- */
91
- export declare namespace AccountingAgedCreditorsOneRequest$ {
92
- /** @deprecated use `AccountingAgedCreditorsOneRequest$inboundSchema` instead. */
93
- const inboundSchema: z.ZodType<AccountingAgedCreditorsOneRequest, z.ZodTypeDef, unknown>;
94
- /** @deprecated use `AccountingAgedCreditorsOneRequest$outboundSchema` instead. */
95
- const outboundSchema: z.ZodType<AccountingAgedCreditorsOneRequest$Outbound, z.ZodTypeDef, AccountingAgedCreditorsOneRequest>;
96
- /** @deprecated use `AccountingAgedCreditorsOneRequest$Outbound` instead. */
97
- type Outbound = AccountingAgedCreditorsOneRequest$Outbound;
98
- }
99
- export declare function accountingAgedCreditorsOneRequestToJSON(accountingAgedCreditorsOneRequest: AccountingAgedCreditorsOneRequest): string;
100
- export declare function accountingAgedCreditorsOneRequestFromJSON(jsonString: string): SafeParseResult<AccountingAgedCreditorsOneRequest, SDKValidationError>;
101
- /** @internal */
102
- export declare const AccountingAgedCreditorsOneResponse$inboundSchema: z.ZodType<AccountingAgedCreditorsOneResponse, z.ZodTypeDef, unknown>;
103
- /** @internal */
104
- export type AccountingAgedCreditorsOneResponse$Outbound = {
105
- HttpMeta: components.HTTPMetadata$Outbound;
106
- GetAgedCreditorsResponse?: components.GetAgedCreditorsResponse$Outbound | undefined;
107
- UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined;
108
- };
109
- /** @internal */
110
- export declare const AccountingAgedCreditorsOneResponse$outboundSchema: z.ZodType<AccountingAgedCreditorsOneResponse$Outbound, z.ZodTypeDef, AccountingAgedCreditorsOneResponse>;
111
- /**
112
- * @internal
113
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
114
- */
115
- export declare namespace AccountingAgedCreditorsOneResponse$ {
116
- /** @deprecated use `AccountingAgedCreditorsOneResponse$inboundSchema` instead. */
117
- const inboundSchema: z.ZodType<AccountingAgedCreditorsOneResponse, z.ZodTypeDef, unknown>;
118
- /** @deprecated use `AccountingAgedCreditorsOneResponse$outboundSchema` instead. */
119
- const outboundSchema: z.ZodType<AccountingAgedCreditorsOneResponse$Outbound, z.ZodTypeDef, AccountingAgedCreditorsOneResponse>;
120
- /** @deprecated use `AccountingAgedCreditorsOneResponse$Outbound` instead. */
121
- type Outbound = AccountingAgedCreditorsOneResponse$Outbound;
122
- }
123
- export declare function accountingAgedCreditorsOneResponseToJSON(accountingAgedCreditorsOneResponse: AccountingAgedCreditorsOneResponse): string;
124
- export declare function accountingAgedCreditorsOneResponseFromJSON(jsonString: string): SafeParseResult<AccountingAgedCreditorsOneResponse, SDKValidationError>;
125
- //# sourceMappingURL=accountingagedcreditorsone.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"accountingagedcreditorsone.d.ts","sourceRoot":"","sources":["../../src/models/operations/accountingagedcreditorsone.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,iCAAiC,GAAG;IAC9C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,iCAAiC,GAAG;IAC9C;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,SAA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AChB,MAAM,MAAM,2CAA2C,GAAG;IACxD,QAAQ,EAAE,UAAU,CAAC,qBAAqB,CAAC;IAC3C,wBAAwB,CAAC,EACrB,UAAU,CAAC,iCAAiC,GAC5C,SAAS,CAAC;IACd,uBAAuB,CAAC,EACpB,UAAU,CAAC,gCAAgC,GAC3C,SAAS,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,OAAO,CACvE,2CAA2C,EAC3C,CAAC,CAAC,UAAU,EACZ,kCAAkC,CAalC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,mCAAmC,CAAC;IACnD,kFAAkF;IAC3E,MAAM,aAAa,sEAAmD,CAAC;IAC9E,mFAAmF;IAC5E,MAAM,cAAc,0GACwB,CAAC;IACpD,6EAA6E;IAC7E,KAAY,QAAQ,GAAG,2CAA2C,CAAC;CACpE;AAED,wBAAgB,wCAAwC,CACtD,kCAAkC,EAAE,kCAAkC,GACrE,MAAM,CAMR;AAED,wBAAgB,0CAA0C,CACxD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kCAAkC,EAAE,kBAAkB,CAAC,CAOzE"}
@@ -1,153 +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.AccountingAgedCreditorsOneResponse$ = exports.AccountingAgedCreditorsOneResponse$outboundSchema = exports.AccountingAgedCreditorsOneResponse$inboundSchema = exports.AccountingAgedCreditorsOneRequest$ = exports.AccountingAgedCreditorsOneRequest$outboundSchema = exports.AccountingAgedCreditorsOneRequest$inboundSchema = exports.AccountingAgedCreditorsOneGlobals$ = exports.AccountingAgedCreditorsOneGlobals$outboundSchema = exports.AccountingAgedCreditorsOneGlobals$inboundSchema = void 0;
30
- exports.accountingAgedCreditorsOneGlobalsToJSON = accountingAgedCreditorsOneGlobalsToJSON;
31
- exports.accountingAgedCreditorsOneGlobalsFromJSON = accountingAgedCreditorsOneGlobalsFromJSON;
32
- exports.accountingAgedCreditorsOneRequestToJSON = accountingAgedCreditorsOneRequestToJSON;
33
- exports.accountingAgedCreditorsOneRequestFromJSON = accountingAgedCreditorsOneRequestFromJSON;
34
- exports.accountingAgedCreditorsOneResponseToJSON = accountingAgedCreditorsOneResponseToJSON;
35
- exports.accountingAgedCreditorsOneResponseFromJSON = accountingAgedCreditorsOneResponseFromJSON;
36
- const z = __importStar(require("zod"));
37
- const primitives_js_1 = require("../../lib/primitives.js");
38
- const schemas_js_1 = require("../../lib/schemas.js");
39
- const components = __importStar(require("../components/index.js"));
40
- /** @internal */
41
- exports.AccountingAgedCreditorsOneGlobals$inboundSchema = z.object({
42
- consumerId: z.string().optional(),
43
- appId: z.string().optional(),
44
- });
45
- /** @internal */
46
- exports.AccountingAgedCreditorsOneGlobals$outboundSchema = z.object({
47
- consumerId: z.string().optional(),
48
- appId: z.string().optional(),
49
- });
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
- var AccountingAgedCreditorsOneGlobals$;
55
- (function (AccountingAgedCreditorsOneGlobals$) {
56
- /** @deprecated use `AccountingAgedCreditorsOneGlobals$inboundSchema` instead. */
57
- AccountingAgedCreditorsOneGlobals$.inboundSchema = exports.AccountingAgedCreditorsOneGlobals$inboundSchema;
58
- /** @deprecated use `AccountingAgedCreditorsOneGlobals$outboundSchema` instead. */
59
- AccountingAgedCreditorsOneGlobals$.outboundSchema = exports.AccountingAgedCreditorsOneGlobals$outboundSchema;
60
- })(AccountingAgedCreditorsOneGlobals$ || (exports.AccountingAgedCreditorsOneGlobals$ = AccountingAgedCreditorsOneGlobals$ = {}));
61
- function accountingAgedCreditorsOneGlobalsToJSON(accountingAgedCreditorsOneGlobals) {
62
- return JSON.stringify(exports.AccountingAgedCreditorsOneGlobals$outboundSchema.parse(accountingAgedCreditorsOneGlobals));
63
- }
64
- function accountingAgedCreditorsOneGlobalsFromJSON(jsonString) {
65
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingAgedCreditorsOneGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingAgedCreditorsOneGlobals' from JSON`);
66
- }
67
- /** @internal */
68
- exports.AccountingAgedCreditorsOneRequest$inboundSchema = z.object({
69
- raw: z.boolean().default(false),
70
- serviceId: z.string().optional(),
71
- filter: components.AgedReportFilter$inboundSchema.optional(),
72
- pass_through: z.record(z.any()).optional(),
73
- fields: z.nullable(z.string()).optional(),
74
- }).transform((v) => {
75
- return (0, primitives_js_1.remap)(v, {
76
- "pass_through": "passThrough",
77
- });
78
- });
79
- /** @internal */
80
- exports.AccountingAgedCreditorsOneRequest$outboundSchema = z.object({
81
- raw: z.boolean().default(false),
82
- serviceId: z.string().optional(),
83
- filter: components.AgedReportFilter$outboundSchema.optional(),
84
- passThrough: z.record(z.any()).optional(),
85
- fields: z.nullable(z.string()).optional(),
86
- }).transform((v) => {
87
- return (0, primitives_js_1.remap)(v, {
88
- passThrough: "pass_through",
89
- });
90
- });
91
- /**
92
- * @internal
93
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
94
- */
95
- var AccountingAgedCreditorsOneRequest$;
96
- (function (AccountingAgedCreditorsOneRequest$) {
97
- /** @deprecated use `AccountingAgedCreditorsOneRequest$inboundSchema` instead. */
98
- AccountingAgedCreditorsOneRequest$.inboundSchema = exports.AccountingAgedCreditorsOneRequest$inboundSchema;
99
- /** @deprecated use `AccountingAgedCreditorsOneRequest$outboundSchema` instead. */
100
- AccountingAgedCreditorsOneRequest$.outboundSchema = exports.AccountingAgedCreditorsOneRequest$outboundSchema;
101
- })(AccountingAgedCreditorsOneRequest$ || (exports.AccountingAgedCreditorsOneRequest$ = AccountingAgedCreditorsOneRequest$ = {}));
102
- function accountingAgedCreditorsOneRequestToJSON(accountingAgedCreditorsOneRequest) {
103
- return JSON.stringify(exports.AccountingAgedCreditorsOneRequest$outboundSchema.parse(accountingAgedCreditorsOneRequest));
104
- }
105
- function accountingAgedCreditorsOneRequestFromJSON(jsonString) {
106
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingAgedCreditorsOneRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingAgedCreditorsOneRequest' from JSON`);
107
- }
108
- /** @internal */
109
- exports.AccountingAgedCreditorsOneResponse$inboundSchema = z.object({
110
- HttpMeta: components.HTTPMetadata$inboundSchema,
111
- GetAgedCreditorsResponse: components.GetAgedCreditorsResponse$inboundSchema
112
- .optional(),
113
- UnexpectedErrorResponse: components.UnexpectedErrorResponse$inboundSchema
114
- .optional(),
115
- }).transform((v) => {
116
- return (0, primitives_js_1.remap)(v, {
117
- "HttpMeta": "httpMeta",
118
- "GetAgedCreditorsResponse": "getAgedCreditorsResponse",
119
- "UnexpectedErrorResponse": "unexpectedErrorResponse",
120
- });
121
- });
122
- /** @internal */
123
- exports.AccountingAgedCreditorsOneResponse$outboundSchema = z.object({
124
- httpMeta: components.HTTPMetadata$outboundSchema,
125
- getAgedCreditorsResponse: components.GetAgedCreditorsResponse$outboundSchema
126
- .optional(),
127
- unexpectedErrorResponse: components.UnexpectedErrorResponse$outboundSchema
128
- .optional(),
129
- }).transform((v) => {
130
- return (0, primitives_js_1.remap)(v, {
131
- httpMeta: "HttpMeta",
132
- getAgedCreditorsResponse: "GetAgedCreditorsResponse",
133
- unexpectedErrorResponse: "UnexpectedErrorResponse",
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 AccountingAgedCreditorsOneResponse$;
141
- (function (AccountingAgedCreditorsOneResponse$) {
142
- /** @deprecated use `AccountingAgedCreditorsOneResponse$inboundSchema` instead. */
143
- AccountingAgedCreditorsOneResponse$.inboundSchema = exports.AccountingAgedCreditorsOneResponse$inboundSchema;
144
- /** @deprecated use `AccountingAgedCreditorsOneResponse$outboundSchema` instead. */
145
- AccountingAgedCreditorsOneResponse$.outboundSchema = exports.AccountingAgedCreditorsOneResponse$outboundSchema;
146
- })(AccountingAgedCreditorsOneResponse$ || (exports.AccountingAgedCreditorsOneResponse$ = AccountingAgedCreditorsOneResponse$ = {}));
147
- function accountingAgedCreditorsOneResponseToJSON(accountingAgedCreditorsOneResponse) {
148
- return JSON.stringify(exports.AccountingAgedCreditorsOneResponse$outboundSchema.parse(accountingAgedCreditorsOneResponse));
149
- }
150
- function accountingAgedCreditorsOneResponseFromJSON(jsonString) {
151
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingAgedCreditorsOneResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingAgedCreditorsOneResponse' from JSON`);
152
- }
153
- //# sourceMappingURL=accountingagedcreditorsone.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"accountingagedcreditorsone.js","sourceRoot":"","sources":["../../src/models/operations/accountingagedcreditorsone.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;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AE,0BAA0B;QACpD,uBAAuB,EAAE,yBAAyB;KACnD,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,mCAAmC,CAQnD;AARD,WAAiB,mCAAmC;IAClD,kFAAkF;IACrE,iDAAa,GAAG,wDAAgD,CAAC;IAC9E,mFAAmF;IACtE,kDAAc,GACzB,yDAAiD,CAAC;AAGtD,CAAC,EARgB,mCAAmC,mDAAnC,mCAAmC,QAQnD;AAED,SAAgB,wCAAwC,CACtD,kCAAsE;IAEtE,OAAO,IAAI,CAAC,SAAS,CACnB,yDAAiD,CAAC,KAAK,CACrD,kCAAkC,CACnC,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,0CAA0C,CACxD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,wDAAgD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,gEAAgE,CACjE,CAAC;AACJ,CAAC"}
@@ -1,108 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import * as components from "../components/index.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- export type CrmPipelinesAddGlobals = {
6
- /**
7
- * ID of the consumer which you want to get or push data from
8
- */
9
- consumerId?: string | undefined;
10
- /**
11
- * The ID of your Unify application
12
- */
13
- appId?: string | undefined;
14
- };
15
- export type CrmPipelinesAddRequest = {
16
- /**
17
- * Include raw response. Mostly used for debugging purposes
18
- */
19
- raw?: boolean | undefined;
20
- /**
21
- * Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
22
- */
23
- serviceId?: string | undefined;
24
- pipeline: components.PipelineInput;
25
- };
26
- export type CrmPipelinesAddResponse = {
27
- httpMeta: components.HTTPMetadata;
28
- /**
29
- * Pipeline created
30
- */
31
- createPipelineResponse?: components.CreatePipelineResponse | undefined;
32
- /**
33
- * Unexpected error
34
- */
35
- unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined;
36
- };
37
- /** @internal */
38
- export declare const CrmPipelinesAddGlobals$inboundSchema: z.ZodType<CrmPipelinesAddGlobals, z.ZodTypeDef, unknown>;
39
- /** @internal */
40
- export type CrmPipelinesAddGlobals$Outbound = {
41
- consumerId?: string | undefined;
42
- appId?: string | undefined;
43
- };
44
- /** @internal */
45
- export declare const CrmPipelinesAddGlobals$outboundSchema: z.ZodType<CrmPipelinesAddGlobals$Outbound, z.ZodTypeDef, CrmPipelinesAddGlobals>;
46
- /**
47
- * @internal
48
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
49
- */
50
- export declare namespace CrmPipelinesAddGlobals$ {
51
- /** @deprecated use `CrmPipelinesAddGlobals$inboundSchema` instead. */
52
- const inboundSchema: z.ZodType<CrmPipelinesAddGlobals, z.ZodTypeDef, unknown>;
53
- /** @deprecated use `CrmPipelinesAddGlobals$outboundSchema` instead. */
54
- const outboundSchema: z.ZodType<CrmPipelinesAddGlobals$Outbound, z.ZodTypeDef, CrmPipelinesAddGlobals>;
55
- /** @deprecated use `CrmPipelinesAddGlobals$Outbound` instead. */
56
- type Outbound = CrmPipelinesAddGlobals$Outbound;
57
- }
58
- export declare function crmPipelinesAddGlobalsToJSON(crmPipelinesAddGlobals: CrmPipelinesAddGlobals): string;
59
- export declare function crmPipelinesAddGlobalsFromJSON(jsonString: string): SafeParseResult<CrmPipelinesAddGlobals, SDKValidationError>;
60
- /** @internal */
61
- export declare const CrmPipelinesAddRequest$inboundSchema: z.ZodType<CrmPipelinesAddRequest, z.ZodTypeDef, unknown>;
62
- /** @internal */
63
- export type CrmPipelinesAddRequest$Outbound = {
64
- raw: boolean;
65
- serviceId?: string | undefined;
66
- Pipeline: components.PipelineInput$Outbound;
67
- };
68
- /** @internal */
69
- export declare const CrmPipelinesAddRequest$outboundSchema: z.ZodType<CrmPipelinesAddRequest$Outbound, z.ZodTypeDef, CrmPipelinesAddRequest>;
70
- /**
71
- * @internal
72
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
73
- */
74
- export declare namespace CrmPipelinesAddRequest$ {
75
- /** @deprecated use `CrmPipelinesAddRequest$inboundSchema` instead. */
76
- const inboundSchema: z.ZodType<CrmPipelinesAddRequest, z.ZodTypeDef, unknown>;
77
- /** @deprecated use `CrmPipelinesAddRequest$outboundSchema` instead. */
78
- const outboundSchema: z.ZodType<CrmPipelinesAddRequest$Outbound, z.ZodTypeDef, CrmPipelinesAddRequest>;
79
- /** @deprecated use `CrmPipelinesAddRequest$Outbound` instead. */
80
- type Outbound = CrmPipelinesAddRequest$Outbound;
81
- }
82
- export declare function crmPipelinesAddRequestToJSON(crmPipelinesAddRequest: CrmPipelinesAddRequest): string;
83
- export declare function crmPipelinesAddRequestFromJSON(jsonString: string): SafeParseResult<CrmPipelinesAddRequest, SDKValidationError>;
84
- /** @internal */
85
- export declare const CrmPipelinesAddResponse$inboundSchema: z.ZodType<CrmPipelinesAddResponse, z.ZodTypeDef, unknown>;
86
- /** @internal */
87
- export type CrmPipelinesAddResponse$Outbound = {
88
- HttpMeta: components.HTTPMetadata$Outbound;
89
- CreatePipelineResponse?: components.CreatePipelineResponse$Outbound | undefined;
90
- UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined;
91
- };
92
- /** @internal */
93
- export declare const CrmPipelinesAddResponse$outboundSchema: z.ZodType<CrmPipelinesAddResponse$Outbound, z.ZodTypeDef, CrmPipelinesAddResponse>;
94
- /**
95
- * @internal
96
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
97
- */
98
- export declare namespace CrmPipelinesAddResponse$ {
99
- /** @deprecated use `CrmPipelinesAddResponse$inboundSchema` instead. */
100
- const inboundSchema: z.ZodType<CrmPipelinesAddResponse, z.ZodTypeDef, unknown>;
101
- /** @deprecated use `CrmPipelinesAddResponse$outboundSchema` instead. */
102
- const outboundSchema: z.ZodType<CrmPipelinesAddResponse$Outbound, z.ZodTypeDef, CrmPipelinesAddResponse>;
103
- /** @deprecated use `CrmPipelinesAddResponse$Outbound` instead. */
104
- type Outbound = CrmPipelinesAddResponse$Outbound;
105
- }
106
- export declare function crmPipelinesAddResponseToJSON(crmPipelinesAddResponse: CrmPipelinesAddResponse): string;
107
- export declare function crmPipelinesAddResponseFromJSON(jsonString: string): SafeParseResult<CrmPipelinesAddResponse, SDKValidationError>;
108
- //# sourceMappingURL=crmpipelinesadd.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crmpipelinesadd.d.ts","sourceRoot":"","sources":["../../src/models/operations/crmpipelinesadd.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,sBAAsB,GAAG;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,EAAE,UAAU,CAAC,aAAa,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,UAAU,CAAC,YAAY,CAAC;IAClC;;OAEG;IACH,sBAAsB,CAAC,EAAE,UAAU,CAAC,sBAAsB,GAAG,SAAS,CAAC;IACvE;;OAEG;IACH,uBAAuB,CAAC,EAAE,UAAU,CAAC,uBAAuB,GAAG,SAAS,CAA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