@epilot/pricing-client 1.8.0 → 1.11.0

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/src/openapi.d.ts DELETED
@@ -1,772 +0,0 @@
1
- /* eslint-disable */
2
- import type {
3
- OpenAPIClient,
4
- Parameters,
5
- UnknownParamsObject,
6
- OperationResponse,
7
- AxiosRequestConfig,
8
- } from 'openapi-client-axios';
9
-
10
- declare namespace Components {
11
- namespace Schemas {
12
- export interface Address {
13
- [name: string]: any;
14
- /**
15
- * The first line of the address. Typically the street address or PO Box number.
16
- */
17
- street?: string;
18
- /**
19
- * The second line of the address. Typically the number of the apartment, suite, or unit.
20
- */
21
- street_number?: string;
22
- /**
23
- * The postal code for the address.
24
- */
25
- postal_code?: string;
26
- /**
27
- * The name of the city, district, village, or town.
28
- */
29
- city?: string;
30
- /**
31
- * The two-letter code for the country of the address.
32
- */
33
- country?: string;
34
- /**
35
- * An additional description for the address
36
- */
37
- additional_info?: string;
38
- }
39
- export type BillingPeriod = "weekly" | "monthly" | "every_quarter" | "every_6_months" | "yearly" | "one_time";
40
- /**
41
- * Supports shopping for products and services until ready for checkout.
42
- */
43
- export interface Cart {
44
- /**
45
- * The cart identifier
46
- */
47
- id?: string;
48
- /**
49
- * The user's Organization Id the cart belongs to
50
- */
51
- org_id?: string;
52
- /**
53
- * The status of the Cart:
54
- * - open - the cart checkout is still in progress. Payment processing has not started
55
- * - complete - the cart checkout is complete. Payment processing may still be in progress
56
- * - expired - the cart checkout has expired. No further processing will occur
57
- *
58
- */
59
- status?: "open" | "complete" | "expired";
60
- customer?: Customer;
61
- billing_address?: Address;
62
- delivery_address?: Address;
63
- metadata?: /* A set of key-value pairs. */ MetaData;
64
- line_items?: /* Tracks a set of product prices, quantities, (discounts) and taxes. */ PriceItems;
65
- /**
66
- * Total of all items before (discounts or) taxes are applied.
67
- */
68
- amount_subtotal?: number;
69
- /**
70
- * Total of all items after (discounts and) taxes are applied.
71
- */
72
- amount_total?: number;
73
- total_details?: /* The total details with tax (and discount) aggregated totals. */ TotalDetails;
74
- created_at?: string; // date-time
75
- updated_at?: string; // date-time
76
- }
77
- /**
78
- * A valid cart payload from a client.
79
- */
80
- export interface CartDto {
81
- metadata?: /* A set of key-value pairs. */ MetaData;
82
- customer?: Customer;
83
- billing_address?: Address;
84
- delivery_address?: Address;
85
- payment_method?: /**
86
- * A PaymentMethod represent your customer's payment instruments.
87
- *
88
- */
89
- PaymentMethod;
90
- line_items: /* A valid set of product prices, quantities, (discounts) and taxes from a client. */ PriceItemsDto;
91
- /**
92
- * An array of file IDs, already upload into the File API, that are related with this cart
93
- */
94
- files?: string[];
95
- status?: /* The order status */ OrderStatus;
96
- tags?: string[];
97
- journey_data?: {
98
- [name: string]: any;
99
- };
100
- }
101
- /**
102
- * A catalog search payload
103
- * example:
104
- * {
105
- * "q": "_id:1233432 OR _id:123432454 OR _id:23445433",
106
- * "sort": "description ASC",
107
- * "from": 0,
108
- * "size": 200
109
- * }
110
- */
111
- export interface CatalogSearch {
112
- /**
113
- * The query to perform using lucene query syntax.
114
- */
115
- q: string;
116
- /**
117
- * The sort expression to sort the results.
118
- */
119
- sort?: string;
120
- /**
121
- * The index from which to query, used for pagination purposes. Defaults to 0
122
- */
123
- from?: number;
124
- /**
125
- * The max size of the response, defaults to 2000.
126
- */
127
- size?: number;
128
- /**
129
- * When true, enables entity hydration to resolve nested $relation references in-place.
130
- */
131
- hydrate?: boolean;
132
- }
133
- /**
134
- * The query result payload
135
- * example:
136
- * {
137
- * "hits": 2,
138
- * "results": [
139
- * {
140
- * "schema": "product",
141
- * "description": "product a"
142
- * },
143
- * {
144
- * "schema": "price",
145
- * "unit_amount_decimal": "124.342343434"
146
- * }
147
- * ]
148
- * }
149
- */
150
- export interface CatalogSearchResult {
151
- /**
152
- * The number os results returned.
153
- */
154
- hits?: number;
155
- results?: (/* The product configuration */ Product | /* The price configuration */ Price)[];
156
- }
157
- /**
158
- * The cart checkout request payload
159
- */
160
- export interface CheckoutCart {
161
- cart?: string | /* A valid cart payload from a client. */ CartDto;
162
- mode?: /* The checkout mode for the cart checkout. */ CheckoutMode;
163
- }
164
- /**
165
- * The cart checkout result
166
- */
167
- export interface CheckoutCartResult {
168
- order?: /* The order entity */ Order;
169
- }
170
- /**
171
- * The checkout mode for the cart checkout.
172
- */
173
- export type CheckoutMode = "create_order" | "create_invoice" | "create_quote";
174
- /**
175
- * Three-letter ISO currency code, in lowercase. Must be a supported currency.
176
- * ISO 4217 CURRENCY CODES as specified in the documentation: https://www.iso.org/iso-4217-currency-codes.html
177
- *
178
- */
179
- export type Currency = string;
180
- export interface Customer {
181
- first_name?: string;
182
- last_name?: string;
183
- company_name?: string;
184
- vat_id?: string;
185
- /**
186
- * A valid email identifying the customer.
187
- */
188
- email?: string;
189
- phone?: string;
190
- }
191
- export interface Error {
192
- /**
193
- * Error message
194
- */
195
- message: string;
196
- }
197
- /**
198
- * A set of key-value pairs.
199
- */
200
- export type MetaData = ({
201
- /**
202
- * Item key
203
- */
204
- key?: string;
205
- /**
206
- * Item value
207
- */
208
- value?: string;
209
- })[];
210
- /**
211
- * The opportunity entity
212
- */
213
- export interface Opportunity {
214
- [name: string]: any;
215
- /**
216
- * The opportunity id number for the customer (autogenerated if left blank)
217
- */
218
- opportunity_number?: string;
219
- /**
220
- * A description to frame this opportunity within its sales process
221
- */
222
- description?: string;
223
- /**
224
- * The opportunity status
225
- */
226
- status?: "lead" | "qualification" | "validation" | "offering" | "supply" | "approval" | "operations" | "complete";
227
- items?: /* The order entity */ Order[] | {
228
- $relation?: /* An order relation reference */ OrderRelation[];
229
- };
230
- /**
231
- * Organization Id the order belongs to
232
- */
233
- _org_id?: string;
234
- _id?: string;
235
- _created_at?: string;
236
- _updated_at?: string;
237
- _tags?: string[];
238
- }
239
- /**
240
- * The order entity
241
- */
242
- export interface Order {
243
- [name: string]: any;
244
- /**
245
- * The order id number for the customer
246
- */
247
- order_number?: string;
248
- /**
249
- * The cart id that originated or is associated with the order
250
- */
251
- cart_id?: string;
252
- status?: /* The order status */ OrderStatus;
253
- metadata?: /* A set of key-value pairs. */ MetaData;
254
- billing_first_name?: string;
255
- billing_last_name?: string;
256
- billing_company_name?: string;
257
- billing_vat?: string;
258
- billing_email?: string;
259
- billing_phone?: string;
260
- billing_address?: Address[];
261
- currency?: /**
262
- * Three-letter ISO currency code, in lowercase. Must be a supported currency.
263
- * ISO 4217 CURRENCY CODES as specified in the documentation: https://www.iso.org/iso-4217-currency-codes.html
264
- *
265
- */
266
- Currency;
267
- delivery_address?: Address[];
268
- payment_method?: /**
269
- * A PaymentMethod represent your customer's payment instruments.
270
- *
271
- */
272
- PaymentMethod[];
273
- /**
274
- * The id of an existing contact.
275
- */
276
- contact?: string;
277
- line_items?: /* Tracks a set of product prices, quantities, (discounts) and taxes. */ PriceItems;
278
- /**
279
- * Total of all items before (discounts or) taxes are applied.
280
- */
281
- amount_subtotal?: number;
282
- /**
283
- * Total of all items after (discounts and) taxes are applied.
284
- */
285
- amount_total?: number;
286
- total_details?: /* The total details with tax (and discount) aggregated totals. */ TotalDetails;
287
- /**
288
- * Organization Id the order belongs to
289
- */
290
- _org_id?: string;
291
- _id?: string;
292
- _created_at?: string;
293
- _updated_at?: string;
294
- _tags?: string[];
295
- }
296
- /**
297
- * An order relation reference
298
- */
299
- export interface OrderRelation {
300
- /**
301
- * The relation order id
302
- */
303
- entity_id?: string;
304
- _tags?: string[];
305
- }
306
- /**
307
- * The order status
308
- */
309
- export type OrderStatus = "draft" | "quote" | "placed" | "cancelled" | "completed";
310
- /**
311
- * A PaymentMethod represent your customer's payment instruments.
312
- *
313
- */
314
- export interface PaymentMethod {
315
- /**
316
- * The type of the PaymentMethod.
317
- */
318
- type?: string;
319
- /**
320
- * Contains relevant data associated with the payment method type.
321
- */
322
- details?: {
323
- [name: string]: any;
324
- };
325
- }
326
- /**
327
- * The price configuration
328
- */
329
- export interface Price {
330
- [name: string]: any;
331
- active?: boolean;
332
- billing_scheme?: "Per Unit";
333
- description?: string;
334
- sales_tax?: SalesTax;
335
- tax_behavior?: "inclusive" | "exclusive";
336
- tiers_mode?: "Standard";
337
- type?: "one_time" | "recurring";
338
- billing_period?: BillingPeriod;
339
- unit_amount?: number;
340
- unit_amount_decimal?: string;
341
- unit_amount_currency?: /**
342
- * Three-letter ISO currency code, in lowercase. Must be a supported currency.
343
- * ISO 4217 CURRENCY CODES as specified in the documentation: https://www.iso.org/iso-4217-currency-codes.html
344
- *
345
- */
346
- Currency;
347
- billing_duration_amount?: number;
348
- billing_duration_unit?: "weeks" | "months" | "years";
349
- notice_time_amount?: number;
350
- notice_time_unit?: "weeks" | "months" | "years";
351
- termination_time_amount?: number;
352
- termination_time_unit?: "weeks" | "months" | "years";
353
- renewal_duration_amount?: number;
354
- renewal_duration_unit?: "weeks" | "months" | "years";
355
- _created_at?: string;
356
- _id?: string;
357
- _title?: string;
358
- _updated_at?: string;
359
- }
360
- /**
361
- * Represents a price item
362
- */
363
- export interface PriceItem {
364
- /**
365
- * price item id
366
- */
367
- id?: string;
368
- metadata?: /* A set of key-value pairs. */ MetaData;
369
- /**
370
- * The unit amount value
371
- */
372
- unit_amount?: number;
373
- /**
374
- * Total before any (discounts or) taxes are applied.
375
- */
376
- amount_subtotal?: number;
377
- /**
378
- * Total after (discounts and) taxes.
379
- */
380
- amount_total?: number;
381
- currency?: /**
382
- * Three-letter ISO currency code, in lowercase. Must be a supported currency.
383
- * ISO 4217 CURRENCY CODES as specified in the documentation: https://www.iso.org/iso-4217-currency-codes.html
384
- *
385
- */
386
- Currency;
387
- /**
388
- * An arbitrary string attached to the price item. Often useful for displaying to users. Defaults to product name.
389
- */
390
- description?: string;
391
- /**
392
- * The quantity of products being purchased.
393
- */
394
- quantity?: number;
395
- /**
396
- * The id of the product.
397
- */
398
- product_id?: string;
399
- /**
400
- * The id of the price.
401
- */
402
- price_id?: string;
403
- _price?: /* The price configuration */ Price;
404
- _product?: /* The product configuration */ Product;
405
- /**
406
- * The taxes applied to the price item.
407
- */
408
- taxes?: (/* A tax amount associated with a specific tax rate. */ TaxAmount)[];
409
- /**
410
- * The sum of amounts of the price items by recurrence.
411
- */
412
- recurrences?: (/* An amount associated with a specific recurrence. */ RecurrenceAmount)[];
413
- }
414
- /**
415
- * Represents a valid price item from a client.
416
- */
417
- export interface PriceItemDto {
418
- metadata?: /* A set of key-value pairs. */ MetaData;
419
- /**
420
- * The quantity of products being purchased.
421
- */
422
- quantity?: number;
423
- /**
424
- * An arbitrary string attached to the price item. Often useful for displaying to users. Defaults to product name.
425
- */
426
- description?: string;
427
- /**
428
- * The id of the product.
429
- */
430
- product_id?: string;
431
- /**
432
- * The id of the price.
433
- */
434
- price_id?: string;
435
- /**
436
- * The taxes applied to the price item.
437
- */
438
- taxes?: (/* A valid tax rate from a client. */ TaxAmountDto)[];
439
- /**
440
- * The taxes applied to the price item.
441
- */
442
- recurrences?: (/* An amount associated with a specific recurrence. */ RecurrenceAmountDto)[];
443
- _price?: /* The price configuration */ Price;
444
- /**
445
- * The product linked to the price item.
446
- */
447
- _product?: /* The product configuration */ Product;
448
- }
449
- /**
450
- * Tracks a set of product prices, quantities, (discounts) and taxes.
451
- */
452
- export type PriceItems = (/* Represents a price item */ PriceItem)[];
453
- /**
454
- * A valid set of product prices, quantities, (discounts) and taxes from a client.
455
- */
456
- export type PriceItemsDto = (/* Represents a valid price item from a client. */ PriceItemDto)[];
457
- /**
458
- * The result from the calculation of a set of price items.
459
- */
460
- export interface PricingDetails {
461
- items?: (/* Represents a price item */ PriceItem)[];
462
- /**
463
- * Total of all items before (discounts or) taxes are applied.
464
- */
465
- amount_subtotal?: number;
466
- /**
467
- * Total of all items after (discounts and) taxes are applied.
468
- */
469
- amount_total?: number;
470
- total_details?: /* The total details with tax (and discount) aggregated totals. */ TotalDetails;
471
- }
472
- /**
473
- * The product configuration
474
- */
475
- export interface Product {
476
- [name: string]: any;
477
- code?: string;
478
- type?: "Product" | "Service";
479
- name?: string;
480
- _id?: string;
481
- _title?: string;
482
- }
483
- /**
484
- * An amount associated with a specific recurrence.
485
- */
486
- export interface RecurrenceAmount {
487
- /**
488
- * The price type.
489
- */
490
- type: string;
491
- /**
492
- * The price billing period.
493
- */
494
- billing_period?: string;
495
- /**
496
- * Total of all items, with same recurrence, before (discounts or) taxes are applied.
497
- */
498
- amount_subtotal: number;
499
- /**
500
- * Total of all items, with same recurrence, after (discounts and) taxes are applied.
501
- */
502
- amount_total: number;
503
- /**
504
- * Total of all items taxes, with same recurrence.
505
- */
506
- amount_tax?: number;
507
- }
508
- /**
509
- * An amount associated with a specific recurrence.
510
- */
511
- export interface RecurrenceAmountDto {
512
- /**
513
- * The price type.
514
- */
515
- type: string;
516
- /**
517
- * The price billing period.
518
- */
519
- billing_period?: string;
520
- /**
521
- * Total of all items, with same recurrence, before (discounts or) taxes are applied.
522
- */
523
- amount_subtotal: number;
524
- /**
525
- * Total of all items, with same recurrence, after (discounts and) taxes are applied.
526
- */
527
- amount_total: number;
528
- /**
529
- * Total of all items taxes, with same recurrence.
530
- */
531
- amount_tax?: number;
532
- }
533
- export type SalesTax = "nontaxable" | "reduced" | "standard";
534
- /**
535
- * the tax configuration
536
- */
537
- export interface Tax {
538
- [name: string]: any;
539
- type: "VAT" | "GST" | "Custom";
540
- description?: string;
541
- rate: number;
542
- behavior: "Exclusive" | "Inclusive";
543
- active?: boolean;
544
- region?: string;
545
- region_label?: string;
546
- }
547
- /**
548
- * A tax amount associated with a specific tax rate.
549
- */
550
- export interface TaxAmount {
551
- /**
552
- * The tax amount.
553
- */
554
- amount?: number;
555
- /**
556
- * The tax rate applied.
557
- */
558
- rate?: string;
559
- /**
560
- * The tax applied.
561
- */
562
- tax?: /* The tax applied. */ /* the tax configuration */ Tax;
563
- }
564
- /**
565
- * A valid tax rate from a client.
566
- */
567
- export interface TaxAmountDto {
568
- /**
569
- * The tax rate applied.
570
- */
571
- rate?: string;
572
- /**
573
- * The tax applied.
574
- */
575
- tax?: /* The tax applied. */ /* the tax configuration */ Tax;
576
- }
577
- /**
578
- * The total details with tax (and discount) aggregated totals.
579
- */
580
- export interface TotalDetails {
581
- /**
582
- * This is the sum of all the price item shipping amounts.
583
- */
584
- amount_shipping?: number;
585
- /**
586
- * This is the sum of all the price item tax amounts.
587
- */
588
- amount_tax?: number;
589
- /**
590
- * Breakdown of individual tax (and discount) amounts that add up to the totals.
591
- */
592
- breakdown?: {
593
- /**
594
- * The aggregated price items tax amount per rate.
595
- */
596
- taxes?: (/* A tax amount associated with a specific tax rate. */ TaxAmount)[];
597
- /**
598
- * The aggregated price items tax amount per rate.
599
- */
600
- recurrences?: (/* An amount associated with a specific recurrence. */ RecurrenceAmount)[];
601
- };
602
- }
603
- }
604
- }
605
- declare namespace Paths {
606
- namespace $CheckoutCart {
607
- export interface HeaderParameters {
608
- "X-Ivy-Org-ID": Parameters.XIvyOrgID;
609
- }
610
- namespace Parameters {
611
- export type XIvyOrgID = string;
612
- }
613
- export type RequestBody = /* The cart checkout request payload */ Components.Schemas.CheckoutCart;
614
- namespace Responses {
615
- export type $200 = /* The cart checkout result */ Components.Schemas.CheckoutCartResult;
616
- export type $400 = Components.Schemas.Error;
617
- }
618
- }
619
- namespace $CreateOpportunity {
620
- export interface HeaderParameters {
621
- "X-Ivy-Org-ID": Parameters.XIvyOrgID;
622
- }
623
- namespace Parameters {
624
- export type XIvyOrgID = string;
625
- }
626
- export type RequestBody = /* The opportunity entity */ Components.Schemas.Opportunity;
627
- namespace Responses {
628
- export type $201 = /* The opportunity entity */ Components.Schemas.Opportunity;
629
- export type $400 = Components.Schemas.Error;
630
- }
631
- }
632
- namespace $SearchCatalog {
633
- export interface HeaderParameters {
634
- "X-Ivy-Org-ID": Parameters.XIvyOrgID;
635
- }
636
- namespace Parameters {
637
- export type XIvyOrgID = string;
638
- }
639
- export type RequestBody = /**
640
- * A catalog search payload
641
- * example:
642
- * {
643
- * "q": "_id:1233432 OR _id:123432454 OR _id:23445433",
644
- * "sort": "description ASC",
645
- * "from": 0,
646
- * "size": 200
647
- * }
648
- */
649
- Components.Schemas.CatalogSearch;
650
- namespace Responses {
651
- export type $200 = /**
652
- * The query result payload
653
- * example:
654
- * {
655
- * "hits": 2,
656
- * "results": [
657
- * {
658
- * "schema": "product",
659
- * "description": "product a"
660
- * },
661
- * {
662
- * "schema": "price",
663
- * "unit_amount_decimal": "124.342343434"
664
- * }
665
- * ]
666
- * }
667
- */
668
- Components.Schemas.CatalogSearchResult;
669
- export type $400 = Components.Schemas.Error;
670
- }
671
- }
672
- }
673
-
674
- export interface OperationMethods {
675
- /**
676
- * $checkoutCart - checkoutCart
677
- *
678
- * Checkouts a cart and executes the specified checkout `mode` process.
679
- *
680
- * A Checkout implicitly finalizes the provided cart (if not transient from a fast-checkout) and behaves in one of the following modes:
681
- * - `create_order` (**default**): the payment happens at a later date or managed by 3rd-party CRM (SAP)
682
- * - `create_invoice`: the payment happens on the online checkout (paypal, stripe, adyen)
683
- * - `create_quote`: the checkout represents a price quote request
684
- *
685
- * Fast checkout is also supported, by passing the Cart contents directly.
686
- * When a fast checkout is performed the cart is considered transient and there is no cart persistance.
687
- *
688
- * If the checkout `mode` is omitted, the `mode` will default to `create_order`.
689
- *
690
- */
691
- '$checkoutCart'(
692
- parameters?: Parameters<Paths.$CheckoutCart.HeaderParameters> | null,
693
- data?: Paths.$CheckoutCart.RequestBody,
694
- config?: AxiosRequestConfig
695
- ): OperationResponse<Paths.$CheckoutCart.Responses.$200>
696
- /**
697
- * $searchCatalog - searchCatalog
698
- *
699
- * Provides a querying functionalities over products and prices of the Catalog for a given organization.
700
- */
701
- '$searchCatalog'(
702
- parameters?: Parameters<Paths.$SearchCatalog.HeaderParameters> | null,
703
- data?: Paths.$SearchCatalog.RequestBody,
704
- config?: AxiosRequestConfig
705
- ): OperationResponse<Paths.$SearchCatalog.Responses.$200>
706
- /**
707
- * $createOpportunity - createOpportunity
708
- *
709
- * Creates a new opportunity. During the creation of an opportunity, an unique customer-readable `opportunity_number` will be generated.
710
- * The `opportunity_number` can be used to universally identify an opportunity within epilot platform.
711
- *
712
- */
713
- '$createOpportunity'(
714
- parameters?: Parameters<Paths.$CreateOpportunity.HeaderParameters> | null,
715
- data?: Paths.$CreateOpportunity.RequestBody,
716
- config?: AxiosRequestConfig
717
- ): OperationResponse<Paths.$CreateOpportunity.Responses.$201>
718
- }
719
-
720
- export interface PathsDictionary {
721
- ['/v1/public/cart:checkout']: {
722
- /**
723
- * $checkoutCart - checkoutCart
724
- *
725
- * Checkouts a cart and executes the specified checkout `mode` process.
726
- *
727
- * A Checkout implicitly finalizes the provided cart (if not transient from a fast-checkout) and behaves in one of the following modes:
728
- * - `create_order` (**default**): the payment happens at a later date or managed by 3rd-party CRM (SAP)
729
- * - `create_invoice`: the payment happens on the online checkout (paypal, stripe, adyen)
730
- * - `create_quote`: the checkout represents a price quote request
731
- *
732
- * Fast checkout is also supported, by passing the Cart contents directly.
733
- * When a fast checkout is performed the cart is considered transient and there is no cart persistance.
734
- *
735
- * If the checkout `mode` is omitted, the `mode` will default to `create_order`.
736
- *
737
- */
738
- 'post'(
739
- parameters?: Parameters<Paths.$CheckoutCart.HeaderParameters> | null,
740
- data?: Paths.$CheckoutCart.RequestBody,
741
- config?: AxiosRequestConfig
742
- ): OperationResponse<Paths.$CheckoutCart.Responses.$200>
743
- }
744
- ['/v1/public/catalog']: {
745
- /**
746
- * $searchCatalog - searchCatalog
747
- *
748
- * Provides a querying functionalities over products and prices of the Catalog for a given organization.
749
- */
750
- 'post'(
751
- parameters?: Parameters<Paths.$SearchCatalog.HeaderParameters> | null,
752
- data?: Paths.$SearchCatalog.RequestBody,
753
- config?: AxiosRequestConfig
754
- ): OperationResponse<Paths.$SearchCatalog.Responses.$200>
755
- }
756
- ['/v1/public/opportunity']: {
757
- /**
758
- * $createOpportunity - createOpportunity
759
- *
760
- * Creates a new opportunity. During the creation of an opportunity, an unique customer-readable `opportunity_number` will be generated.
761
- * The `opportunity_number` can be used to universally identify an opportunity within epilot platform.
762
- *
763
- */
764
- 'post'(
765
- parameters?: Parameters<Paths.$CreateOpportunity.HeaderParameters> | null,
766
- data?: Paths.$CreateOpportunity.RequestBody,
767
- config?: AxiosRequestConfig
768
- ): OperationResponse<Paths.$CreateOpportunity.Responses.$201>
769
- }
770
- }
771
-
772
- export type Client = OpenAPIClient<OperationMethods, PathsDictionary>