app_store_dev_api 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.DS_Store +0 -0
- data/.gitignore +56 -0
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +198 -0
- data/LICENSE +21 -0
- data/LICENSE.txt +21 -0
- data/README.md +39 -0
- data/Rakefile +4 -0
- data/app_store_dev_api.gemspec +54 -0
- data/bin/.DS_Store +0 -0
- data/bin/console +10 -0
- data/bin/setup +10 -0
- data/lib/.DS_Store +0 -0
- data/lib/app_store_dev_api/.DS_Store +0 -0
- data/lib/app_store_dev_api/base.rb +83 -0
- data/lib/app_store_dev_api/bundle_id_capability_create_request.rb +13 -0
- data/lib/app_store_dev_api/bundle_id_create_request.rb +16 -0
- data/lib/app_store_dev_api/certificate_create_request.rb +14 -0
- data/lib/app_store_dev_api/client/authorization.rb +38 -0
- data/lib/app_store_dev_api/client/builder.rb +91 -0
- data/lib/app_store_dev_api/client/options.rb +48 -0
- data/lib/app_store_dev_api/client/registry.rb +15 -0
- data/lib/app_store_dev_api/client/utils.rb +32 -0
- data/lib/app_store_dev_api/client.rb +66 -0
- data/lib/app_store_dev_api/device_create_request.rb +15 -0
- data/lib/app_store_dev_api/object/attributes.rb +47 -0
- data/lib/app_store_dev_api/object/data.rb +45 -0
- data/lib/app_store_dev_api/object/id.rb +28 -0
- data/lib/app_store_dev_api/object/included.rb +27 -0
- data/lib/app_store_dev_api/object/properties.rb +23 -0
- data/lib/app_store_dev_api/object/type.rb +23 -0
- data/lib/app_store_dev_api/profile_create_request.rb +14 -0
- data/lib/app_store_dev_api/request/body.rb +26 -0
- data/lib/app_store_dev_api/request/builder/create.rb +69 -0
- data/lib/app_store_dev_api/request.rb +93 -0
- data/lib/app_store_dev_api/requests/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/app/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/app/update.rb +27 -0
- data/lib/app_store_dev_api/requests/v1/app_availability/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/app_availability/update.rb +21 -0
- data/lib/app_store_dev_api/requests/v1/app_info/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/app_info/update.rb +25 -0
- data/lib/app_store_dev_api/requests/v1/app_info_localization/create.rb +24 -0
- data/lib/app_store_dev_api/requests/v1/app_info_localization/update.rb +25 -0
- data/lib/app_store_dev_api/requests/v1/app_price_ schedule/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/app_price_ schedule/update.rb +17 -0
- data/lib/app_store_dev_api/requests/v1/app_promoted_purchases/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/app_promoted_purchases/update.rb +16 -0
- data/lib/app_store_dev_api/requests/v1/app_store_review_detail/create.rb +27 -0
- data/lib/app_store_dev_api/requests/v1/app_store_review_detail/update.rb +25 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version/create.rb +23 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version/update.rb +25 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version_build_linkage_request/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version_build_linkage_request/update.rb +17 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version_localization/create.rb +25 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version_localization/update.rb +25 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version_phased_releases/create.rb +20 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version_phased_releases/update.rb +20 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version_promotion/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version_promotion/create.rb +20 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version_releases_request/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version_releases_request/create.rb +20 -0
- data/lib/app_store_dev_api/requests/v1/beta_build_localization/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/beta_build_localization/create.rb +14 -0
- data/lib/app_store_dev_api/requests/v1/beta_build_localization/update.rb +13 -0
- data/lib/app_store_dev_api/requests/v1/builds/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/builds/update.rb +21 -0
- data/lib/app_store_dev_api/requests/v1/customer_review_response/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/customer_review_response/create.rb +19 -0
- data/lib/app_store_dev_api/requests/v1/in_app_purchase_ territory/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/in_app_purchase_ territory/create.rb +19 -0
- data/lib/app_store_dev_api/requests/v1/in_app_purchase_localization/create.rb +21 -0
- data/lib/app_store_dev_api/requests/v1/in_app_purchase_localization/update.rb +21 -0
- data/lib/app_store_dev_api/requests/v1/in_app_purchase_price_schedule/create.rb +17 -0
- data/lib/app_store_dev_api/requests/v1/in_app_purchase_review_screenshot/create.rb +20 -0
- data/lib/app_store_dev_api/requests/v1/in_app_purchase_review_screenshot/update.rb +21 -0
- data/lib/app_store_dev_api/requests/v1/in_app_purchase_submission/create.rb +17 -0
- data/lib/app_store_dev_api/requests/v1/promoted_purchases/create.rb +20 -0
- data/lib/app_store_dev_api/requests/v1/promoted_purchases/update.rb +21 -0
- data/lib/app_store_dev_api/requests/v1/promoted_purchases_image/create.rb +20 -0
- data/lib/app_store_dev_api/requests/v1/promoted_purchases_image/update.rb +21 -0
- data/lib/app_store_dev_api/requests/v1/review_submission/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/review_submission/create.rb +20 -0
- data/lib/app_store_dev_api/requests/v1/review_submission/update.rb +22 -0
- data/lib/app_store_dev_api/requests/v1/review_submission_item/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/review_submission_item/create.rb +15 -0
- data/lib/app_store_dev_api/requests/v1/subscription/create.rb +25 -0
- data/lib/app_store_dev_api/requests/v1/subscription/update.rb +25 -0
- data/lib/app_store_dev_api/requests/v1/subscription_availability/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_availability/create.rb +19 -0
- data/lib/app_store_dev_api/requests/v1/subscription_grace_period/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_grace_period/update.rb +23 -0
- data/lib/app_store_dev_api/requests/v1/subscription_group/create.rb +20 -0
- data/lib/app_store_dev_api/requests/v1/subscription_group/update.rb +21 -0
- data/lib/app_store_dev_api/requests/v1/subscription_group_localization/create.rb +22 -0
- data/lib/app_store_dev_api/requests/v1/subscription_group_localization/update.rb +24 -0
- data/lib/app_store_dev_api/requests/v1/subscription_group_submission/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_group_submission/create.rb +17 -0
- data/lib/app_store_dev_api/requests/v1/subscription_introductory_offer/create.rb +25 -0
- data/lib/app_store_dev_api/requests/v1/subscription_introductory_offer/update.rb +22 -0
- data/lib/app_store_dev_api/requests/v1/subscription_localization/create.rb +23 -0
- data/lib/app_store_dev_api/requests/v1/subscription_localization/update.rb +23 -0
- data/lib/app_store_dev_api/requests/v1/subscription_offer_code/create.rb +26 -0
- data/lib/app_store_dev_api/requests/v1/subscription_offer_code/update.rb +22 -0
- data/lib/app_store_dev_api/requests/v1/subscription_offer_code_cunstom_code/create.rb +23 -0
- data/lib/app_store_dev_api/requests/v1/subscription_offer_code_cunstom_code/update.rb +22 -0
- data/lib/app_store_dev_api/requests/v1/subscription_offer_code_one_time_use_code/create.rb +22 -0
- data/lib/app_store_dev_api/requests/v1/subscription_offer_code_one_time_use_code/update.rb +22 -0
- data/lib/app_store_dev_api/requests/v1/subscription_price/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_price/create.rb +20 -0
- data/lib/app_store_dev_api/requests/v1/subscription_promotional_offer/create.rb +25 -0
- data/lib/app_store_dev_api/requests/v1/subscription_promotional_offer/update.rb +19 -0
- data/lib/app_store_dev_api/requests/v1/subscription_review_screenshot/create.rb +20 -0
- data/lib/app_store_dev_api/requests/v1/subscription_review_screenshot/update.rb +21 -0
- data/lib/app_store_dev_api/requests/v1/subscription_submission/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_submission/create.rb +15 -0
- data/lib/app_store_dev_api/requests/v2/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v2/in_app_purchase/create.rb +25 -0
- data/lib/app_store_dev_api/requests/v2/in_app_purchase/update.rb +23 -0
- data/lib/app_store_dev_api/requests/v2/sandbox_tester/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v2/sandbox_tester/update.rb +22 -0
- data/lib/app_store_dev_api/requests/v2/sandbox_tester_clear_purchase_history/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v2/sandbox_tester_clear_purchase_history/update.rb +16 -0
- data/lib/app_store_dev_api/schema/object.rb +14 -0
- data/lib/app_store_dev_api/schema/type.rb +15 -0
- data/lib/app_store_dev_api/schema/web_service_endpoint.rb +27 -0
- data/lib/app_store_dev_api/schema.rb +24 -0
- data/lib/app_store_dev_api/specification/component/schema.rb +25 -0
- data/lib/app_store_dev_api/specification.rb +54 -0
- data/lib/app_store_dev_api/user_invitation_create_request.rb +18 -0
- data/lib/app_store_dev_api/version.rb +5 -0
- data/lib/app_store_dev_api.rb +23 -0
- data/lib/config/schema.json +1650 -0
- data/lib/tasks/build.rake +8 -0
- data/lib/tasks/bundle.rake +7 -0
- data/lib/tasks/changelog.rake +17 -0
- data/lib/tasks/console.rake +9 -0
- data/lib/tasks/git.rake +19 -0
- data/lib/tasks/push.rake +18 -0
- data/lib/tasks/release.rake +17 -0
- data/lib/tasks/version.rake +28 -0
- data/sig/app_store_connect_api.rbs +4 -0
- metadata +429 -0
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module InAppPurchaseLocalization
|
7
|
+
class Update < Request::Body
|
8
|
+
data do
|
9
|
+
id
|
10
|
+
type 'inAppPurchaseLocalizations'
|
11
|
+
|
12
|
+
attributes do
|
13
|
+
property :description
|
14
|
+
property :name
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module InAppPurchasePriceSchedule
|
7
|
+
class Create < Request::Body
|
8
|
+
|
9
|
+
data do
|
10
|
+
type 'inAppPurchasePriceSchedules'
|
11
|
+
end
|
12
|
+
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module InAppPurchaseReviewScreenshot
|
7
|
+
class Create < Request::Body
|
8
|
+
data do
|
9
|
+
type 'inAppPurchaseAppStoreReviewScreenshots'
|
10
|
+
|
11
|
+
attributes do
|
12
|
+
property :file_name, required: true
|
13
|
+
property :file_size, required: true
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module InAppPurchaseReviewScreenshot
|
7
|
+
class Update < Request::Body
|
8
|
+
data do
|
9
|
+
id
|
10
|
+
type 'inAppPurchaseAppStoreReviewScreenshots'
|
11
|
+
|
12
|
+
attributes do
|
13
|
+
property :uploaded
|
14
|
+
property :source_file_checksum
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module PromotedPurchases
|
7
|
+
class Create < Request::Body
|
8
|
+
data do
|
9
|
+
type 'promotedPurchases'
|
10
|
+
|
11
|
+
attributes do
|
12
|
+
property :enabled
|
13
|
+
property :visible_for_all_users, required: true
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module PromotedPurchases
|
7
|
+
class Update < Request::Body
|
8
|
+
data do
|
9
|
+
id
|
10
|
+
type 'promotedPurchases'
|
11
|
+
|
12
|
+
attributes do
|
13
|
+
property :enabled
|
14
|
+
property :visible_for_all_users
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module PromotedPurchasesImage
|
7
|
+
class Create < Request::Body
|
8
|
+
data do
|
9
|
+
type 'promotedPurchaseImages'
|
10
|
+
|
11
|
+
attributes do
|
12
|
+
property :file_name, required: true
|
13
|
+
property :file_size, required: true
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module PromotedPurchasesImage
|
7
|
+
class Update < Request::Body
|
8
|
+
data do
|
9
|
+
id
|
10
|
+
type 'promotedPurchaseImages'
|
11
|
+
|
12
|
+
attributes do
|
13
|
+
property :uploaded
|
14
|
+
property :source_file_checksum
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
Binary file
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module ReviewSubmissionCreateRequest
|
7
|
+
class Create < Request::Body
|
8
|
+
data do
|
9
|
+
type 'reviewSubmissions'
|
10
|
+
|
11
|
+
attributes do
|
12
|
+
property :platform, required: true
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module ReviewSubmissionCreateRequest
|
7
|
+
class Create < Request::Body
|
8
|
+
data do
|
9
|
+
id
|
10
|
+
type 'reviewSubmissions'
|
11
|
+
|
12
|
+
attributes do
|
13
|
+
property :canceled
|
14
|
+
property :submitted
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
Binary file
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module Subscription
|
7
|
+
class Create < Request::Body
|
8
|
+
data do
|
9
|
+
type 'subscriptions'
|
10
|
+
|
11
|
+
attributes do
|
12
|
+
property :name, required: true
|
13
|
+
property :product_id, required: true
|
14
|
+
property :available_in_all_territories
|
15
|
+
property :family_sharable
|
16
|
+
property :review_note
|
17
|
+
property :subscription_period
|
18
|
+
property :group_level
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module Subscription
|
7
|
+
class Update < Request::Body
|
8
|
+
data do
|
9
|
+
id
|
10
|
+
type 'subscriptions'
|
11
|
+
|
12
|
+
attributes do
|
13
|
+
property :name, required: true
|
14
|
+
property :available_in_all_territories
|
15
|
+
property :family_sharable
|
16
|
+
property :review_note
|
17
|
+
property :subscription_period
|
18
|
+
property :group_level
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module SubscriptionAvailability
|
7
|
+
class Create < Request::Body
|
8
|
+
data do
|
9
|
+
type 'subscriptionAvailabilities'
|
10
|
+
|
11
|
+
attributes do
|
12
|
+
property :available_in_new_territories, required: true
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module SubscriptionGracePeriod
|
7
|
+
class Update < Request::Body
|
8
|
+
data do
|
9
|
+
id
|
10
|
+
type 'subscriptionGracePeriods'
|
11
|
+
|
12
|
+
attributes do
|
13
|
+
property :duration
|
14
|
+
property :opt_in
|
15
|
+
property :renewal_type
|
16
|
+
property :sandbox_opt_in
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module SubscriptionGroup
|
7
|
+
class Create < Request::Body
|
8
|
+
data do
|
9
|
+
|
10
|
+
type 'subscriptionGroups'
|
11
|
+
attributes do
|
12
|
+
property :reference_name, required: true
|
13
|
+
end
|
14
|
+
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module SubscriptionGroup
|
7
|
+
class Update < Request::Body
|
8
|
+
data do
|
9
|
+
id
|
10
|
+
type 'subscriptionGroups'
|
11
|
+
|
12
|
+
attributes do
|
13
|
+
property :reference_name, required: true
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module SubscriptionGroupLocalization
|
7
|
+
class Create < Request::Body
|
8
|
+
data do
|
9
|
+
|
10
|
+
type 'subscriptionGroupLocalizations'
|
11
|
+
|
12
|
+
attributes do
|
13
|
+
property :name
|
14
|
+
property :custom_app_name
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module SubscriptionGroupLocalization
|
7
|
+
class Update < Request::Body
|
8
|
+
data do
|
9
|
+
|
10
|
+
id
|
11
|
+
type 'subscriptionGroupLocalizations'
|
12
|
+
|
13
|
+
attributes do
|
14
|
+
property :name, required: true
|
15
|
+
property :locale, required: true
|
16
|
+
property :custom_app_name
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module SubscriptionGroupSubmission
|
7
|
+
class Create < Request::Body
|
8
|
+
|
9
|
+
data do
|
10
|
+
type 'subscriptionGroupSubmissions'
|
11
|
+
end
|
12
|
+
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module SubscriptionIntroductoryOffer
|
7
|
+
class Create < Request::Body
|
8
|
+
|
9
|
+
data do
|
10
|
+
type 'subscriptionIntroductoryOffers'
|
11
|
+
|
12
|
+
attributes do
|
13
|
+
property :duration, required: true
|
14
|
+
property :end_date
|
15
|
+
property :number_of_periods, required: true
|
16
|
+
property :offer_mode, required: true
|
17
|
+
property :start_date
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module SubscriptionIntroductoryOffer
|
7
|
+
class Update < Request::Body
|
8
|
+
|
9
|
+
data do
|
10
|
+
id
|
11
|
+
type 'subscriptionIntroductoryOffers'
|
12
|
+
|
13
|
+
attributes do
|
14
|
+
property :end_date
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module SubscriptionLocalization
|
7
|
+
class Create < Request::Body
|
8
|
+
|
9
|
+
data do
|
10
|
+
type 'subscriptionLocalizations'
|
11
|
+
|
12
|
+
attributes do
|
13
|
+
property :description
|
14
|
+
property :locale, required: true
|
15
|
+
property :name, required: true
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module SubscriptionLocalization
|
7
|
+
class Update < Request::Body
|
8
|
+
|
9
|
+
data do
|
10
|
+
id
|
11
|
+
type 'subscriptionLocalizations'
|
12
|
+
|
13
|
+
attributes do
|
14
|
+
property :description
|
15
|
+
property :name
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module SubscriptionOfferCode
|
7
|
+
class Create < Request::Body
|
8
|
+
|
9
|
+
data do
|
10
|
+
type 'subscriptionOfferCodes'
|
11
|
+
|
12
|
+
attributes do
|
13
|
+
property :customer_eligibilities, required: true
|
14
|
+
property :duration, required: true
|
15
|
+
property :name, required: true
|
16
|
+
property :number_of_periods, required: true
|
17
|
+
property :offer_eligibility, required: true
|
18
|
+
property :offer_mode, required: true
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module SubscriptionOfferCode
|
7
|
+
class Update < Request::Body
|
8
|
+
|
9
|
+
data do
|
10
|
+
id
|
11
|
+
type 'subscriptionOfferCodes'
|
12
|
+
|
13
|
+
attributes do
|
14
|
+
property :active
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module SubscriptionOfferCodeCustomCode
|
7
|
+
class Create < Request::Body
|
8
|
+
|
9
|
+
data do
|
10
|
+
type 'subscriptionOfferCodeCustomCodes'
|
11
|
+
|
12
|
+
attributes do
|
13
|
+
property :custom_code, required: true
|
14
|
+
property :expiration_date
|
15
|
+
property :number_of_codes, required: true
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module SubscriptionOfferCodeCustomCode
|
7
|
+
class Update < Request::Body
|
8
|
+
|
9
|
+
data do
|
10
|
+
id
|
11
|
+
type 'subscriptionOfferCodeCustomCodes'
|
12
|
+
|
13
|
+
attributes do
|
14
|
+
property :active
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|