moov_ruby 0.0.0.pre.dev.23 → 0.0.0.pre.dev.24

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 (116) hide show
  1. checksums.yaml +4 -4
  2. data/lib/moov/avatars.rb +275 -0
  3. data/lib/moov/models/components/allowedscheduleerror.rb +36 -0
  4. data/lib/moov/models/components/allowedscheduleerror.rbi +15 -0
  5. data/lib/moov/models/components/avataruploadrequest.rb +32 -0
  6. data/lib/moov/models/components/avataruploadrequest.rbi +13 -0
  7. data/lib/moov/models/components/avataruploadrequest_file.rb +36 -0
  8. data/lib/moov/models/components/avataruploadrequest_file.rbi +15 -0
  9. data/lib/moov/models/components/capabilityid.rb +1 -0
  10. data/lib/moov/models/components/createtransfer.rb +6 -2
  11. data/lib/moov/models/components/createtransfer.rbi +2 -0
  12. data/lib/moov/models/components/feepaidby.rb +19 -0
  13. data/lib/moov/models/components/feepaidby.rbi +11 -0
  14. data/lib/moov/models/components/fullissuedcard.rb +3 -3
  15. data/lib/moov/models/components/incurredfee.rb +6 -2
  16. data/lib/moov/models/components/incurredfee.rbi +2 -0
  17. data/lib/moov/models/components/issuedcard.rb +3 -3
  18. data/lib/moov/models/components/issuedcontrols.rb +52 -0
  19. data/lib/moov/models/components/issuedcontrols.rbi +23 -0
  20. data/lib/moov/models/components/issuedcontrols_allowedschedule.rb +36 -0
  21. data/lib/moov/models/components/issuedcontrols_allowedschedule.rbi +15 -0
  22. data/lib/moov/models/components/issuedvelocitylimit.rb +60 -0
  23. data/lib/moov/models/components/issuedvelocitylimit.rbi +27 -0
  24. data/lib/moov/models/components/issuingcontrols.rb +18 -2
  25. data/lib/moov/models/components/issuingcontrols.rbi +8 -0
  26. data/lib/moov/models/components/issuingcontrols_allowedschedule.rb +36 -0
  27. data/lib/moov/models/components/issuingcontrols_allowedschedule.rbi +15 -0
  28. data/lib/moov/models/components/issuingcontrolserror.rb +18 -2
  29. data/lib/moov/models/components/issuingcontrolserror.rbi +8 -0
  30. data/lib/moov/models/components/issuingcontrolsrestrictionmode.rb +19 -0
  31. data/lib/moov/models/components/issuingcontrolsrestrictionmode.rbi +11 -0
  32. data/lib/moov/models/components/issuingintervallimit.rb +4 -1
  33. data/lib/moov/models/components/issuingmerchantcategory.rb +43 -0
  34. data/lib/moov/models/components/issuingmerchantcategory.rbi +11 -0
  35. data/lib/moov/models/components/issuingscheduleday.rb +24 -0
  36. data/lib/moov/models/components/issuingscheduleday.rbi +11 -0
  37. data/lib/moov/models/components/issuingvelocitylimit.rb +11 -7
  38. data/lib/moov/models/components/issuingvelocitylimit.rbi +4 -2
  39. data/lib/moov/models/components/issuingvelocitylimiterror.rb +6 -2
  40. data/lib/moov/models/components/issuingvelocitylimiterror.rbi +2 -0
  41. data/lib/moov/models/components/merchantcategoryrestrictions.rb +44 -0
  42. data/lib/moov/models/components/merchantcategoryrestrictions.rbi +19 -0
  43. data/lib/moov/models/components/merchantcategoryrestrictionserror.rb +44 -0
  44. data/lib/moov/models/components/merchantcategoryrestrictionserror.rbi +19 -0
  45. data/lib/moov/models/components/merchantentry.rb +40 -0
  46. data/lib/moov/models/components/merchantentry.rbi +17 -0
  47. data/lib/moov/models/components/merchantentryerror.rb +36 -0
  48. data/lib/moov/models/components/merchantentryerror.rbi +15 -0
  49. data/lib/moov/models/components/merchantrestrictions.rb +36 -0
  50. data/lib/moov/models/components/merchantrestrictions.rbi +15 -0
  51. data/lib/moov/models/components/merchantrestrictionserror.rb +36 -0
  52. data/lib/moov/models/components/merchantrestrictionserror.rbi +15 -0
  53. data/lib/moov/models/components/paymentlinkpayoutdetails.rb +8 -2
  54. data/lib/moov/models/components/paymentlinkpayoutdetails.rbi +2 -0
  55. data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rb +8 -2
  56. data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rbi +2 -0
  57. data/lib/moov/models/components/payoutdetailserror.rb +6 -2
  58. data/lib/moov/models/components/payoutdetailserror.rbi +2 -0
  59. data/lib/moov/models/components/product.rb +6 -2
  60. data/lib/moov/models/components/product.rbi +2 -0
  61. data/lib/moov/models/components/productcategories.rb +32 -0
  62. data/lib/moov/models/components/productcategories.rbi +13 -0
  63. data/lib/moov/models/components/productcategory.rb +48 -0
  64. data/lib/moov/models/components/productcategory.rbi +21 -0
  65. data/lib/moov/models/components/productrequest.rb +6 -2
  66. data/lib/moov/models/components/productrequest.rbi +2 -0
  67. data/lib/moov/models/components/schedulewindow.rb +40 -0
  68. data/lib/moov/models/components/schedulewindow.rbi +17 -0
  69. data/lib/moov/models/components/schedulewindowerror.rb +40 -0
  70. data/lib/moov/models/components/schedulewindowerror.rbi +17 -0
  71. data/lib/moov/models/components/schemebasicauth.rb +36 -0
  72. data/lib/moov/models/components/schemebasicauth.rbi +15 -0
  73. data/lib/moov/models/components/schemeoauth2auth.rb +40 -0
  74. data/lib/moov/models/components/schemeoauth2auth.rbi +17 -0
  75. data/lib/moov/models/components/transferfeepaidby.rb +32 -0
  76. data/lib/moov/models/components/transferfeepaidby.rbi +13 -0
  77. data/lib/moov/models/components/updateissuedcard.rb +6 -2
  78. data/lib/moov/models/components/updateissuedcard.rbi +2 -0
  79. data/lib/moov/models/components/updateissuingcontrols.rb +48 -0
  80. data/lib/moov/models/components/updateissuingcontrols.rbi +21 -0
  81. data/lib/moov/models/components/updateissuingcontrols_allowedschedule.rb +36 -0
  82. data/lib/moov/models/components/updateissuingcontrols_allowedschedule.rbi +15 -0
  83. data/lib/moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rb +44 -0
  84. data/lib/moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rbi +19 -0
  85. data/lib/moov/models/components/updateissuingcontrols_merchantrestrictions.rb +36 -0
  86. data/lib/moov/models/components/updateissuingcontrols_merchantrestrictions.rbi +15 -0
  87. data/lib/moov/models/components/updateissuingcontrolserror.rb +48 -0
  88. data/lib/moov/models/components/updateissuingcontrolserror.rbi +21 -0
  89. data/lib/moov/models/components.rb +29 -0
  90. data/lib/moov/models/errors/productrequestvalidationerror.rb +6 -2
  91. data/lib/moov/models/errors/productrequestvalidationerror.rbi +2 -0
  92. data/lib/moov/models/errors/updateissuedcarderror.rb +6 -2
  93. data/lib/moov/models/errors/updateissuedcarderror.rbi +2 -0
  94. data/lib/moov/models/operations/deleteavatar_request.rb +32 -0
  95. data/lib/moov/models/operations/deleteavatar_request.rbi +13 -0
  96. data/lib/moov/models/operations/deleteavatar_response.rb +44 -0
  97. data/lib/moov/models/operations/deleteavatar_response.rbi +19 -0
  98. data/lib/moov/models/operations/deleteavatar_security.rb +36 -0
  99. data/lib/moov/models/operations/deleteavatar_security.rbi +15 -0
  100. data/lib/moov/models/operations/listproductcategories_response.rb +48 -0
  101. data/lib/moov/models/operations/listproductcategories_response.rbi +21 -0
  102. data/lib/moov/models/operations/listproducts_request.rb +8 -2
  103. data/lib/moov/models/operations/listproducts_request.rbi +2 -0
  104. data/lib/moov/models/operations/uploadavatar_request.rb +36 -0
  105. data/lib/moov/models/operations/uploadavatar_request.rbi +15 -0
  106. data/lib/moov/models/operations/uploadavatar_response.rb +44 -0
  107. data/lib/moov/models/operations/uploadavatar_response.rbi +19 -0
  108. data/lib/moov/models/operations/uploadavatar_security.rb +36 -0
  109. data/lib/moov/models/operations/uploadavatar_security.rbi +15 -0
  110. data/lib/moov/models/operations.rb +7 -0
  111. data/lib/moov/products.rb +113 -8
  112. data/lib/moov/sdk_hooks/clientcredentials.rb +386 -0
  113. data/lib/moov/sdk_hooks/hooks.rb +6 -0
  114. data/lib/moov/sdk_hooks/oauth2scopes.rb +18 -0
  115. data/lib/moov/sdkconfiguration.rb +3 -3
  116. metadata +76 -2
@@ -47,6 +47,7 @@ module Moov
47
47
  autoload :AddressSuggestion, 'moov/models/components/addresssuggestion.rb'
48
48
  autoload :AddressUpdate, 'moov/models/components/addressupdate.rb'
49
49
  autoload :Adjustment, 'moov/models/components/adjustment.rb'
50
+ autoload :AllowedScheduleError, 'moov/models/components/allowedscheduleerror.rb'
50
51
  autoload :Amount, 'moov/models/components/amount.rb'
51
52
  autoload :AmountDecimal, 'moov/models/components/amountdecimal.rb'
52
53
  autoload :AmountDecimalRange, 'moov/models/components/amountdecimalrange.rb'
@@ -73,6 +74,8 @@ module Moov
73
74
  autoload :AsyncTransfer, 'moov/models/components/asynctransfer.rb'
74
75
  autoload :AuthToken, 'moov/models/components/authtoken.rb'
75
76
  autoload :AuthTokenRequest, 'moov/models/components/authtokenrequest.rb'
77
+ autoload :AvatarUploadRequest, 'moov/models/components/avataruploadrequest.rb'
78
+ autoload :AvatarUploadRequestFile, 'moov/models/components/avataruploadrequest_file.rb'
76
79
  autoload :BankAccount, 'moov/models/components/bankaccount.rb'
77
80
  autoload :BankAccountException, 'moov/models/components/bankaccountexception.rb'
78
81
  autoload :BankAccountHolderType, 'moov/models/components/bankaccountholdertype.rb'
@@ -277,6 +280,7 @@ module Moov
277
280
  autoload :FedNowServices, 'moov/models/components/fednowservices.rb'
278
281
  autoload :FeeCategory, 'moov/models/components/feecategory.rb'
279
282
  autoload :FeeModel, 'moov/models/components/feemodel.rb'
283
+ autoload :FeePaidBy, 'moov/models/components/feepaidby.rb'
280
284
  autoload :FeePlan, 'moov/models/components/feeplan.rb'
281
285
  autoload :FeePlanAgreement, 'moov/models/components/feeplanagreement.rb'
282
286
  autoload :FeePlanAgreementStatus, 'moov/models/components/feeplanagreementstatus.rb'
@@ -360,11 +364,18 @@ module Moov
360
364
  autoload :IssuedCardFormFactor, 'moov/models/components/issuedcardformfactor.rb'
361
365
  autoload :IssuedCardState, 'moov/models/components/issuedcardstate.rb'
362
366
  autoload :IssuedCardTransaction, 'moov/models/components/issuedcardtransaction.rb'
367
+ autoload :IssuedControls, 'moov/models/components/issuedcontrols.rb'
368
+ autoload :IssuedControlsAllowedSchedule, 'moov/models/components/issuedcontrols_allowedschedule.rb'
369
+ autoload :IssuedVelocityLimit, 'moov/models/components/issuedvelocitylimit.rb'
363
370
  autoload :IssuingAuthorizationStatus, 'moov/models/components/issuingauthorizationstatus.rb'
364
371
  autoload :IssuingControls, 'moov/models/components/issuingcontrols.rb'
365
372
  autoload :IssuingControlsError, 'moov/models/components/issuingcontrolserror.rb'
373
+ autoload :IssuingControlsRestrictionMode, 'moov/models/components/issuingcontrolsrestrictionmode.rb'
374
+ autoload :IssuingControlsAllowedSchedule, 'moov/models/components/issuingcontrols_allowedschedule.rb'
366
375
  autoload :IssuingIntervalLimit, 'moov/models/components/issuingintervallimit.rb'
376
+ autoload :IssuingMerchantCategory, 'moov/models/components/issuingmerchantcategory.rb'
367
377
  autoload :IssuingMerchantData, 'moov/models/components/issuingmerchantdata.rb'
378
+ autoload :IssuingScheduleDay, 'moov/models/components/issuingscheduleday.rb'
368
379
  autoload :IssuingVelocityLimit, 'moov/models/components/issuingvelocitylimit.rb'
369
380
  autoload :IssuingVelocityLimitError, 'moov/models/components/issuingvelocitylimiterror.rb'
370
381
  autoload :ItemListNextPage, 'moov/models/components/itemlistnextpage.rb'
@@ -384,6 +395,12 @@ module Moov
384
395
  autoload :MXAuthorizationCode, 'moov/models/components/mxauthorizationcode.rb'
385
396
  autoload :ManualTermsOfService, 'moov/models/components/manualtermsofservice.rb'
386
397
  autoload :ManualTermsOfServiceUpdate, 'moov/models/components/manualtermsofserviceupdate.rb'
398
+ autoload :MerchantCategoryRestrictions, 'moov/models/components/merchantcategoryrestrictions.rb'
399
+ autoload :MerchantCategoryRestrictionsError, 'moov/models/components/merchantcategoryrestrictionserror.rb'
400
+ autoload :MerchantEntry, 'moov/models/components/merchantentry.rb'
401
+ autoload :MerchantEntryError, 'moov/models/components/merchantentryerror.rb'
402
+ autoload :MerchantRestrictions, 'moov/models/components/merchantrestrictions.rb'
403
+ autoload :MerchantRestrictionsError, 'moov/models/components/merchantrestrictionserror.rb'
387
404
  autoload :MicroDepositStatus, 'moov/models/components/microdepositstatus.rb'
388
405
  autoload :MinimumCommitment, 'moov/models/components/minimumcommitment.rb'
389
406
  autoload :Mode, 'moov/models/components/mode.rb'
@@ -459,6 +476,8 @@ module Moov
459
476
  autoload :PlatformFees, 'moov/models/components/platformfees.rb'
460
477
  autoload :PrimaryRegulator, 'moov/models/components/primaryregulator.rb'
461
478
  autoload :Product, 'moov/models/components/product.rb'
479
+ autoload :ProductCategories, 'moov/models/components/productcategories.rb'
480
+ autoload :ProductCategory, 'moov/models/components/productcategory.rb'
462
481
  autoload :ProductImageMetadata, 'moov/models/components/productimagemetadata.rb'
463
482
  autoload :ProductOption, 'moov/models/components/productoption.rb'
464
483
  autoload :ProductOptionGroup, 'moov/models/components/productoptiongroup.rb'
@@ -540,10 +559,14 @@ module Moov
540
559
  autoload :ScheduleListResponse, 'moov/models/components/schedulelistresponse.rb'
541
560
  autoload :SchedulePaymentMethod, 'moov/models/components/schedulepaymentmethod.rb'
542
561
  autoload :ScheduleResponse, 'moov/models/components/scheduleresponse.rb'
562
+ autoload :ScheduleWindow, 'moov/models/components/schedulewindow.rb'
563
+ autoload :ScheduleWindowError, 'moov/models/components/schedulewindowerror.rb'
543
564
  autoload :ScheduledTransferImageMetadata, 'moov/models/components/scheduledtransferimagemetadata.rb'
544
565
  autoload :ScheduledTransferLineItem, 'moov/models/components/scheduledtransferlineitem.rb'
545
566
  autoload :ScheduledTransferLineItemOption, 'moov/models/components/scheduledtransferlineitemoption.rb'
546
567
  autoload :ScheduledTransferLineItems, 'moov/models/components/scheduledtransferlineitems.rb'
568
+ autoload :SchemeBasicAuth, 'moov/models/components/schemebasicauth.rb'
569
+ autoload :SchemeOAuth2Auth, 'moov/models/components/schemeoauth2auth.rb'
547
570
  autoload :Security, 'moov/models/components/security.rb'
548
571
  autoload :SendFunds, 'moov/models/components/sendfunds.rb'
549
572
  autoload :SendFundsAch, 'moov/models/components/sendfundsach.rb'
@@ -601,6 +624,7 @@ module Moov
601
624
  autoload :TransferDestination, 'moov/models/components/transferdestination.rb'
602
625
  autoload :TransferEntryMode, 'moov/models/components/transferentrymode.rb'
603
626
  autoload :TransferFailureReason, 'moov/models/components/transferfailurereason.rb'
627
+ autoload :TransferFeePaidBy, 'moov/models/components/transferfeepaidby.rb'
604
628
  autoload :TransferLineItem, 'moov/models/components/transferlineitem.rb'
605
629
  autoload :TransferLineItemImageMetadata, 'moov/models/components/transferlineitemimagemetadata.rb'
606
630
  autoload :TransferLineItemOption, 'moov/models/components/transferlineitemoption.rb'
@@ -626,6 +650,11 @@ module Moov
626
650
  autoload :UpdateInvoice, 'moov/models/components/updateinvoice.rb'
627
651
  autoload :UpdateIssuedCard, 'moov/models/components/updateissuedcard.rb'
628
652
  autoload :UpdateIssuedCardState, 'moov/models/components/updateissuedcardstate.rb'
653
+ autoload :UpdateIssuingControls, 'moov/models/components/updateissuingcontrols.rb'
654
+ autoload :UpdateIssuingControlsError, 'moov/models/components/updateissuingcontrolserror.rb'
655
+ autoload :UpdateIssuingControlsAllowedSchedule, 'moov/models/components/updateissuingcontrols_allowedschedule.rb'
656
+ autoload :UpdateIssuingControlsMerchantCategoryRestrictions, 'moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rb'
657
+ autoload :UpdateIssuingControlsMerchantRestrictions, 'moov/models/components/updateissuingcontrols_merchantrestrictions.rb'
629
658
  autoload :UpdatePaymentLink, 'moov/models/components/updatepaymentlink.rb'
630
659
  autoload :UpdatePaymentLinkAmountDetails, 'moov/models/components/updatepaymentlinkamountdetails.rb'
631
660
  autoload :UpdatePaymentLinkAmountDetailsValidationError, 'moov/models/components/updatepaymentlinkamountdetailsvalidationerror.rb'
@@ -22,16 +22,19 @@ module Moov
22
22
  field :images, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, Models::Components::AssignProductImageValidationError)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('images') } }
23
23
 
24
24
  field :option_groups, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, Models::Components::ProductOptionGroupValidationError)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('optionGroups') } }
25
+
26
+ field :category_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('categoryID') } }
25
27
  # Raw HTTP response; suitable for custom response parsing
26
28
  field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
27
29
 
28
- sig { params(title: T.nilable(::String), description: T.nilable(::String), base_price: T.nilable(Models::Components::AmountDecimalValidationError), images: T.nilable(T::Hash[Symbol, Models::Components::AssignProductImageValidationError]), option_groups: T.nilable(T::Hash[Symbol, Models::Components::ProductOptionGroupValidationError]), raw_response: T.nilable(::Faraday::Response)).void }
29
- def initialize(title: nil, description: nil, base_price: nil, images: nil, option_groups: nil, raw_response: nil)
30
+ sig { params(title: T.nilable(::String), description: T.nilable(::String), base_price: T.nilable(Models::Components::AmountDecimalValidationError), images: T.nilable(T::Hash[Symbol, Models::Components::AssignProductImageValidationError]), option_groups: T.nilable(T::Hash[Symbol, Models::Components::ProductOptionGroupValidationError]), category_id: T.nilable(::String), raw_response: T.nilable(::Faraday::Response)).void }
31
+ def initialize(title: nil, description: nil, base_price: nil, images: nil, option_groups: nil, category_id: nil, raw_response: nil)
30
32
  @title = title
31
33
  @description = description
32
34
  @base_price = base_price
33
35
  @images = images
34
36
  @option_groups = option_groups
37
+ @category_id = category_id
35
38
  @raw_response = raw_response
36
39
  end
37
40
 
@@ -43,6 +46,7 @@ module Moov
43
46
  return false unless @base_price == other.base_price
44
47
  return false unless @images == other.images
45
48
  return false unless @option_groups == other.option_groups
49
+ return false unless @category_id == other.category_id
46
50
  return false unless @raw_response == other.raw_response
47
51
  true
48
52
  end
@@ -18,6 +18,8 @@ class Moov::Models::Errors::ProductRequestValidationError
18
18
  def images=(str_); end
19
19
  def option_groups(); end
20
20
  def option_groups=(str_); end
21
+ def category_id(); end
22
+ def category_id=(str_); end
21
23
  def raw_response(); end
22
24
  def raw_response=(str_); end
23
25
  end
@@ -20,15 +20,18 @@ module Moov
20
20
  field :metadata, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('metadata') } }
21
21
 
22
22
  field :billing_address, Crystalline::Nilable.new(Models::Components::AddressError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('billingAddress') } }
23
+
24
+ field :controls, Crystalline::Nilable.new(Models::Components::UpdateIssuingControlsError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('controls') } }
23
25
  # Raw HTTP response; suitable for custom response parsing
24
26
  field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
25
27
 
26
- sig { params(state: T.nilable(::String), nickname: T.nilable(::String), metadata: T.nilable(::String), billing_address: T.nilable(Models::Components::AddressError), raw_response: T.nilable(::Faraday::Response)).void }
27
- def initialize(state: nil, nickname: nil, metadata: nil, billing_address: nil, raw_response: nil)
28
+ sig { params(state: T.nilable(::String), nickname: T.nilable(::String), metadata: T.nilable(::String), billing_address: T.nilable(Models::Components::AddressError), controls: T.nilable(Models::Components::UpdateIssuingControlsError), raw_response: T.nilable(::Faraday::Response)).void }
29
+ def initialize(state: nil, nickname: nil, metadata: nil, billing_address: nil, controls: nil, raw_response: nil)
28
30
  @state = state
29
31
  @nickname = nickname
30
32
  @metadata = metadata
31
33
  @billing_address = billing_address
34
+ @controls = controls
32
35
  @raw_response = raw_response
33
36
  end
34
37
 
@@ -39,6 +42,7 @@ module Moov
39
42
  return false unless @nickname == other.nickname
40
43
  return false unless @metadata == other.metadata
41
44
  return false unless @billing_address == other.billing_address
45
+ return false unless @controls == other.controls
42
46
  return false unless @raw_response == other.raw_response
43
47
  true
44
48
  end
@@ -16,6 +16,8 @@ class Moov::Models::Errors::UpdateIssuedCardError
16
16
  def metadata=(str_); end
17
17
  def billing_address(); end
18
18
  def billing_address=(str_); end
19
+ def controls(); end
20
+ def controls=(str_); end
19
21
  def raw_response(); end
20
22
  def raw_response=(str_); end
21
23
  end
@@ -0,0 +1,32 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Operations
10
+
11
+ class DeleteAvatarRequest
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+ # The accountID to delete the avatar for. Only accountID values are accepted for writes.
16
+ field :unique_id, ::String, { 'path_param': { 'field_name': 'uniqueID', 'style': 'simple', 'explode': false } }
17
+
18
+ sig { params(unique_id: ::String).void }
19
+ def initialize(unique_id:)
20
+ @unique_id = unique_id
21
+ end
22
+
23
+ sig { params(other: T.untyped).returns(T::Boolean) }
24
+ def ==(other)
25
+ return false unless other.is_a? self.class
26
+ return false unless @unique_id == other.unique_id
27
+ true
28
+ end
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,13 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Operations::DeleteAvatarRequest
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Operations::DeleteAvatarRequest
11
+ def unique_id(); end
12
+ def unique_id=(str_); end
13
+ end
@@ -0,0 +1,44 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Operations
10
+
11
+ class DeleteAvatarResponse
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+ # HTTP response content type for this operation
16
+ field :content_type, ::String
17
+ # HTTP response status code for this operation
18
+ field :status_code, ::Integer
19
+ # Raw HTTP response; suitable for custom response parsing
20
+ field :raw_response, ::Faraday::Response
21
+
22
+ field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
23
+
24
+ sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]]).void }
25
+ def initialize(content_type:, status_code:, raw_response:, headers:)
26
+ @content_type = content_type
27
+ @status_code = status_code
28
+ @raw_response = raw_response
29
+ @headers = headers
30
+ end
31
+
32
+ sig { params(other: T.untyped).returns(T::Boolean) }
33
+ def ==(other)
34
+ return false unless other.is_a? self.class
35
+ return false unless @content_type == other.content_type
36
+ return false unless @status_code == other.status_code
37
+ return false unless @raw_response == other.raw_response
38
+ return false unless @headers == other.headers
39
+ true
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,19 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Operations::DeleteAvatarResponse
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Operations::DeleteAvatarResponse
11
+ def content_type(); end
12
+ def content_type=(str_); end
13
+ def status_code(); end
14
+ def status_code=(str_); end
15
+ def raw_response(); end
16
+ def raw_response=(str_); end
17
+ def headers(); end
18
+ def headers=(str_); end
19
+ end
@@ -0,0 +1,36 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Operations
10
+
11
+ class DeleteAvatarSecurity
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+
16
+ field :basic_auth, Crystalline::Nilable.new(Models::Components::SchemeBasicAuth), { 'security': { 'scheme': true, 'type': 'http', 'sub_type': 'basic' } }
17
+
18
+ field :o_auth2_auth, Crystalline::Nilable.new(Models::Components::SchemeOAuth2Auth), { 'security': { 'scheme': true, 'type': 'oauth2', 'sub_type': 'client_credentials' } }
19
+
20
+ sig { params(basic_auth: T.nilable(Models::Components::SchemeBasicAuth), o_auth2_auth: T.nilable(Models::Components::SchemeOAuth2Auth)).void }
21
+ def initialize(basic_auth: nil, o_auth2_auth: nil)
22
+ @basic_auth = basic_auth
23
+ @o_auth2_auth = o_auth2_auth
24
+ end
25
+
26
+ sig { params(other: T.untyped).returns(T::Boolean) }
27
+ def ==(other)
28
+ return false unless other.is_a? self.class
29
+ return false unless @basic_auth == other.basic_auth
30
+ return false unless @o_auth2_auth == other.o_auth2_auth
31
+ true
32
+ end
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,15 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Operations::DeleteAvatarSecurity
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Operations::DeleteAvatarSecurity
11
+ def basic_auth(); end
12
+ def basic_auth=(str_); end
13
+ def o_auth2_auth(); end
14
+ def o_auth2_auth=(str_); end
15
+ end
@@ -0,0 +1,48 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Operations
10
+
11
+ class ListProductCategoriesResponse
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+ # HTTP response content type for this operation
16
+ field :content_type, ::String
17
+ # HTTP response status code for this operation
18
+ field :status_code, ::Integer
19
+ # Raw HTTP response; suitable for custom response parsing
20
+ field :raw_response, ::Faraday::Response
21
+
22
+ field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
23
+ # The request completed successfully.
24
+ field :product_categories, Crystalline::Nilable.new(Models::Components::ProductCategories)
25
+
26
+ sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], product_categories: T.nilable(Models::Components::ProductCategories)).void }
27
+ def initialize(content_type:, status_code:, raw_response:, headers:, product_categories: nil)
28
+ @content_type = content_type
29
+ @status_code = status_code
30
+ @raw_response = raw_response
31
+ @headers = headers
32
+ @product_categories = product_categories
33
+ end
34
+
35
+ sig { params(other: T.untyped).returns(T::Boolean) }
36
+ def ==(other)
37
+ return false unless other.is_a? self.class
38
+ return false unless @content_type == other.content_type
39
+ return false unless @status_code == other.status_code
40
+ return false unless @raw_response == other.raw_response
41
+ return false unless @headers == other.headers
42
+ return false unless @product_categories == other.product_categories
43
+ true
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,21 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Operations::ListProductCategoriesResponse
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Operations::ListProductCategoriesResponse
11
+ def content_type(); end
12
+ def content_type=(str_); end
13
+ def status_code(); end
14
+ def status_code=(str_); end
15
+ def raw_response(); end
16
+ def raw_response=(str_); end
17
+ def headers(); end
18
+ def headers=(str_); end
19
+ def product_categories(); end
20
+ def product_categories=(str_); end
21
+ end
@@ -16,15 +16,20 @@ module Moov
16
16
  field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
17
17
  # Allows filtering products by title. This supports partial matches and is case-insensitive
18
18
  field :title, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'title', 'style': 'form', 'explode': false } }
19
+ # Filter products by category. Accepts a category ID at any level of the taxonomy;
20
+ # a product matches when the given category is anywhere in its category's breadcrumb
21
+ # (i.e. filtering by a top-level category returns products in any of its descendants).
22
+ field :category, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'category', 'style': 'form', 'explode': false } }
19
23
 
20
24
  field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
21
25
 
22
26
  field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
23
27
 
24
- sig { params(account_id: ::String, title: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
25
- def initialize(account_id:, title: nil, skip: nil, count: nil)
28
+ sig { params(account_id: ::String, title: T.nilable(::String), category: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
29
+ def initialize(account_id:, title: nil, category: nil, skip: nil, count: nil)
26
30
  @account_id = account_id
27
31
  @title = title
32
+ @category = category
28
33
  @skip = skip
29
34
  @count = count
30
35
  end
@@ -34,6 +39,7 @@ module Moov
34
39
  return false unless other.is_a? self.class
35
40
  return false unless @account_id == other.account_id
36
41
  return false unless @title == other.title
42
+ return false unless @category == other.category
37
43
  return false unless @skip == other.skip
38
44
  return false unless @count == other.count
39
45
  true
@@ -12,6 +12,8 @@ class Moov::Models::Operations::ListProductsRequest
12
12
  def account_id=(str_); end
13
13
  def title(); end
14
14
  def title=(str_); end
15
+ def category(); end
16
+ def category=(str_); end
15
17
  def skip(); end
16
18
  def skip=(str_); end
17
19
  def count(); end
@@ -0,0 +1,36 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Operations
10
+
11
+ class UploadAvatarRequest
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+ # The accountID to upload the avatar for. Only accountID values are accepted for writes.
16
+ field :unique_id, ::String, { 'path_param': { 'field_name': 'uniqueID', 'style': 'simple', 'explode': false } }
17
+
18
+ field :avatar_upload_request, Models::Components::AvatarUploadRequest, { 'request': { 'media_type': 'multipart/form-data' } }
19
+
20
+ sig { params(unique_id: ::String, avatar_upload_request: Models::Components::AvatarUploadRequest).void }
21
+ def initialize(unique_id:, avatar_upload_request:)
22
+ @unique_id = unique_id
23
+ @avatar_upload_request = avatar_upload_request
24
+ end
25
+
26
+ sig { params(other: T.untyped).returns(T::Boolean) }
27
+ def ==(other)
28
+ return false unless other.is_a? self.class
29
+ return false unless @unique_id == other.unique_id
30
+ return false unless @avatar_upload_request == other.avatar_upload_request
31
+ true
32
+ end
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,15 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Operations::UploadAvatarRequest
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Operations::UploadAvatarRequest
11
+ def unique_id(); end
12
+ def unique_id=(str_); end
13
+ def avatar_upload_request(); end
14
+ def avatar_upload_request=(str_); end
15
+ end
@@ -0,0 +1,44 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Operations
10
+
11
+ class UploadAvatarResponse
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+ # HTTP response content type for this operation
16
+ field :content_type, ::String
17
+ # HTTP response status code for this operation
18
+ field :status_code, ::Integer
19
+ # Raw HTTP response; suitable for custom response parsing
20
+ field :raw_response, ::Faraday::Response
21
+
22
+ field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
23
+
24
+ sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]]).void }
25
+ def initialize(content_type:, status_code:, raw_response:, headers:)
26
+ @content_type = content_type
27
+ @status_code = status_code
28
+ @raw_response = raw_response
29
+ @headers = headers
30
+ end
31
+
32
+ sig { params(other: T.untyped).returns(T::Boolean) }
33
+ def ==(other)
34
+ return false unless other.is_a? self.class
35
+ return false unless @content_type == other.content_type
36
+ return false unless @status_code == other.status_code
37
+ return false unless @raw_response == other.raw_response
38
+ return false unless @headers == other.headers
39
+ true
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,19 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Operations::UploadAvatarResponse
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Operations::UploadAvatarResponse
11
+ def content_type(); end
12
+ def content_type=(str_); end
13
+ def status_code(); end
14
+ def status_code=(str_); end
15
+ def raw_response(); end
16
+ def raw_response=(str_); end
17
+ def headers(); end
18
+ def headers=(str_); end
19
+ end
@@ -0,0 +1,36 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Operations
10
+
11
+ class UploadAvatarSecurity
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+
16
+ field :basic_auth, Crystalline::Nilable.new(Models::Components::SchemeBasicAuth), { 'security': { 'scheme': true, 'type': 'http', 'sub_type': 'basic' } }
17
+
18
+ field :o_auth2_auth, Crystalline::Nilable.new(Models::Components::SchemeOAuth2Auth), { 'security': { 'scheme': true, 'type': 'oauth2', 'sub_type': 'client_credentials' } }
19
+
20
+ sig { params(basic_auth: T.nilable(Models::Components::SchemeBasicAuth), o_auth2_auth: T.nilable(Models::Components::SchemeOAuth2Auth)).void }
21
+ def initialize(basic_auth: nil, o_auth2_auth: nil)
22
+ @basic_auth = basic_auth
23
+ @o_auth2_auth = o_auth2_auth
24
+ end
25
+
26
+ sig { params(other: T.untyped).returns(T::Boolean) }
27
+ def ==(other)
28
+ return false unless other.is_a? self.class
29
+ return false unless @basic_auth == other.basic_auth
30
+ return false unless @o_auth2_auth == other.o_auth2_auth
31
+ true
32
+ end
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,15 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Operations::UploadAvatarSecurity
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Operations::UploadAvatarSecurity
11
+ def basic_auth(); end
12
+ def basic_auth=(str_); end
13
+ def o_auth2_auth(); end
14
+ def o_auth2_auth=(str_); end
15
+ end